The bin file is just the bits and bytes that enter the rum or the specific address from which you will run the program. You can take this data and download it directly, as is, you need to know what the base address is, although this is usually not the case.
An elf file contains information about the bin, but it is surrounded by a host of other information, possible debugging information, symbols, it can distinguish the code from the data in binary format. Allows you to use more than one fragment of binary data (when you upload one of them to the trash, you get one large bin file with fill data to put it in the next block). Tells you how much binary data you have and how much bss data there that wants to be initialized with zeros (gnu has problems creating bin files correctly).
The elf file format is standard, the hand publishes its improvements / options on the standard. I recommend everyone to write an elf analysis program to understand that there, not to worry about the library, it is quite simple to use information and structures in the specification. Helps overcome gnu problems in the overall creation of .bin files, as well as debug linker scripts and other things that can help ruin the output of your bunker or elf.
old_timer Mar 15 2018-10-15T00: 00Z
source share