Skip to content

heap ¤

Classes:

MemoryAllocator ¤

Heap abstraction layer.

Methods:

  • summarize

    Returns a textual summary of the specified address.

  • containing

    Returns the address of the allocation which contains 'address'.

  • is_initialized

    Returns whether the allocator is initialized or not.

  • libc_has_debug_syms

    Returns whether the libc has debug symbols or not.

summarize ¤

summarize(address: int, **kwargs: Any) -> str

Returns a textual summary of the specified address.

Parameters:

  • address (int) –

    Address of the heap block to summarize.

Returns:

  • str

    A string.

containing ¤

containing(address: int) -> int

Returns the address of the allocation which contains 'address'.

Parameters:

  • address (int) –

    Address to look up.

Returns:

  • int

    An integer.

is_initialized ¤

is_initialized() -> bool

Returns whether the allocator is initialized or not.

Returns:

  • bool

    A boolean.

libc_has_debug_syms ¤

libc_has_debug_syms() -> bool

Returns whether the libc has debug symbols or not.

Returns:

  • bool

    A boolean.