gcc - Using the debug information of a executable in a pin tool -


i creating pin tool keep track of bit widths needed variable. keep track of high level(eg c variables) use debug information build in executable.
not able find way extract debug info using pin api.
please let me know if there pin api function calls out there extract debug info. if not possible pin, alternatives?
(for example dynamorio)

you're looking symbol information. sadly, pin can't give direct access variable names used in high level language such c or c++. if need information include dbghelp windows, or libelf, libdwarf linux, require 2 different implementations. there information available in pin user guide regarding symbols, , basic functionality access symbol information functions called.

pin provides access function names using symbol object (sym). symbol objects provide information function symbols in application. information other types of symbols (e.g. data symbols), must obtained independently tool.

pin 2.13 user guide - symbols


Comments

Popular posts from this blog

google api - Incomplete response from Gmail API threads.list -

Installing Android SQLite Asset Helper -

Qt Creator - Searching files with Locator including folder -