Struct r_core::r_anal_esil_callbacks_t[][src]

#[repr(C)]
pub struct r_anal_esil_callbacks_t { pub user: *mut c_void, pub hook_flag_read: Option<unsafe extern "C" fn(esil: *mut r_anal_esil_t, flag: *const c_char, num: *mut c_ulonglong) -> bool>, pub hook_command: Option<unsafe extern "C" fn(esil: *mut r_anal_esil_t, op: *const c_char) -> bool>, pub hook_mem_read: Option<unsafe extern "C" fn(esil: *mut r_anal_esil_t, addr: c_ulonglong, buf: *mut c_uchar, len: c_int) -> bool>, pub mem_read: Option<unsafe extern "C" fn(esil: *mut r_anal_esil_t, addr: c_ulonglong, buf: *mut c_uchar, len: c_int) -> bool>, pub hook_mem_write: Option<unsafe extern "C" fn(esil: *mut r_anal_esil_t, addr: c_ulonglong, buf: *const c_uchar, len: c_int) -> bool>, pub mem_write: Option<unsafe extern "C" fn(esil: *mut r_anal_esil_t, addr: c_ulonglong, buf: *const c_uchar, len: c_int) -> bool>, pub hook_reg_read: Option<unsafe extern "C" fn(esil: *mut r_anal_esil_t, name: *const c_char, res: *mut c_ulonglong, size: *mut c_int) -> bool>, pub reg_read: Option<unsafe extern "C" fn(esil: *mut r_anal_esil_t, name: *const c_char, res: *mut c_ulonglong, size: *mut c_int) -> bool>, pub hook_reg_write: RAnalEsilHookRegWriteCB, pub reg_write: Option<unsafe extern "C" fn(esil: *mut r_anal_esil_t, name: *const c_char, val: c_ulonglong) -> bool>, }

Fields

user: *mut c_voidhook_flag_read: Option<unsafe extern "C" fn(esil: *mut r_anal_esil_t, flag: *const c_char, num: *mut c_ulonglong) -> bool>hook_command: Option<unsafe extern "C" fn(esil: *mut r_anal_esil_t, op: *const c_char) -> bool>hook_mem_read: Option<unsafe extern "C" fn(esil: *mut r_anal_esil_t, addr: c_ulonglong, buf: *mut c_uchar, len: c_int) -> bool>mem_read: Option<unsafe extern "C" fn(esil: *mut r_anal_esil_t, addr: c_ulonglong, buf: *mut c_uchar, len: c_int) -> bool>hook_mem_write: Option<unsafe extern "C" fn(esil: *mut r_anal_esil_t, addr: c_ulonglong, buf: *const c_uchar, len: c_int) -> bool>mem_write: Option<unsafe extern "C" fn(esil: *mut r_anal_esil_t, addr: c_ulonglong, buf: *const c_uchar, len: c_int) -> bool>hook_reg_read: Option<unsafe extern "C" fn(esil: *mut r_anal_esil_t, name: *const c_char, res: *mut c_ulonglong, size: *mut c_int) -> bool>reg_read: Option<unsafe extern "C" fn(esil: *mut r_anal_esil_t, name: *const c_char, res: *mut c_ulonglong, size: *mut c_int) -> bool>hook_reg_write: RAnalEsilHookRegWriteCBreg_write: Option<unsafe extern "C" fn(esil: *mut r_anal_esil_t, name: *const c_char, val: c_ulonglong) -> bool>

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.