heap¤
Iteratively print chunks on a heap.
Default to the current thread's active heap.
Usage: heap heap --count
Range mode can be combined with --count; walking stops when either limit is hit first.
Positional arguments¤
| Positional Argument | Help |
|---|---|
| addr_start | Address of the first chunk (malloc_chunk struct start, prev_size field). |
| addr_end | Optional inclusive upper bound for chunk start addresses. |
Optional arguments¤
| Short | Long | Help |
|---|---|---|
| -h | --help | show this help message and exit |
| -c | --count | Maximum number of chunks to print. |
| -v | --verbose | Print all chunk fields, even unused ones. |
| -s | --simple | Simply print malloc_chunk struct's contents. |