A simple readelf program that does basic things to analyse and display information about ELF files.
Run make in order to compile the program.
$ makeRun make debug in order to compile the program with debug information and fsanitize active.
$ make debugThe name of the output program is simple-readelf.
- Display header
$ ./simple-readelf -h <elf_file>- Display program headers
$ ./simple-readelf -P <elf_file>- Display section headers
$ ./simple-readelf -S <elf_file>- Display symbol table
$ ./simple-readelf -s <elf_file>- Display dynamic sections
$ ./simple-readelf -d <elf_file>- Display all
$ ./simple-readelf -a <elf_file>