How to get start/end information about functions?
Ian Lance Taylor
Mon Apr 14 16:47:00 GMT 2008
"PRC" <email@example.com> writes:
> 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?
When using ELF, the size of the function is stored in the st_size
field of the function symbol. This is printed by readelf -s or
More information about the Binutils