instr_init

Function instr_init 

Source
pub unsafe extern "C" fn instr_init(
    drcontext: *mut c_void,
    instr: *mut instr_t,
)
Expand description

Initializes \p instr. Sets the x86/x64 mode of \p instr to the mode of dcontext. When finished with it, the instruction’s internal memory should be freed with instr_free(), or instr_reset() for reuse.