CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2008
    Posts
    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

  2. #2
    Join Date
    Jul 2005
    Posts
    767

    Re: Get section base and end address

    One's mistake cannot be your excuse!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured