Rizin
unix-like reverse engineering framework and cli tools
|
#include <rz_analysis.h>
Go to the source code of this file.
Functions | |
static void | htup_vector_free (HtUPKv *kv) |
RZ_API RzAnalysisRzilTrace * | rz_analysis_rzil_trace_new (RzAnalysis *analysis, RZ_NONNULL RzAnalysisILVM *rzil) |
RZ_API void | rz_analysis_rzil_trace_free (RzAnalysisEsilTrace *trace) |
RZ_API void | rz_analysis_rzil_trace_op (RzAnalysis *analysis, RZ_NONNULL RzAnalysisILVM *rzil, RZ_NONNULL RzAnalysisLiftedILOp op) |
|
static |
IL trace should also these info
Definition at line 14 of file analysis_il_trace.c.
References rz_vector_free().
Referenced by rz_analysis_rzil_trace_new().
RZ_API void rz_analysis_rzil_trace_free | ( | RzAnalysisEsilTrace * | trace | ) |
Free an IL trace
trace | trace to be free |
Definition at line 74 of file analysis_il_trace.c.
References rz_analysis_esil_trace_t::arena, i, rz_analysis_esil_trace_t::instructions, rz_analysis_esil_trace_t::memory, NULL, rz_analysis_esil_trace_t::registers, RZ_FREE, rz_pvector_free(), rz_reg_arena_free(), and RZ_REG_TYPE_LAST.
RZ_API RzAnalysisRzilTrace* rz_analysis_rzil_trace_new | ( | RzAnalysis * | analysis, |
RZ_NONNULL RzAnalysisILVM * | rzil | ||
) |
Create a new trace to collect infos
analysis | pointer to RzAnalysis |
rzil | RZ_IL instance |
Definition at line 24 of file analysis_il_trace.c.
References a, rz_analysis_esil_trace_t::arena, rz_reg_set_t::arena, b, error(), htup_vector_free(), i, rz_analysis_esil_trace_t::instructions, memcpy(), rz_analysis_esil_trace_t::memory, NULL, rz_analysis_t::reg, rz_analysis_esil_trace_t::registers, rz_reg_t::regset, rz_analysis_esil_trace_free(), rz_analysis_il_trace_instruction_free(), RZ_LOG_ERROR, RZ_NEW0, rz_pvector_new(), rz_reg_arena_new(), RZ_REG_TYPE_LAST, and rz_return_val_if_fail.
RZ_API void rz_analysis_rzil_trace_op | ( | RzAnalysis * | analysis, |
RZ_NONNULL RzAnalysisILVM * | rzil, | ||
RZ_NONNULL RzAnalysisLiftedILOp | op | ||
) |
This function should be called after executing the IL op Collect trace info (target and data of mem/reg read/write)
analysis | RzAnalysis |
rzil | IL instance |
op | RzAnalysisRzilOp, a general IL op structure (Designed for switching between different implementations of IL op struct) |
Definition at line 97 of file analysis_il_trace.c.