This code dissects the internal data structures in ELF files. It supports x86 and x86_64 archs and runs under Linux.
You can download it from the following link: https://packetstormsecurity.com/files/download/125972/dissector.c
Source: https://packetstormsecurity.com/files/125972/Coloured-ELF-File-Dissector.html

