r.a.Memory(object) : class documentation

Part of reven.api View In Hierarchy

This object represents the state of memory at a specified trace point.

Method __init__
Method point The point in the trace.
Method segment 0 The segment selector value used to access data by logical address.
Method segment Undocumented
Method read No summary
Method get_physical_address No summary
Method read_physical No summary
Method search No summary
Method __repr__ Undocumented
Method _rvn Undocumented
Method _rvn_point Undocumented
def __init__(self, pt):
Parameterspta Point.
@property
def _rvn(self):
Undocumented
@property
def _rvn_point(self):
Undocumented
@property
def point(self):

The point in the trace.

@property
def segment 0(self):

The segment selector value used to access data by logical address.

@segment.setter
def segment(self, s):
Undocumented
def read(self, addr, size):

Read logical memory.

ParametersaddrThe logical address offset.
sizeThe amount of bytes to read.
ReturnsA string containing the requested bytes.
def get_physical_address(self, addr):

Perform a logical address translation. Beware that this won't execute page fault exeptions, so the logical address must be mapped.

ParametersaddrThe logical address offset.
ReturnsThe physical address translation, or None if that address isn't mapped at that point.
def read_physical(self, addr, size):

Read physical memory.

ParametersaddrThe physical address of memory to read.
sizeThe amount of bytes to read.
ReturnsA string containing the requested bytes.
def search(self, pattern, begin_addr=0, end_addr=4294967295):

Search pattern in a range of memory.

ParameterspatternThe pattern to search.
begin_addrThe lower bound of the memory range.
end_addrThe upper bound of the memory range.
ReturnsA list of reven_api.logical_address.
def __repr__(self):
Undocumented
API Documentation for reven, generated by pydoctor at 2016-05-25 16:38:00.