BFD interface for getting PE import section data
Nick Clifton
nickc@redhat.com
Mon Mar 23 17:18:58 GMT 2020
Hi Simon,
[Sorry for the long delay in replying to your email].
> However, this sounds like some facility BFD should provide. Is there a way to get
> this information that I'm missing?
Hmm - only if you have access to the BFD library's internal headers. (Which
I assume you do not want to have to do).
Would a new BFD library function help ? One that took a BFD and returned a
pointer to its internal_extra_pe_aouthdr structure (as defined in include/coff/internal.h)
or NULL if the BFD does not have one ? Providing a function like that should
be fairly simple to implement.
Cheers
Nick
More information about the Binutils
mailing list