|
-
March 11th, 2008, 03:05 AM
#1
Get section base and end address
Hello,
how can I get the base and end address of sections like .data, .text and .stack?
I want to use that information to execute memory tests of code and variable memory as well as stack tests.
E.g. with gnu compiler toolchain the linker defines the symbols sdata and edata if declared extern. The address of these symbols mark the start and end of the data section.
Regards
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|