Struct r_core::r_debug_plugin_t[][src]

#[repr(C)]
pub struct r_debug_plugin_t {
Show 40 fields pub name: *const c_char, pub license: *const c_char, pub author: *const c_char, pub version: *const c_char, pub bits: c_uint, pub arch: *const c_char, pub canstep: c_int, pub keepio: c_int, pub info: Option<unsafe extern "C" fn(dbg: *mut RDebug, arg: *const c_char) -> *mut RDebugInfo>, pub startv: Option<unsafe extern "C" fn(argc: c_int, argv: *mut *mut c_char) -> c_int>, pub attach: Option<unsafe extern "C" fn(dbg: *mut RDebug, pid: c_int) -> c_int>, pub detach: Option<unsafe extern "C" fn(dbg: *mut RDebug, pid: c_int) -> c_int>, pub select: Option<unsafe extern "C" fn(dbg: *mut RDebug, pid: c_int, tid: c_int) -> c_int>, pub threads: Option<unsafe extern "C" fn(dbg: *mut RDebug, pid: c_int) -> *mut RList>, pub pids: Option<unsafe extern "C" fn(dbg: *mut RDebug, pid: c_int) -> *mut RList>, pub tids: Option<unsafe extern "C" fn(dbg: *mut RDebug, pid: c_int) -> *mut RList>, pub backtrace: Option<unsafe extern "C" fn(dbg: *mut RDebug, count: c_int) -> *mut *mut c_void>, pub stop: Option<unsafe extern "C" fn(dbg: *mut RDebug) -> c_int>, pub step: Option<unsafe extern "C" fn(dbg: *mut RDebug) -> c_int>, pub step_over: Option<unsafe extern "C" fn(dbg: *mut RDebug) -> c_int>, pub cont: Option<unsafe extern "C" fn(dbg: *mut RDebug, pid: c_int, tid: c_int, sig: c_int) -> c_int>, pub wait: Option<unsafe extern "C" fn(dbg: *mut RDebug, pid: c_int) -> c_int>, pub gcore: Option<unsafe extern "C" fn(dbg: *mut RDebug, dest: *mut RBuffer) -> bool>, pub kill: Option<unsafe extern "C" fn(dbg: *mut RDebug, pid: c_int, tid: c_int, sig: c_int) -> bool>, pub kill_list: Option<unsafe extern "C" fn(dbg: *mut RDebug) -> *mut RList>, pub contsc: Option<unsafe extern "C" fn(dbg: *mut RDebug, pid: c_int, sc: c_int) -> c_int>, pub frames: Option<unsafe extern "C" fn(dbg: *mut RDebug, at: c_ulonglong) -> *mut RList>, pub breakpoint: RBreakpointCallback, pub reg_read: Option<unsafe extern "C" fn(dbg: *mut RDebug, type_: c_int, buf: *mut c_uchar, size: c_int) -> c_int>, pub reg_write: Option<unsafe extern "C" fn(dbg: *mut RDebug, type_: c_int, buf: *const c_uchar, size: c_int) -> c_int>, pub reg_profile: Option<unsafe extern "C" fn(dbg: *mut RDebug) -> *mut c_char>, pub set_reg_profile: Option<unsafe extern "C" fn(str_: *const c_char) -> c_int>, pub map_get: Option<unsafe extern "C" fn(dbg: *mut RDebug) -> *mut RList>, pub modules_get: Option<unsafe extern "C" fn(dbg: *mut RDebug) -> *mut RList>, pub map_alloc: Option<unsafe extern "C" fn(dbg: *mut RDebug, addr: c_ulonglong, size: c_int, thp: bool) -> *mut RDebugMap>, pub map_dealloc: Option<unsafe extern "C" fn(dbg: *mut RDebug, addr: c_ulonglong, size: c_int) -> c_int>, pub map_protect: Option<unsafe extern "C" fn(dbg: *mut RDebug, addr: c_ulonglong, size: c_int, perms: c_int) -> c_int>, pub init: Option<unsafe extern "C" fn(dbg: *mut RDebug) -> c_int>, pub drx: Option<unsafe extern "C" fn(dbg: *mut RDebug, n: c_int, addr: c_ulonglong, size: c_int, rwx: c_int, g: c_int, api_type: c_int) -> c_int>, pub desc: RDebugDescPlugin,
}

Fields

name: *const c_charlicense: *const c_charauthor: *const c_charversion: *const c_charbits: c_uintarch: *const c_charcanstep: c_intkeepio: c_intinfo: Option<unsafe extern "C" fn(dbg: *mut RDebug, arg: *const c_char) -> *mut RDebugInfo>startv: Option<unsafe extern "C" fn(argc: c_int, argv: *mut *mut c_char) -> c_int>attach: Option<unsafe extern "C" fn(dbg: *mut RDebug, pid: c_int) -> c_int>detach: Option<unsafe extern "C" fn(dbg: *mut RDebug, pid: c_int) -> c_int>select: Option<unsafe extern "C" fn(dbg: *mut RDebug, pid: c_int, tid: c_int) -> c_int>threads: Option<unsafe extern "C" fn(dbg: *mut RDebug, pid: c_int) -> *mut RList>pids: Option<unsafe extern "C" fn(dbg: *mut RDebug, pid: c_int) -> *mut RList>tids: Option<unsafe extern "C" fn(dbg: *mut RDebug, pid: c_int) -> *mut RList>backtrace: Option<unsafe extern "C" fn(dbg: *mut RDebug, count: c_int) -> *mut *mut c_void>stop: Option<unsafe extern "C" fn(dbg: *mut RDebug) -> c_int>step: Option<unsafe extern "C" fn(dbg: *mut RDebug) -> c_int>step_over: Option<unsafe extern "C" fn(dbg: *mut RDebug) -> c_int>cont: Option<unsafe extern "C" fn(dbg: *mut RDebug, pid: c_int, tid: c_int, sig: c_int) -> c_int>wait: Option<unsafe extern "C" fn(dbg: *mut RDebug, pid: c_int) -> c_int>gcore: Option<unsafe extern "C" fn(dbg: *mut RDebug, dest: *mut RBuffer) -> bool>kill: Option<unsafe extern "C" fn(dbg: *mut RDebug, pid: c_int, tid: c_int, sig: c_int) -> bool>kill_list: Option<unsafe extern "C" fn(dbg: *mut RDebug) -> *mut RList>contsc: Option<unsafe extern "C" fn(dbg: *mut RDebug, pid: c_int, sc: c_int) -> c_int>frames: Option<unsafe extern "C" fn(dbg: *mut RDebug, at: c_ulonglong) -> *mut RList>breakpoint: RBreakpointCallbackreg_read: Option<unsafe extern "C" fn(dbg: *mut RDebug, type_: c_int, buf: *mut c_uchar, size: c_int) -> c_int>reg_write: Option<unsafe extern "C" fn(dbg: *mut RDebug, type_: c_int, buf: *const c_uchar, size: c_int) -> c_int>reg_profile: Option<unsafe extern "C" fn(dbg: *mut RDebug) -> *mut c_char>set_reg_profile: Option<unsafe extern "C" fn(str_: *const c_char) -> c_int>map_get: Option<unsafe extern "C" fn(dbg: *mut RDebug) -> *mut RList>modules_get: Option<unsafe extern "C" fn(dbg: *mut RDebug) -> *mut RList>map_alloc: Option<unsafe extern "C" fn(dbg: *mut RDebug, addr: c_ulonglong, size: c_int, thp: bool) -> *mut RDebugMap>map_dealloc: Option<unsafe extern "C" fn(dbg: *mut RDebug, addr: c_ulonglong, size: c_int) -> c_int>map_protect: Option<unsafe extern "C" fn(dbg: *mut RDebug, addr: c_ulonglong, size: c_int, perms: c_int) -> c_int>init: Option<unsafe extern "C" fn(dbg: *mut RDebug) -> c_int>drx: Option<unsafe extern "C" fn(dbg: *mut RDebug, n: c_int, addr: c_ulonglong, size: c_int, rwx: c_int, g: c_int, api_type: c_int) -> c_int>desc: RDebugDescPlugin

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.