reven2.search_in_memory.Match(object)
class documentationreven2.search_in_memory
(View In Hierarchy)
Represents a slice of memory that matches a specific pattern during some portion of the trace.
Matches are typically produced by Search.matches()
.
Method | __init__ | Undocumented |
Method | id | Property: The unique id of the pattern in the Search instance
that produced it. |
Method | physical_start_address | Property: The reven2.address.PhysicalAddress
of the first byte of the slice that matches the pattern. |
Method | physical_end_address | Property: The reven2.address.PhysicalAddress
of the first byte after the slice that matches the pattern. |
Method | virtual_start_address | Property: The reven2.address.LinearAddress
of the first byte of the slice that matches the pattern, or
None , if the match was created by a physical write. |
Method | virtual_end_address | Property: The reven2.address.LinearAddress
of the first byte after the slice that matches the pattern, or
None , if the match was created by a physical write. |
Method | known_mapped_context | Property: A reven2.trace.Context
where it's known that the virtual_start_address
is mapped, or None , if unknown. |
Method | size_byte | Property: The size of the match, in byte. |
Method | first_context | Property: The first reven2.trace.Context
where this slice matches the pattern. |
Method | last_context | Property: The last reven2.trace.Context
where this slice matches the pattern. |
Method | creation_transition | Property: The reven2.trace.Transition
that make the slice match the pattern, or None if the slice
was alreadying matching the pattern in the from_context of the
search. |
Method | destruction_transition | Property: The reven2.trace.Transition
that make the slice stop matching the pattern, or None if the
slice matches the pattern until the to_context of the
search. |
Method | accesses | A generator of the reven2.memhist.MemoryAccess es
that read from the slice while it was matching with the pattern. |
Method | pattern | The pattern that the slice matches with. |
Method | __str__ | Undocumented |
Property: The unique id of the pattern in the Search
instance
that produced it.
Property: The reven2.address.PhysicalAddress
of the first byte of the slice that matches the pattern.
Property: The reven2.address.PhysicalAddress
of the first byte after the slice that matches the pattern.
Property: The reven2.address.LinearAddress
of the first byte of the slice that matches the pattern, or
None
, if the match was created by a physical write.
Property: The reven2.address.LinearAddress
of the first byte after the slice that matches the pattern, or
None
, if the match was created by a physical write.
Property: A reven2.trace.Context
where it's known that the virtual_start_address
is mapped, or None
, if unknown.
Property: The size of the match, in byte.
>>> self.physical_end_address == self.physical_start_address + self.size_byte True
Property: The first reven2.trace.Context
where this slice matches the pattern.
Property: The last reven2.trace.Context
where this slice matches the pattern.
For Match
es that
are still alive in searches that are not completed, this will be updated
as the search progresses
Property: The reven2.trace.Transition
that make the slice match the pattern, or None
if the slice
was alreadying matching the pattern in the from_context
of the
search.
Property: The reven2.trace.Transition
that make the slice stop matching the pattern, or None
if the
slice matches the pattern until the to_context
of the
search.
A generator of the reven2.memhist.MemoryAccess
es
that read from the slice while it was matching with the pattern.