[][src]Type Definition libipt_sys::read_memory_callback_t

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>;

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.