Type Alias simics_api_sys::bindings::pre_decoder_cb_t
source · pub type pre_decoder_cb_t = Option<unsafe extern "C" fn(obj: *mut conf_object_t, cpu: *mut conf_object_t, instruction_start_address: generic_address_t, position_physical_address: physical_address_t, opcode_bytes: *mut uint8, valid_bytes: c_uint, instruction_position: c_uint, user_data: *mut lang_void) -> bool>;
Expand description
This callback is used by the
The
If the decoded instruction crosses a page boundary this callback is invoked
twice, first with the bytes on the first page and then with additional bytes
located on the next page. The
The
The function should return true if the memory was modified, otherwise false.
Aliased Type§
enum pre_decoder_cb_t {
None,
Some(unsafe extern "C" fn(_: *mut conf_object, _: *mut conf_object, _: u64, _: u64, _: *mut u8, _: u32, _: u32, _: *mut c_void) -> bool),
}