This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to get start/end information about functions?


Hi PRC,

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?

Assuming that all of your functions are in the .text section then the end address of the last function will be equal to the start address of the .text section plus its size.


Cheers
  Nick



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]