r.a.Trace(object) : class documentation

Part of reven.api View In Hierarchy

Wrapper for reven_api.execution_run.

Class PointIterator Iterator allowing to iterate over trace points.
Method __init__ Undocumented
Method name The trace name.
Method sequence_count The count of basic blocks executed.
Method search_point No summary
Method search_symbol No summary
Method search_memory_access No summary
Method point Get Point object by sequence and instruction index. @param sequence: The sequence index. @param instruction: The instruction index, 0 (first instruction) by default.
Method __iter__ Undocumented
Method __repr__ Undocumented
Method _rvn Undocumented
def __init__(self, revn, run):
Undocumented
@property
def _rvn(self):
Undocumented
@property
def name(self):

The trace name.

@property
def sequence_count(self):

The count of basic blocks executed.

def search_point(self, criterions, begin_point=None, end_point=None, cojunction=True, step_max_results=500, step_max_sequences=1000000):

Search for point matching the given criterions.

ParameterscriterionsA list of Criterion objects used to match a point.
begin_pointThe search range lower bound. If None (default), will start at the beginning of the trace.
end_pointThe search range upper bound. If None (default), will stop at the end of the trace.
cojunctionWhether to user cojunction (and) or disjunction (or) of criterions.
step_max_resultsThe maximum amount of results to cache before yielding. Tweak for responce time adjustement.
step_max_sequencesThe maximum amount of sequences to search before yielding. Tweak for responce time adjustement.
Returnsa generator of matching points.
def search_symbol(self, name, is_regex=False, is_called=False, step_max_results=1000):

Search for symbols.

ParametersnameThe symbol name.
is_regexWhether to consider @param name as regular expression or not.
is_calledWhether to restrict search to called symbol or not.
step_max_resultsThe maximum amount of results to cache before yielding. Tweak for responce time adjustement.
ReturnsA generator of symbols matching the given criterions.
def search_memory_access(self, addr, size):

Search for memory access.

ParametersaddrThe memory start physical address
sizeThe memory range size
Returnsthe list of memory accesses which occured in the physical memory buffer.
def point(self, sequence, instruction=0):

Get Point object by sequence and instruction index.

ParameterssequenceThe sequence index.
instructionThe instruction index, 0 (first instruction) by default.
def __iter__(self):
Undocumented
def __repr__(self):
Undocumented
API Documentation for reven, generated by pydoctor at 2016-05-25 16:38:00.