Python API: Getting symbol by address

Roman Popov
Thu Dec 21 18:20:00 GMT 2017

I have collection in C++ that stores pointers to functions and methods. I
want to pretty-print pointed method and functions names.

It is possible using GDB shell, for example:

(gdb) info symbol 0x405ece

top::test_thread() in section .text of test_procs

However I found no way to do the same using Python API.  Why such

P/S Same question on stackoverflow :


More information about the Gdb mailing list