public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* libbfd examples?
@ 2024-03-09 11:05 Esteve Varela Colominas
  2024-03-09 12:56 ` Andreas Schwab
  2024-03-18 16:18 ` Nick Clifton
  0 siblings, 2 replies; 3+ messages in thread
From: Esteve Varela Colominas @ 2024-03-09 11:05 UTC (permalink / raw)
  To: binutils

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?

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-03-18 16:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-09 11:05 libbfd examples? Esteve Varela Colominas
2024-03-09 12:56 ` Andreas Schwab
2024-03-18 16:18 ` Nick Clifton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).