INSTRUCTIONS:

  1. Keep All these three file in same folder where your input file(e.g. a.out)

  2. Run : gcc readlef.c -o readelf.out ./readelf.out ./a.out

  3. The output shows the elf header of input file (You can compare output by using command readelf)