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.3 KiB
1.3 KiB
go-dump
Description
Dumps a Go value of a given type at a specified address.
Usage:
usage: go-dump [-h] [-x] [-f [DECIMALS]] [-d] [-p] ty address
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 | Default | Help |
|---|---|---|---|
-h |
--help |
show this help message and exit | |
-x |
--hex |
Display non-pointer integers as hex (default: %(default)s) | |
-f |
--decimals |
None |
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. (default: %(default)s) | |
-p |
--pretty |
Enables pretty printing (default: %(default)s) |