35 RZ_LOG_ERROR(
"rzil: Cannot allocate hasmap for trace registers\n");
40 RZ_LOG_ERROR(
"rzil: Cannot allocate hasmap for trace memory\n");
45 RZ_LOG_ERROR(
"rzil: Cannot allocate vector for trace instructions\n");
56 RZ_LOG_ERROR(
"rzil: Cannot allocate register arena for trace\n");
59 if (
b->bytes &&
a->bytes &&
b->size > 0) {
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_op(RzAnalysis *analysis, RZ_NONNULL RzAnalysisILVM *rzil, RZ_NONNULL RzAnalysisLiftedILOp op)
RZ_API void rz_analysis_rzil_trace_free(RzAnalysisEsilTrace *trace)
RZ_API RzRegArena * rz_reg_arena_new(size_t size)
RZ_API void rz_reg_arena_free(RzRegArena *ra)
RZ_API void rz_analysis_esil_trace_free(RzAnalysisEsilTrace *trace)
RZ_API void rz_analysis_il_trace_instruction_free(RzILTraceInstruction *instruction)
memcpy(mem, inblock.get(), min(CONTAINING_RECORD(inblock.get(), MEMBLOCK, data) ->size, size))
#define rz_return_val_if_fail(expr, val)
#define RZ_LOG_ERROR(fmtstr,...)
RZ_API RzPVector * rz_pvector_new(RzPVectorFree free)
void(* RzPVectorFree)(void *e)
RZ_API void rz_vector_free(RzVector *vec)
RZ_API void rz_pvector_free(RzPVector *vec)
RzRegArena * arena[RZ_REG_TYPE_LAST]
High-level RzIL vm to emulate disassembled code.
RzRegSet regset[RZ_REG_TYPE_LAST]
void error(const char *msg)