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/musl/mallocng-find.md

32 lines
1.3 KiB
Markdown

<!-- THIS PART OF THIS FILE IS AUTOGENERATED. DO NOT MODIFY IT. See scripts/generate-docs.sh -->
# mallocng-find
```text
usage: mallocng-find [-h] [-a] [-m] [-s] address
```
Find slot which contains the given address.
Returns the `start` of the slot. We say a slot 'contains'
an address if the address is in [start, start + stride).
**Alias:** ng-find
### Positional arguments
|Positional Argument|Help|
| :--- | :--- |
|address|The address to look for.|
### Optional arguments
|Short|Long|Help|
| :--- | :--- | :--- |
|-h|--help|show this help message and exit|
|-a|--all|Print out all information. Including meta and group data.|
|-m|--metadata|If the given address falls onto some in-band metadata, return the slot which owns that metadata. In other words, the containment check becomes [start - IB, end).|
|-s|--shallow|Return the biggest slot which contains this address, don't recurse for smaller slots. The group which owns this slot will not be a nested group.|
<!-- 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------------ -->