Skip to content

mallocng ¤

Commands that help with debugging musl's allocator, mallocng.

Functions:

Attributes:

parser module-attribute ¤

parser = ArgumentParser(
    description="\nFind slot which contains the given address.\n\nReturns the `start` of the slot. We say a slot 'contains'\nan address if the address is in [start, start + stride).\n    "
)

mallocng_explain ¤

mallocng_explain() -> None

dump_group ¤

dump_group(group: Group) -> str

dump_meta ¤

dump_meta(meta: Meta) -> str

dump_slot ¤

dump_slot(slot: Slot, all: bool) -> str

mallocng_slot_user ¤

mallocng_slot_user(address: int, all: bool) -> None

mallocng_slot_start ¤

mallocng_slot_start(address: int, all: bool) -> None

mallocng_meta ¤

mallocng_meta(address: int) -> None

mallocng_group ¤

mallocng_group(address: int) -> None

mallocng_find ¤

mallocng_find(
    address: int,
    all: bool = False,
    metadata: bool = False,
    shallow: bool = False,
) -> None