class Match(object):
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 |
| Property | id |
Property: The unique id of the pattern in the Search instance that produced it. |
| Property | physical_start_address |
Property: The reven2.address.PhysicalAddress of the first byte of the slice that matches the pattern. |
| Property | physical_end_address |
Property: The reven2.address.PhysicalAddress of the first byte after the slice that matches the pattern. |
| Property | 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. |
| Property | 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. |
| Property | known_mapped_context |
Property: A reven2.trace.Context where it's known that the virtual_start_address is mapped, or None, if unknown. |
| Property | size_byte |
Property: The size of the match, in byte. |
| Property | first_context |
Property: The first reven2.trace.Context where this slice matches the pattern. |
| Property | last_context |
Property: The last reven2.trace.Context where this slice matches the pattern. |
| Property | 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. |
| Property | 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.MemoryAccesses that read from the slice while it was matching with the pattern. |
| Property | pattern |
The pattern that the slice matches with. |
| Method | __str__ |
Undocumented |
| Method | format_as_html |
This method gets an html formatting string representation for this class instance. |
| Instance Variable | _id |
Undocumented |
| Instance Variable | _physical_start_address |
Undocumented |
| Instance Variable | _creation_transition |
Undocumented |
| Instance Variable | _destruction_transition |
Undocumented |
| Instance Variable | _pattern |
Undocumented |
| Instance Variable | _accesses |
Undocumented |
| Instance Variable | _current_search |
Undocumented |
| Instance Variable | _virtual_start_address |
Undocumented |
| Method | _repr_html_ |
Representation used by Jupyter Notebook when an instance of this class is displayed in a cell. |
Undocumented
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 Matches 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.MemoryAccesses that read from the slice while it was matching with the pattern.