INSTRUCTIONS:
-
Keep All these three file in same folder where your input file(e.g. a.out)
-
Run : gcc readlef.c -o readelf.out ./readelf.out ./a.out
-
The output shows the elf header of input file (You can compare output by using command readelf)