This is the mail archive of the
mailing list for the binutils project.
get_section_by_name in libbfd
- From: "Sandeep Kumar" <sandeepksinha at gmail dot com>
- To: binutils <binutils at sources dot redhat dot com>
- Date: Sat, 14 Oct 2006 23:27:41 +0530
- Subject: get_section_by_name in libbfd
Is it possible to get all the names of all the sections which will
get mapped into the text segment at runtime, using libbfd.
I tried using get_section_by_name, but in this case i dont know all
the names of the section which will get mapped into the text segment.
".text" is by deafult, but there can be many more like .text.hot ,
.text.likely , .text.unlikely, etc.
Winners expect to win in advance. Life is a self-fulfilling prophecy.