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_void
hook_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: RAnalEsilHookRegWriteCB
reg_write: Option<unsafe extern "C" fn(esil: *mut r_anal_esil_t, name: *const c_char, val: c_ulonglong) -> bool>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for r_anal_esil_callbacks_t
impl !Send for r_anal_esil_callbacks_t
impl !Sync for r_anal_esil_callbacks_t
impl Unpin for r_anal_esil_callbacks_t
impl UnwindSafe for r_anal_esil_callbacks_t
Blanket Implementations
Mutably borrows from an owned value. Read more