libdebug.snapshots.memory.memory_map_snapshot_list
MemoryMapSnapshotList
Bases: list[MemoryMapSnapshot]
A list of memory map snapshot from the target process.
Source code in libdebug/snapshots/memory/memory_map_snapshot_list.py
__init__(memory_maps, process_name, full_process_path)
Initializes the MemoryMapSnapshotList.
Source code in libdebug/snapshots/memory/memory_map_snapshot_list.py
filter(value)
Filters the memory maps according to the specified value.
If the value is an integer, it is treated as an address. If the value is a string, it is treated as a backing file.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
value
|
int | str
|
The value to search for. |
required |
Returns:
| Type | Description |
|---|---|
MemoryMapSnapshotList[MemoryMapSnapshot]
|
MemoryMapSnapshotList[MemoryMapSnapshot]: The memory map snapshots matching the specified value. |