* ELF Header Symbol Extraction @ 2004-02-12 14:30 James Amor 2004-02-13 1:18 ` Stephen Leake ` (2 more replies) 0 siblings, 3 replies; 4+ messages in thread From: James Amor @ 2004-02-12 14:30 UTC (permalink / raw) Hi, Does anyone know of an Ada library that extracts ELF header information from a binary? Anyone got any suggestions on how to do it if I can't find a library? I had thought of piping the output of an 'ELF examiner' tool to a file and then reading in the contents of the file....seems like a bit of a hack though! Cheers in advance, James ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: ELF Header Symbol Extraction 2004-02-12 14:30 ELF Header Symbol Extraction James Amor @ 2004-02-13 1:18 ` Stephen Leake 2004-02-13 3:40 ` Jeff C, 2004-02-13 21:32 ` Randy Brukardt 2 siblings, 0 replies; 4+ messages in thread From: Stephen Leake @ 2004-02-13 1:18 UTC (permalink / raw) To: comp.lang.ada jamesamor@hotmail.com (James Amor) writes: > Does anyone know of an Ada library that extracts ELF header > information from a binary? Anyone got any suggestions on how to do it > if I can't find a library? Gnu binutils provides a C library for reading/writing ELF. You should be able to write an Ada binding pretty easily. -- -- Stephe ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: ELF Header Symbol Extraction 2004-02-12 14:30 ELF Header Symbol Extraction James Amor 2004-02-13 1:18 ` Stephen Leake @ 2004-02-13 3:40 ` Jeff C, 2004-02-13 21:32 ` Randy Brukardt 2 siblings, 0 replies; 4+ messages in thread From: Jeff C, @ 2004-02-13 3:40 UTC (permalink / raw) "James Amor" <jamesamor@hotmail.com> wrote in message news:bac31daa.0402120630.3d6a4faa@posting.google.com... > Hi, > > Does anyone know of an Ada library that extracts ELF header > information from a binary? Anyone got any suggestions on how to do it > if I can't find a library? > How about something like http://savannah.nongnu.org/projects/bfdada/ (Not really sure of its status) ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: ELF Header Symbol Extraction 2004-02-12 14:30 ELF Header Symbol Extraction James Amor 2004-02-13 1:18 ` Stephen Leake 2004-02-13 3:40 ` Jeff C, @ 2004-02-13 21:32 ` Randy Brukardt 2 siblings, 0 replies; 4+ messages in thread From: Randy Brukardt @ 2004-02-13 21:32 UTC (permalink / raw) > Does anyone know of an Ada library that extracts ELF header > information from a binary? Anyone got any suggestions on how to do it > if I can't find a library? I wrote such a thing as part of an aborted SPARC compiler project many years ago. But I don't know for sure what happened to it (or if it would be useful on a different platform - as I recall there were a number of target-dependent parts). Randy. ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-02-13 21:32 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2004-02-12 14:30 ELF Header Symbol Extraction James Amor 2004-02-13 1:18 ` Stephen Leake 2004-02-13 3:40 ` Jeff C, 2004-02-13 21:32 ` Randy Brukardt
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox