mirror of https://github.com/pwndbg/pwndbg.git
mallocng: Add ng-metaarea and ng-ctx commands (#3164)
* add missing type annotations * ng-metaarea to dump meta_area objects * ng-ctx: command to dump the __malloc_context object * autogen docs * properly bail if we cant find the __malloc_context * take the p var out of `from_start`pull/3177/head
parent
500bb9edbc
commit
df03112578
@ -0,0 +1,25 @@
|
||||
<!-- THIS PART OF THIS FILE IS AUTOGENERATED. DO NOT MODIFY IT. See scripts/generate-docs.sh -->
|
||||
# mallocng-malloc-context
|
||||
|
||||
```text
|
||||
usage: mallocng-malloc-context [-h] [address]
|
||||
|
||||
```
|
||||
|
||||
Print out the mallocng __malloc_context (ctx) object.
|
||||
|
||||
**Alias:** ng-ctx
|
||||
### Positional arguments
|
||||
|
||||
|Positional Argument|Help|
|
||||
| :--- | :--- |
|
||||
|address|Use the provided address instead of the one Pwndbg found.|
|
||||
|
||||
### Optional arguments
|
||||
|
||||
|Short|Long|Help|
|
||||
| :--- | :--- | :--- |
|
||||
|-h|--help|show this help message and exit|
|
||||
|
||||
<!-- 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------------ -->
|
||||
@ -0,0 +1,25 @@
|
||||
<!-- THIS PART OF THIS FILE IS AUTOGENERATED. DO NOT MODIFY IT. See scripts/generate-docs.sh -->
|
||||
# mallocng-meta-area
|
||||
|
||||
```text
|
||||
usage: mallocng-meta-area [-h] address
|
||||
|
||||
```
|
||||
|
||||
Print out a mallocng meta_area object at the given address.
|
||||
|
||||
**Alias:** ng-metaarea
|
||||
### Positional arguments
|
||||
|
||||
|Positional Argument|Help|
|
||||
| :--- | :--- |
|
||||
|address|The address of the meta_area object.|
|
||||
|
||||
### Optional arguments
|
||||
|
||||
|Short|Long|Help|
|
||||
| :--- | :--- | :--- |
|
||||
|-h|--help|show this help message and exit|
|
||||
|
||||
<!-- 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------------ -->
|
||||
Loading…
Reference in new issue