Skip to content

vmmap ¤

Command to print the virtual memory map a la /proc/self/maps.

Functions:

Attributes:

integer_types module-attribute ¤

integer_types = (int, Value)

parser module-attribute ¤

parser = ArgumentParser(
    description="Load virtual memory map pages from ELF file."
)

pages_filter ¤

pages_filter(gdbval_or_str)

print_vmmap_table_header ¤

print_vmmap_table_header() -> None

Prints the table header for the vmmap command.

print_vmmap_gaps_table_header ¤

print_vmmap_gaps_table_header() -> None

Prints the table header for the vmmap --gaps command.

calculate_total_memory ¤

calculate_total_memory(pages: tuple[Page, ...]) -> None

gap_text ¤

gap_text(page: Page) -> str

print_map ¤

print_map(page: Page) -> None

print_adjacent_map ¤

print_adjacent_map(map_start: Page, map_end: Page) -> None

print_guard ¤

print_guard(page: Page) -> None

print_gap ¤

print_gap(current: Page, last_map: Page)

print_vmmap_gaps ¤

print_vmmap_gaps(pages: tuple[Page, ...]) -> None

Indicates the size of adjacent memory regions and unmapped gaps between them in process memory

vmmap ¤

vmmap(
    gdbval_or_str=None,
    writable=False,
    executable=False,
    lines_after=1,
    lines_before=1,
    context=None,
    gaps=False,
) -> None

vmmap_add ¤

vmmap_add(start: int, size: int, flags: str, offset: int) -> None

vmmap_explore ¤

vmmap_explore(address: int) -> None

vmmap_clear ¤

vmmap_clear() -> None

vmmap_load ¤

vmmap_load(filename) -> None