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/glibc_ptmalloc2_heap/malloc_chunk.md

1.2 KiB

malloc_chunk

Description

Print a chunk.

Usage:

usage: malloc_chunk [-h] [-f] [-v] [-s] [-d] [-n NEXT] addr

Positional Arguments

Positional Argument Help
addr Address of the chunk (malloc_chunk struct start, prev_size field).

Optional Arguments

Short Long Default Help
-h --help show this help message and exit
-f --fake Is this a fake chunk? (default: %(default)s)
-v --verbose Print all chunk fields, even unused ones. (default: %(default)s)
-s --simple Simply print malloc_chunk struct's contents. (default: %(default)s)
-d --dump Print a hexdump of the chunk. (default: %(default)s)
-n --next 0 Print the next N chunks after the specified address. (default: %(default)s)