Hello,
I want to write a binary file viewer for windows that can work with both PE and ELF files. Like those that already exist:
I have reasons why I want to write "another binary viewer."
Are there C libraries for reading PE and ELF file formats? I downloaded the source code for Gnu binutils and realized that it uses the Binary File Descriptor Library , which claims to support about 50 file formats for about 25 architecture processors. I'm not sure if it implements the full PE specifications, because basically it is a library for Linux, where the PE format is rarely used. Moreover, the source code of the library seems a bit complicated and redundant to me.
source
share