Answer: How to use the addr2line command in Linux?

answer re: How to use the addr2line command in Linux? Oct 4 '11 34 You need to specify an offset to addr2line, not a virtual address (VA). Presumably if you had address space randomization turned off, you could use a full VA, but in most modern OSes, address spaces are randomized for a new process. Given the VA 0x4005BDC by valgrind, find the base… Open Full Answer

Feb 25, 2025 - 22:06
 0
Answer: How to use the addr2line command in Linux?

You need to specify an offset to addr2line, not a virtual address (VA). Presumably if you had address space randomization turned off, you could use a full VA, but in most modern OSes, address spaces are randomized for a new process.

Given the VA 0x4005BDC by valgrind, find the base…