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.
pwndbg/docs/commands/memory/go-dump.md

1.2 KiB

go-dump

usage: go-dump [-h] [-x] [-f [DECIMALS]] [-d] [-p] ty address

Dumps a Go value of a given type at a specified address.

Alias: god

Positional arguments

Positional Argument Help
ty Go type of value to dump, e.g. map[int]string, or the address of a type to resolve at runtime, e.g. 0x408860
address Address to dump

Optional arguments

Short Long Help
-h --help show this help message and exit
-x --hex Display non-pointer integers as hex
-f --decimals Configures the number of decimal places to display for floating points
-d --debug Shows debug info, like addresses for slice/map elements, slice capacity, etc.
-p --pretty Enables pretty printing