pub type read_memory_callback_t = Option<unsafe extern "C" fn(buffer: *mut u8, size: usize, asid: *const pt_asid, ip: u64, context: *mut c_void) -> c_int>;Expand description
A read memory callback function.
It shall read @size bytes of memory from address space @asid starting at @ip into @buffer.
It shall return the number of bytes read on success. It shall return a negative pt_error_code otherwise.
Aliased Type§
enum read_memory_callback_t {
None,
Some(unsafe extern "C" fn(*mut u8, usize, *const pt_asid, u64, *mut c_void) -> i32),
}