#[repr(C)]pub struct BNCustomStringRecognizer {
pub context: *mut c_void,
pub isValidForType: Option<unsafe extern "C" fn(ctxt: *mut c_void, hlil: *mut BNHighLevelILFunction, type_: *mut BNType) -> bool>,
pub recognizeConstant: Option<unsafe extern "C" fn(ctxt: *mut c_void, hlil: *mut BNHighLevelILFunction, expr: usize, type_: *mut BNType, val: i64, result: *mut BNDerivedString) -> bool>,
pub recognizeConstantPointer: Option<unsafe extern "C" fn(ctxt: *mut c_void, hlil: *mut BNHighLevelILFunction, expr: usize, type_: *mut BNType, val: i64, result: *mut BNDerivedString) -> bool>,
pub recognizeExternPointer: Option<unsafe extern "C" fn(ctxt: *mut c_void, hlil: *mut BNHighLevelILFunction, expr: usize, type_: *mut BNType, val: i64, offset: u64, result: *mut BNDerivedString) -> bool>,
pub recognizeImport: Option<unsafe extern "C" fn(ctxt: *mut c_void, hlil: *mut BNHighLevelILFunction, expr: usize, type_: *mut BNType, val: i64, result: *mut BNDerivedString) -> bool>,
}Fields§
§context: *mut c_void§isValidForType: Option<unsafe extern "C" fn(ctxt: *mut c_void, hlil: *mut BNHighLevelILFunction, type_: *mut BNType) -> bool>§recognizeConstant: Option<unsafe extern "C" fn(ctxt: *mut c_void, hlil: *mut BNHighLevelILFunction, expr: usize, type_: *mut BNType, val: i64, result: *mut BNDerivedString) -> bool>§recognizeConstantPointer: Option<unsafe extern "C" fn(ctxt: *mut c_void, hlil: *mut BNHighLevelILFunction, expr: usize, type_: *mut BNType, val: i64, result: *mut BNDerivedString) -> bool>§recognizeExternPointer: Option<unsafe extern "C" fn(ctxt: *mut c_void, hlil: *mut BNHighLevelILFunction, expr: usize, type_: *mut BNType, val: i64, offset: u64, result: *mut BNDerivedString) -> bool>§recognizeImport: Option<unsafe extern "C" fn(ctxt: *mut c_void, hlil: *mut BNHighLevelILFunction, expr: usize, type_: *mut BNType, val: i64, result: *mut BNDerivedString) -> bool>Trait Implementations§
source§impl Clone for BNCustomStringRecognizer
impl Clone for BNCustomStringRecognizer
source§fn clone(&self) -> BNCustomStringRecognizer
fn clone(&self) -> BNCustomStringRecognizer
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for BNCustomStringRecognizer
impl Debug for BNCustomStringRecognizer
source§impl Default for BNCustomStringRecognizer
impl Default for BNCustomStringRecognizer
impl Copy for BNCustomStringRecognizer
Auto Trait Implementations§
impl Freeze for BNCustomStringRecognizer
impl RefUnwindSafe for BNCustomStringRecognizer
impl !Send for BNCustomStringRecognizer
impl !Sync for BNCustomStringRecognizer
impl Unpin for BNCustomStringRecognizer
impl UnwindSafe for BNCustomStringRecognizer
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)