View Single Post
Old 2012-10-24, 01:32   #1
ewmayer
2ω=0
 
ewmayer's Avatar
 
Sep 2002
Rep├║blica de California

13·29·31 Posts
Default Reverse memory lookup

In C/C++, it's trivial to map from a variable name (either scalar or pointer+offset) to the memory location. Is there a way (or tool) allowing one to find which variable / function / allocated-memory-block a given address maps to? I am trying to localize a valgrind (specifically the DRD thread-analysis tool) error, and valgrind is only giving the address in question, no associated name:

Conflicting store by thread 3 at 0x10041fc00 size 4
ewmayer is offline   Reply With Quote