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/vis-heap-chunks.md

40 lines
1.3 KiB
Markdown

<!-- THIS PART OF THIS FILE IS AUTOGENERATED. DO NOT MODIFY IT. See scripts/generate_docs.sh -->
# vis-heap-chunks
## Description
Visualize chunks on a heap.
Default to the current arena's active heap.
## Usage:
```bash
usage: vis-heap-chunks [-h] [--beyond_top] [--no_truncate] [--all_chunks]
[count] [addr]
```
## Positional Arguments
|Positional Argument|Help|
| :--- | :--- |
|`count`|Number of chunks to visualize. If the value is big enough and addr isn't provided, this is interpreted as addr instead.|
|`addr`|Address of the first chunk.|
## Optional Arguments
|Short|Long|Default|Help|
| :--- | :--- | :--- | :--- |
|`-h`|`--help`||show this help message and exit|
|`-b`|`--beyond_top`||Attempt to keep printing beyond the top chunk.|
|`-n`|`--no_truncate`||Display all the chunk contents (Ignore the `max-visualize-chunk-size` configuration).|
|`-a`|`--all_chunks`|| Display all chunks (Ignore the default-visualize-chunk-number configuration).|
<!-- END OF AUTOGENERATED PART. Do not modify this line or the line below, they mark the end of the auto-generated part of the file. If you want to extend the documentation in a way which cannot easily be done by adding to the command help description, write below the following line. -->
<!-- ------------\>8---- ----\>8---- ----\>8------------ -->