mirror of https://github.com/pwndbg/pwndbg.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1.4 KiB
1.4 KiB
got
(only in GDB)
usage: got [-h] [-p PATH_FILTER | -a] [-r] [symbol_filter]
Show the state of the Global Offset Table.
Positional arguments
| Positional Argument | Help |
|---|---|
| symbol_filter | Filter results by symbol name. (default: '') |
Optional arguments
| Short | Long | Help |
|---|---|---|
| -h | --help | show this help message and exit |
| -p | --path | Filter results by library/objfile path. (default: '') |
| -a | --all | Process all libs/obfjiles including the target executable. |
| -r | --show-readonly | Also display read-only entries (which are filtered out by default). |
Examples
> got
Print all writable GOT entries in the executable.
> got -r puts
Print all GOT entries that contain the string "puts".
> got -p libc
Print all writable GOT entries used by libc. (And any other loaded
object files that contain the string "libc" in their path).
> got -ra
Print all GOT entries in the address space.