From: massimiliano c. <mas...@po...> - 2014-07-17 09:02:34
|
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 |