Skip to content

Symbol

Looking up addresses for function names / symbols, and vice-versa.

Uses IDA when available if there isn't sufficient symbol information available.

skipped_exceptions = ('No frame selected', 'Cannot find thread-local', 'Symbol requires a frame to compute its value') module-attribute

address(symbol)

Get the address for symbol

get(address, gdb_only=False)

Retrieve the name for the symbol located at address - either from GDB or from integration provider Passing gdb_only=True

Empty string if no symbol

parse_and_eval(expression)

Error handling wrapper for GDBs parse_and_eval function

selected_frame_source_absolute_filename()

Retrieve the symbol table’s source absolute file name from the selected frame.

In case of missing symbol table or frame information, None is returned.

static_linkage_symbol_address(symbol)

Get the address for static linkage symbol