Struct r_core::r_parse_plugin_t[][src]

#[repr(C)]
pub struct r_parse_plugin_t { pub name: *mut c_char, pub desc: *mut c_char, pub init: Option<unsafe extern "C" fn(p: *mut RParse, user: *mut c_void) -> bool>, pub fini: Option<unsafe extern "C" fn(p: *mut RParse, user: *mut c_void) -> c_int>, pub parse: Option<unsafe extern "C" fn(p: *mut RParse, data: *const c_char, str_: *mut c_char) -> c_int>, pub assemble: Option<unsafe extern "C" fn(p: *mut RParse, data: *mut c_char, str_: *mut c_char) -> bool>, pub filter: Option<unsafe extern "C" fn(p: *mut RParse, addr: c_ulonglong, f: *mut RFlag, data: *mut c_char, str_: *mut c_char, len: c_int, big_endian: bool) -> c_int>, pub subvar: Option<unsafe extern "C" fn(p: *mut RParse, f: *mut RAnalFunction, addr: c_ulonglong, oplen: c_int, data: *mut c_char, str_: *mut c_char, len: c_int) -> bool>, pub replace: Option<unsafe extern "C" fn(argc: c_int, argv: *mut *const c_char, newstr: *mut c_char) -> c_int>, }

Fields

name: *mut c_chardesc: *mut c_charinit: Option<unsafe extern "C" fn(p: *mut RParse, user: *mut c_void) -> bool>fini: Option<unsafe extern "C" fn(p: *mut RParse, user: *mut c_void) -> c_int>parse: Option<unsafe extern "C" fn(p: *mut RParse, data: *const c_char, str_: *mut c_char) -> c_int>assemble: Option<unsafe extern "C" fn(p: *mut RParse, data: *mut c_char, str_: *mut c_char) -> bool>filter: Option<unsafe extern "C" fn(p: *mut RParse, addr: c_ulonglong, f: *mut RFlag, data: *mut c_char, str_: *mut c_char, len: c_int, big_endian: bool) -> c_int>subvar: Option<unsafe extern "C" fn(p: *mut RParse, f: *mut RAnalFunction, addr: c_ulonglong, oplen: c_int, data: *mut c_char, str_: *mut c_char, len: c_int) -> bool>replace: Option<unsafe extern "C" fn(argc: c_int, argv: *mut *const c_char, newstr: *mut c_char) -> c_int>

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.