[kwlug disc.] how to list *just* executable sections with objdump?

Robert P. J. Day rpjday at mindspring.com
Thu Jan 25 09:33:33 EST 2007


  is there an incantation of "objdump" that will let me list just the
headers for the executable sections of an ELF executable?

  if i want to see all of the headers, i can use:

  $ objdump -h helloworld

  if i want to display the contents of all the executable sections, i
can use:

  $ objdump -d helloworld

but is there an intermediate step where i can get a list of those
sections that are considered "executable" that would be dumped by that
last command?  thanks.

rday

-- 
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA

http://www.fsdev.dreamhosters.com/wiki/index.php?title=Main_Page
========================================================================


More information about the KWLUG-Disc mailing list