Skip to content

got

Command got

Display the current state of GOT table of the running process.

The got command optionally takes function names and filters the output displaying only the matching functions.

gef➤ got [--all] [filters]

--all Print the GOT for all shared objects in addition to the executable file

gef-got

The applied filter partially matches the name of the functions, so you can do something like this.

gef➤ got str
gef➤ got print
gef➤ got read

gef-got-one-filter

Example of multiple partial filters:

gef➤ got str get

gef-got-multi-filter

gef➤ got --all str get

Print relocatable symbols matching "str" or "get" in the executable and all shared object files.

Note: Because gdbserver does not canonicalize paths, the --all option does not work correctly for remote debugging. See gdb bug 23764