* Procedure bounds
@ 2005-04-28 23:07 Sumesh UdayaKumaran
2005-04-28 23:27 ` Alan Modra
0 siblings, 1 reply; 2+ messages in thread
From: Sumesh UdayaKumaran @ 2005-04-28 23:07 UTC (permalink / raw)
To: binutils
Hello everyone.
I am trying to find the starting address and end address of a function
from the elf executable
using BFD functions. I could find the start address as section->vma +
corresponding symboltable entry->value. Can anyone tell me how I can find
the end address of the procedure or starting address
of the next procedure.
I would appreciate any help
thanks
Sumesh
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Procedure bounds
2005-04-28 23:07 Procedure bounds Sumesh UdayaKumaran
@ 2005-04-28 23:27 ` Alan Modra
0 siblings, 0 replies; 2+ messages in thread
From: Alan Modra @ 2005-04-28 23:27 UTC (permalink / raw)
To: Sumesh UdayaKumaran; +Cc: binutils
On Thu, Apr 28, 2005 at 10:47:16PM +0000, Sumesh UdayaKumaran wrote:
> Hello everyone.
> I am trying to find the starting address and end address of a function
> from the elf executable
> using BFD functions. I could find the start address as section->vma +
> corresponding symboltable entry->value. Can anyone tell me how I can find
> the end address of the procedure or starting address
> of the next procedure.
For ELF, the function symbol st_size should be the size of the function.
--
Alan Modra
IBM OzLabs - Linux Technology Centre
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-04-28 23:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-28 23:07 Procedure bounds Sumesh UdayaKumaran
2005-04-28 23:27 ` Alan Modra
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).