3 ms·
HN is funny sometimes. A 50-line C file that reads a Mach-O header hits the front page, but last week my new tool for reading ELF/Mach-O binaries and showing s
by haberman 10y ago
HN is funny sometimes. A 50-line C file that reads a Mach-O header hits the front page, but last week my new tool for reading ELF/Mach-O binaries and showing size profiles didn't. (http://blog.reverberate.org/2016/11/07/introducing-bloaty-mcbloatface.html http://blog.reverberate.org/2016/11/07/introducing-bloaty-mc...) Oh well, c'est la vie. :)
FWIW, here is the ELF parser from Bloaty; I'm happy with how it turned out (the first 400 lines are the ELF parser): https://github.com/google/bloaty/blob/master/src/elf.cc https://github.com/google/bloaty/blob/master/src/elf.cc
- invalid_name 10y agoSurely I'm gonna look on it :)