libdebug.snapshots.memory.memory_map_snapshot
MemoryMapSnapshot
dataclass
Bases: MemoryMap
A snapshot of the memory map of the target process.
Attributes:
Name | Type | Description |
---|---|---|
start |
int
|
The start address of the memory map. You can access it also with the 'base' attribute. |
end |
int
|
The end address of the memory map. |
permissions |
str
|
The permissions of the memory map. |
size |
int
|
The size of the memory map. |
offset |
int
|
The relative offset of the memory map. |
backing_file |
str
|
The backing file of the memory map, or the symbolic name of the memory map. |
content |
bytes
|
The content of the memory map, used for snapshotted pages. |
Source code in libdebug/snapshots/memory/memory_map_snapshot.py
content = None
class-attribute
instance-attribute
The content of the memory map, used for snapshotted pages.
__eq__(value)
Check if this MemoryMap is equal to another object.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
value
|
object
|
The object to compare to. |
required |
Returns:
Name | Type | Description |
---|---|---|
bool |
bool
|
True if the objects are equal, False otherwise. |
Source code in libdebug/snapshots/memory/memory_map_snapshot.py
__repr__()
Return the string representation of the memory map.
Source code in libdebug/snapshots/memory/memory_map_snapshot.py
is_same_identity(other)
Check if the memory map corresponds to another memory map.