This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
How to get start/end information about functions?
- From: "PRC" <panruochen at gmail dot com>
- To: "binutils" <binutils at sourceware dot org>
- Date: Mon, 14 Apr 2008 16:47:50 +0800
- Subject: How to get start/end information about functions?
Hi All,
I want to get start/end information about all functions from the output of `objdump'ing
an ELF image. It seems that the start of the next function is also the end
of the previous function if they are sorted ascendingly by thier start addresses.
But how about the last function of the image, since it does not have a next function
after it? Is there an easy way to do this?
Best Regards,
PRC
Apr 14, 2008