Type Alias simics_api_sys::cpu_instruction_disassemble_cb_t
source · pub type cpu_instruction_disassemble_cb_t = Option<unsafe extern "C" fn(obj: *mut conf_object_t, cpu: *mut conf_object_t, addr: generic_address_t, bytes: cpu_bytes_t) -> tuple_int_string_t>;
Expand description
Instrumentation callback function registered through the
The callback will be called when a replaced instruction is being disassembled.
Aliased Type§
enum cpu_instruction_disassemble_cb_t {
None,
Some(unsafe extern "C" fn(_: *mut conf_object, _: *mut conf_object, _: u64, _: cpu_bytes) -> tuple_int_string_t),
}
Variants§
None
No value.
Some(unsafe extern "C" fn(_: *mut conf_object, _: *mut conf_object, _: u64, _: cpu_bytes) -> tuple_int_string_t)
Some value of type T
.