libbfd examples?
Esteve Varela Colominas
esteve.varela@gmail.com
Sat Mar 9 11:05:45 GMT 2024
Hi,
I'm looking for a library to be able to read and inspect a few
executable formats. All of these are supported by binutils' objdump,
but I want to build different tooling around it, so I figured to look
into the source code here to see if I could reuse anything.
libbfd seems to be the library that I'm looking for for my purposes,
but I'm finding it hard to figure out how to get started with using it.
I'm looking to do something very simple to start with: Grab a windows
PE file, and dump the contents of the .text section into a raw file.
Is this possible using libbfd? Does anyone have any example on doing
this?
More information about the Binutils
mailing list