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

29 lines
1.1 KiB
Markdown

<!-- THIS PART OF THIS FILE IS AUTOGENERATED. DO NOT MODIFY IT. See scripts/generate-docs.sh -->
# malloc-chunk
```text
usage: malloc-chunk [-h] [-f] [-v] [-s] [-d] [-n NEXT] addr
```
Print a chunk.
### Positional arguments
|Positional Argument|Help|
| :--- | :--- |
|addr|Address of the chunk (malloc_chunk struct start, prev_size field).|
### Optional arguments
|Short|Long|Help|
| :--- | :--- | :--- |
|-h|--help|show this help message and exit|
|-f|--fake|Is this a fake chunk?|
|-v|--verbose|Print all chunk fields, even unused ones.|
|-s|--simple|Simply print malloc_chunk struct's contents.|
|-d|--dump|Print a hexdump of the chunk.|
|-n|--next|Print the next N chunks after the specified address. (default: 0)|
<!-- 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------------ -->