Hi Mats:

I think there is an ELF:: namespace you can consider. Something like,
ELF::Extract::Symbols, maybe?

Likely it won't have much to do with the Win32 equivalent, even though
they are functionally similar, so I wouldn't suggest putting them
under a common namespace. Perhaps what you can do (if you later decide
to write a Win32 module to do this) is put a SEE ALSO entry pointing
from each module to the other.

Good luck,

Jonathan

On Tue, May 12, 2009 at 2:47 PM, Mats Kindahl <[email protected]> wrote:
> Hi all!
>
> I need to write some scripts that among other things need to dig out symbol
> information from object files. I did some basic research, but did not find any
> such module, so I will write my own.
>
> However, what is a suitable name?
>
> I will probably just make it a wrapper around binutils with some caching to
> avoid multiple calls (I will use it to analyze many files), so it is kind of
> tied to Unix/Linux. I will probably only need to bother with ELF, but I'm not
> sure since it might be necessary to be able to run it on Windows. However, in
> that case I might make my life simpler by just creating a separate module for
> Windows.
>
> - Unix::File::SymbolInfo?
> - BFD::Info?
> - Anything else?
>
> --
> Mats Kindahl
> Senior Software Engineer
> Database Technology Group
> Sun Microsystems
>

Reply via email to