Hallo,

first of all sorry if this list is not the right place to post this 
question. In this case please tell me where can I find support.

I need write a program that extract binary data from an elf file.
The result should be the same using "objcopy -O binary".

I'm using libelf, and I read the doc ("libelf by example").
I am able to list segmets and sections in an elf file, and I can extract 
data from sections, but I don't know which section I neet to take into 
account. For example section like .text, and not .bss.
How can I choose the segments to extract? Or I need sections? In this 
case which sections?

best regards

Max



------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Elftoolchain-developers mailing list
Elftoolchain-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/elftoolchain-developers

Reply via email to