Function qemu_plugin_insn_data

Source
pub unsafe extern "C" fn qemu_plugin_insn_data(
    insn: *const qemu_plugin_insn,
) -> *const c_void
Expand description

qemu_plugin_insn_data() - return ptr to instruction data @insn: opaque instruction handle from qemu_plugin_tb_get_insn()

Note: data is only valid for duration of callback. See qemu_plugin_insn_size() to calculate size of stream.

Returns: pointer to a stream of bytes containing the value of this instructions opcode.