Type Alias fnMemAccessCB

Source
pub type fnMemAccessCB = Option<unsafe extern "C" fn(lib_context: *const c_void, address: ocsd_vaddr_t, cs_trace_id: u8, mem_space: ocsd_mem_space_acc_t, num_bytes: *mut u32, p_buffer: *mut u8) -> ocsd_err_t>;
Expand description

callback function to connect the memory accessor interface Implements ITargetMemAccess::ReadTargetMemory with addition of library context pointer.

Aliased Type§

enum fnMemAccessCB {
    None,
    Some(unsafe extern "C" fn(*const c_void, u64, u8, u32, *mut u32, *mut u8) -> u32),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*const c_void, u64, u8, u32, *mut u32, *mut u8) -> u32)

Some value of type T.