Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » How to get the start and end address of a function in elf file
How to get the start and end address of a function in elf file [message #182211] Fri, 12 January 2007 18:42 Go to next message
Eclipse UserFriend
Originally posted by: qihua_tang.yahoo.com

Hi,

Qustion on how to get the start and end address of a function in elf file.
Is there a simple way to get this info other than parsing the elf file to
get the symbol table?

Thanks,

Helen
Re: How to get the start and end address of a function in elf file [message #182636 is a reply to message #182211] Sun, 21 January 2007 18:12 Go to previous message
Eclipse UserFriend
Seems like an odd question.
The purpose of an elf file is to have a relocatable object module.
In other words. it can be placed anywhere in your memory space.
The location of a routine in an elf file is not set until it is linked.
Ray

Helen wrote:
> Hi,
>
> Qustion on how to get the start and end address of a function in elf
> file. Is there a simple way to get this info other than parsing the elf
> file to get the symbol table?
> Thanks,
>
> Helen
>
Previous Topic:template use with the Indexer
Next Topic:remove Debug as from Run menu
Goto Forum:
  


Current Time: Sun May 11 11:22:34 EDT 2025

Powered by FUDForum. Page generated in 0.02801 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top