Arion 1.0.2-alpha
A high-performance C++ framework for emulating executable binaries.
 
Loading...
Searching...
No Matches
arion::ANALYSIS_HIT Struct Reference

This structure holds data relative to a trace hit (e.g : instruction, basic block...). More...

#include <code_trace_analysis.hpp>

Public Member Functions

 ANALYSIS_HIT ()
 
 ANALYSIS_HIT (off_t hit_i, std::string mod_name, uint32_t off, uint16_t sz, std::map< REG, RVAL > *regs)
 

Public Attributes

off_t hit_i
 Index of the hit in the trace file.
 
std::string mod_name
 Name of the module where the hit occurred.
 
uint32_t off
 Offset to the module start in bytes.
 
uint16_t sz
 Size of the hit in bytes.
 
std::unique_ptr< std::map< REG, RVAL > > regs
 

Detailed Description

This structure holds data relative to a trace hit (e.g : instruction, basic block...).

Constructor & Destructor Documentation

◆ ANALYSIS_HIT() [1/2]

arion::ANALYSIS_HIT::ANALYSIS_HIT ( )

Builder for ANALYSIS_HIT instances.

◆ ANALYSIS_HIT() [2/2]

arion::ANALYSIS_HIT::ANALYSIS_HIT ( off_t  hit_i,
std::string  mod_name,
uint32_t  off,
uint16_t  sz,
std::map< REG, RVAL > *  regs 
)
inline

Builder for ANALYSIS_HIT instances.

Parameters
[in]hit_iIndex of the hit in the trace file.
[in]mod_nameName of the module where the hit occurred.
[in]offOffset to the module start in bytes.
[in]szSize of the hit in bytes.
[in]regsMap of context register values given their associated register. Only makes sense for files generated with TRACE_MODE::CTXT.

Member Data Documentation

◆ hit_i

off_t arion::ANALYSIS_HIT::hit_i

Index of the hit in the trace file.

◆ mod_name

std::string arion::ANALYSIS_HIT::mod_name

Name of the module where the hit occurred.

◆ off

uint32_t arion::ANALYSIS_HIT::off

Offset to the module start in bytes.

◆ regs

std::unique_ptr<std::map<REG, RVAL> > arion::ANALYSIS_HIT::regs

Map of context register values given their associated register. Only makes sense for files generated with TRACE_MODE::CTXT.

◆ sz

uint16_t arion::ANALYSIS_HIT::sz

Size of the hit in bytes.


The documentation for this struct was generated from the following file: