Find the answer to your Linux question:
Results 1 to 3 of 3
I have an address returned by backtrace(), I need to convert it to filename and line number thanks in advance...
  1. #1
    Just Joined!
    Join Date
    Jan 2009
    Posts
    2

    how to convert address in current process to filename:line number

    I have an address returned by backtrace(), I need to convert it to filename and line number

    thanks in advance

  2. #2
    Just Joined! AdmiralBeotch's Avatar
    Join Date
    Feb 2009
    Location
    Las Vegas, NV
    Posts
    17
    If you can post an example of the source data, I'll give this one a shot.

  3. #3
    Just Joined!
    Join Date
    Jan 2009
    Posts
    2
    I have something like:

    ./executable_filename(_ZN16class_name16method_nameER K6arguments_info+0x4ab) [0x82c027f]

    so masqueraded gcc-style C++ function name and its shift plus absolute address in this executable

Posting Permissions

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