In a pre-graphics era, this is what I wrote objdump for.
The original intent was simply debugging bfd while developing it, though people ended up using it for all sorts of things.
I like Elfcat.
Wait, are you insinuating that I am reading a comment by the author of objdump themselves?...
Holy smokes, thank you!
I like Elfcat.
I can imagine the author is beaming right now. I would frame this comment on my desk were I them, I think.
Re:Elfcat: Visualize ELF Binaries
by higherhalf on Wednesday June 23, 2021 @05:43PM
(#27610850)
I sure am! I wish it was more "done" however, right now it's pretty raw.
Thanks for writing objdump! I'm probably one of those people.
The most recent thing I did with objdump was use it to patch in a signature that needed to be computed over the text/data/bss segments after compilation. This was for a bare metal embedded system, and being able to do this at the elf level (1) made it easier, and (2) allowed me to use the same setup for multiple targets that each had their own oddball binary/ihex conversion and flashing machinery.
Wow... you ain't kidding! Here I go down the software history hole: https://en.wikipedia.org/wiki/Cygnus_Solutions
Re:Elfcat: Visualize ELF Binaries
by mattgreenrocks on Tuesday June 22, 2021 @08:20PM
(#27599168)
Thank you for objdump. It is a superb tool that I rely on.
Re:Elfcat: Visualize ELF Binaries
by jk7tarYZAQNpTQa on Tuesday June 22, 2021 @03:01PM
(#27595710)
> Or maybe even a generic tool that can take in descriptions of binary formats
Kaitai [1] isn't perfect, but maybe suits your needs.
Veles is a GUI For Kaitai:
there was hachoir https://hachoir.readthedocs.io/en/latest/metadata.html
I've seen similar tools to annotate other binary formats like gpg and asn.1
https://github.com/ConradIrwin/gpg-decoder