#include <code_tracer.hpp>
Public Member Functions | |
| CODE_HIT () | |
| CODE_HIT (uint32_t off, size_t sz, uint16_t mod_id) | |
Public Attributes | |
| uint32_t | off |
| Offset of the hit relative to the start address of its module. | |
| uint16_t | sz |
| Size of the hit. It can either be the instruction size or the basic block size depending on the used TRACE_MODE. | |
| uint16_t | mod_id |
| ID of the hit module. | |
| std::unique_ptr< std::map< REG, RVAL > > | regs |
| CPU context as a map of register values. Only used in TRACE_MODE::CTXT. | |
Stores context information of a single hit. A hit can either be a new instruction or a new basic block depending on the used TRACE_MODE.
|
inline |
Builder for CODE_HIT instances.
|
inline |
Builder for CODE_HIT instances.
| [in] | off | Offset of the hit relative to the start address of its module. |
| [in] | sz | Size of the hit. It can either be the instruction size or the basic block size depending on the used TRACE_MODE. |
| [in] | mod_id | ID of the hit module. |
| [in] | regs | CPU context as a map of register values. Only used in TRACE_MODE::CTXT. |
| uint16_t arion::CODE_HIT::mod_id |
ID of the hit module.
| uint32_t arion::CODE_HIT::off |
Offset of the hit relative to the start address of its module.
CPU context as a map of register values. Only used in TRACE_MODE::CTXT.
| uint16_t arion::CODE_HIT::sz |
Size of the hit. It can either be the instruction size or the basic block size depending on the used TRACE_MODE.