The 101 of ELF files on Linux: Understanding and Analysis - Linux...

Michael Boelen

By reading this guide, you will learn: Why ELF is used and for what kind of files Understand the structure of ELF and the details of the format How to read and analyze an ELF file such as a binary Which tools can be used for binary analysis What is an ELF file? An ELF file consists of: ELF header File data With the readelf command, we can look at the structure of a file and it will look something like this: ELF header As can be seen in this screenshot, the ELF header starts with some magic. It shows a formatted output very similar to the ELF header file. File data Besides the ELF header, ELF files consist of three parts. Sections are viewed by the linker to create executable code or shared objects.

Visit Link