Skip to content

mallocng-dump¤

usage: mallocng-dump [-h] [-ma META_AREA]

Dump the mallocng heap.

May produce lots of output.

Alias: ng-dump

Optional arguments¤

Short Long Help
-h --help show this help message and exit
-ma --meta-area Dump only the meta area at the provided address.

Notes¤

Since the command may produce lots of output, you may want to pipe it to less with | ng-dump | less -R.

The [index] next to the metas is their index in the doubly linked list pointed to by ctx.freed_meta_head. The [index] next to the slots is the slot's index inside of its group (thus, these will always be sequential).

Notice that the pointers in the output of this command aren't colored according to their mapping's color but rather according to the object's allocation status. Color legend: allocated; freed; available.