binaryninjacore_sys

Struct BNBinaryDataNotification

source
#[repr(C)]
pub struct BNBinaryDataNotification {
Show 54 fields pub context: *mut c_void, pub notificationBarrier: Option<unsafe extern "C" fn(ctxt: *mut c_void, view: *mut BNBinaryView) -> u64>, pub dataWritten: Option<unsafe extern "C" fn(ctxt: *mut c_void, view: *mut BNBinaryView, offset: u64, len: usize)>, pub dataInserted: Option<unsafe extern "C" fn(ctxt: *mut c_void, view: *mut BNBinaryView, offset: u64, len: usize)>, pub dataRemoved: Option<unsafe extern "C" fn(ctxt: *mut c_void, view: *mut BNBinaryView, offset: u64, len: u64)>, pub functionAdded: Option<unsafe extern "C" fn(ctxt: *mut c_void, view: *mut BNBinaryView, func: *mut BNFunction)>, pub functionRemoved: Option<unsafe extern "C" fn(ctxt: *mut c_void, view: *mut BNBinaryView, func: *mut BNFunction)>, pub functionUpdated: Option<unsafe extern "C" fn(ctxt: *mut c_void, view: *mut BNBinaryView, func: *mut BNFunction)>, pub functionUpdateRequested: Option<unsafe extern "C" fn(ctxt: *mut c_void, view: *mut BNBinaryView, func: *mut BNFunction)>, pub dataVariableAdded: Option<unsafe extern "C" fn(ctxt: *mut c_void, view: *mut BNBinaryView, var: *mut BNDataVariable)>, pub dataVariableRemoved: Option<unsafe extern "C" fn(ctxt: *mut c_void, view: *mut BNBinaryView, var: *mut BNDataVariable)>, pub dataVariableUpdated: Option<unsafe extern "C" fn(ctxt: *mut c_void, view: *mut BNBinaryView, var: *mut BNDataVariable)>, pub dataMetadataUpdated: Option<unsafe extern "C" fn(ctxt: *mut c_void, view: *mut BNBinaryView, offset: u64)>, pub tagTypeUpdated: Option<unsafe extern "C" fn(ctxt: *mut c_void, view: *mut BNBinaryView, tagType: *mut BNTagType)>, pub tagAdded: Option<unsafe extern "C" fn(ctxt: *mut c_void, view: *mut BNBinaryView, tagRef: *mut BNTagReference)>, pub tagRemoved: Option<unsafe extern "C" fn(ctxt: *mut c_void, view: *mut BNBinaryView, tagRef: *mut BNTagReference)>, pub tagUpdated: Option<unsafe extern "C" fn(ctxt: *mut c_void, view: *mut BNBinaryView, tagRef: *mut BNTagReference)>, pub symbolAdded: Option<unsafe extern "C" fn(ctxt: *mut c_void, view: *mut BNBinaryView, sym: *mut BNSymbol)>, pub symbolRemoved: Option<unsafe extern "C" fn(ctxt: *mut c_void, view: *mut BNBinaryView, sym: *mut BNSymbol)>, pub symbolUpdated: Option<unsafe extern "C" fn(ctxt: *mut c_void, view: *mut BNBinaryView, sym: *mut BNSymbol)>, pub stringFound: Option<unsafe extern "C" fn(ctxt: *mut c_void, view: *mut BNBinaryView, type_: BNStringType, offset: u64, len: usize)>, pub stringRemoved: Option<unsafe extern "C" fn(ctxt: *mut c_void, view: *mut BNBinaryView, type_: BNStringType, offset: u64, len: usize)>, pub typeDefined: Option<unsafe extern "C" fn(ctxt: *mut c_void, view: *mut BNBinaryView, name: *mut BNQualifiedName, type_: *mut BNType)>, pub typeUndefined: Option<unsafe extern "C" fn(ctxt: *mut c_void, view: *mut BNBinaryView, name: *mut BNQualifiedName, type_: *mut BNType)>, pub typeReferenceChanged: Option<unsafe extern "C" fn(ctxt: *mut c_void, view: *mut BNBinaryView, name: *mut BNQualifiedName, type_: *mut BNType)>, pub typeFieldReferenceChanged: Option<unsafe extern "C" fn(ctxt: *mut c_void, view: *mut BNBinaryView, name: *mut BNQualifiedName, offset: u64)>, pub segmentAdded: Option<unsafe extern "C" fn(ctxt: *mut c_void, view: *mut BNBinaryView, segment: *mut BNSegment)>, pub segmentRemoved: Option<unsafe extern "C" fn(ctxt: *mut c_void, view: *mut BNBinaryView, segment: *mut BNSegment)>, pub segmentUpdated: Option<unsafe extern "C" fn(ctxt: *mut c_void, view: *mut BNBinaryView, segment: *mut BNSegment)>, pub sectionAdded: Option<unsafe extern "C" fn(ctxt: *mut c_void, view: *mut BNBinaryView, section: *mut BNSection)>, pub sectionRemoved: Option<unsafe extern "C" fn(ctxt: *mut c_void, view: *mut BNBinaryView, section: *mut BNSection)>, pub sectionUpdated: Option<unsafe extern "C" fn(ctxt: *mut c_void, view: *mut BNBinaryView, section: *mut BNSection)>, pub componentNameUpdated: Option<unsafe extern "C" fn(ctxt: *mut c_void, view: *mut BNBinaryView, previousName: *mut c_char, component: *mut BNComponent)>, pub componentAdded: Option<unsafe extern "C" fn(ctxt: *mut c_void, view: *mut BNBinaryView, component: *mut BNComponent)>, pub componentMoved: Option<unsafe extern "C" fn(ctxt: *mut c_void, view: *mut BNBinaryView, formerParent: *mut BNComponent, newParent: *mut BNComponent, component: *mut BNComponent)>, pub componentRemoved: Option<unsafe extern "C" fn(ctxt: *mut c_void, view: *mut BNBinaryView, formerParent: *mut BNComponent, component: *mut BNComponent)>, pub componentFunctionAdded: Option<unsafe extern "C" fn(ctxt: *mut c_void, view: *mut BNBinaryView, component: *mut BNComponent, function: *mut BNFunction)>, pub componentFunctionRemoved: Option<unsafe extern "C" fn(ctxt: *mut c_void, view: *mut BNBinaryView, component: *mut BNComponent, function: *mut BNFunction)>, pub componentDataVariableAdded: Option<unsafe extern "C" fn(ctxt: *mut c_void, view: *mut BNBinaryView, component: *mut BNComponent, var: *mut BNDataVariable)>, pub componentDataVariableRemoved: Option<unsafe extern "C" fn(ctxt: *mut c_void, view: *mut BNBinaryView, component: *mut BNComponent, var: *mut BNDataVariable)>, pub externalLibraryAdded: Option<unsafe extern "C" fn(ctxt: *mut c_void, data: *mut BNBinaryView, library: *mut BNExternalLibrary)>, pub externalLibraryUpdated: Option<unsafe extern "C" fn(ctxt: *mut c_void, data: *mut BNBinaryView, library: *mut BNExternalLibrary)>, pub externalLibraryRemoved: Option<unsafe extern "C" fn(ctxt: *mut c_void, data: *mut BNBinaryView, library: *mut BNExternalLibrary)>, pub externalLocationAdded: Option<unsafe extern "C" fn(ctxt: *mut c_void, data: *mut BNBinaryView, location: *mut BNExternalLocation)>, pub externalLocationUpdated: Option<unsafe extern "C" fn(ctxt: *mut c_void, data: *mut BNBinaryView, location: *mut BNExternalLocation)>, pub externalLocationRemoved: Option<unsafe extern "C" fn(ctxt: *mut c_void, data: *mut BNBinaryView, location: *mut BNExternalLocation)>, pub typeArchiveAttached: Option<unsafe extern "C" fn(ctxt: *mut c_void, view: *mut BNBinaryView, id: *const c_char, path: *const c_char)>, pub typeArchiveDetached: Option<unsafe extern "C" fn(ctxt: *mut c_void, view: *mut BNBinaryView, id: *const c_char, path: *const c_char)>, pub typeArchiveConnected: Option<unsafe extern "C" fn(ctxt: *mut c_void, view: *mut BNBinaryView, archive: *mut BNTypeArchive)>, pub typeArchiveDisconnected: Option<unsafe extern "C" fn(ctxt: *mut c_void, view: *mut BNBinaryView, archive: *mut BNTypeArchive)>, pub undoEntryAdded: Option<unsafe extern "C" fn(ctxt: *mut c_void, view: *mut BNBinaryView, entry: *mut BNUndoEntry)>, pub undoEntryTaken: Option<unsafe extern "C" fn(ctxt: *mut c_void, view: *mut BNBinaryView, entry: *mut BNUndoEntry)>, pub redoEntryTaken: Option<unsafe extern "C" fn(ctxt: *mut c_void, view: *mut BNBinaryView, entry: *mut BNUndoEntry)>, pub rebased: Option<unsafe extern "C" fn(ctxt: *mut c_void, oldView: *mut BNBinaryView, newView: *mut BNBinaryView)>,
}

Fields§

§context: *mut c_void§notificationBarrier: Option<unsafe extern "C" fn(ctxt: *mut c_void, view: *mut BNBinaryView) -> u64>§dataWritten: Option<unsafe extern "C" fn(ctxt: *mut c_void, view: *mut BNBinaryView, offset: u64, len: usize)>§dataInserted: Option<unsafe extern "C" fn(ctxt: *mut c_void, view: *mut BNBinaryView, offset: u64, len: usize)>§dataRemoved: Option<unsafe extern "C" fn(ctxt: *mut c_void, view: *mut BNBinaryView, offset: u64, len: u64)>§functionAdded: Option<unsafe extern "C" fn(ctxt: *mut c_void, view: *mut BNBinaryView, func: *mut BNFunction)>§functionRemoved: Option<unsafe extern "C" fn(ctxt: *mut c_void, view: *mut BNBinaryView, func: *mut BNFunction)>§functionUpdated: Option<unsafe extern "C" fn(ctxt: *mut c_void, view: *mut BNBinaryView, func: *mut BNFunction)>§functionUpdateRequested: Option<unsafe extern "C" fn(ctxt: *mut c_void, view: *mut BNBinaryView, func: *mut BNFunction)>§dataVariableAdded: Option<unsafe extern "C" fn(ctxt: *mut c_void, view: *mut BNBinaryView, var: *mut BNDataVariable)>§dataVariableRemoved: Option<unsafe extern "C" fn(ctxt: *mut c_void, view: *mut BNBinaryView, var: *mut BNDataVariable)>§dataVariableUpdated: Option<unsafe extern "C" fn(ctxt: *mut c_void, view: *mut BNBinaryView, var: *mut BNDataVariable)>§dataMetadataUpdated: Option<unsafe extern "C" fn(ctxt: *mut c_void, view: *mut BNBinaryView, offset: u64)>§tagTypeUpdated: Option<unsafe extern "C" fn(ctxt: *mut c_void, view: *mut BNBinaryView, tagType: *mut BNTagType)>§tagAdded: Option<unsafe extern "C" fn(ctxt: *mut c_void, view: *mut BNBinaryView, tagRef: *mut BNTagReference)>§tagRemoved: Option<unsafe extern "C" fn(ctxt: *mut c_void, view: *mut BNBinaryView, tagRef: *mut BNTagReference)>§tagUpdated: Option<unsafe extern "C" fn(ctxt: *mut c_void, view: *mut BNBinaryView, tagRef: *mut BNTagReference)>§symbolAdded: Option<unsafe extern "C" fn(ctxt: *mut c_void, view: *mut BNBinaryView, sym: *mut BNSymbol)>§symbolRemoved: Option<unsafe extern "C" fn(ctxt: *mut c_void, view: *mut BNBinaryView, sym: *mut BNSymbol)>§symbolUpdated: Option<unsafe extern "C" fn(ctxt: *mut c_void, view: *mut BNBinaryView, sym: *mut BNSymbol)>§stringFound: Option<unsafe extern "C" fn(ctxt: *mut c_void, view: *mut BNBinaryView, type_: BNStringType, offset: u64, len: usize)>§stringRemoved: Option<unsafe extern "C" fn(ctxt: *mut c_void, view: *mut BNBinaryView, type_: BNStringType, offset: u64, len: usize)>§typeDefined: Option<unsafe extern "C" fn(ctxt: *mut c_void, view: *mut BNBinaryView, name: *mut BNQualifiedName, type_: *mut BNType)>§typeUndefined: Option<unsafe extern "C" fn(ctxt: *mut c_void, view: *mut BNBinaryView, name: *mut BNQualifiedName, type_: *mut BNType)>§typeReferenceChanged: Option<unsafe extern "C" fn(ctxt: *mut c_void, view: *mut BNBinaryView, name: *mut BNQualifiedName, type_: *mut BNType)>§typeFieldReferenceChanged: Option<unsafe extern "C" fn(ctxt: *mut c_void, view: *mut BNBinaryView, name: *mut BNQualifiedName, offset: u64)>§segmentAdded: Option<unsafe extern "C" fn(ctxt: *mut c_void, view: *mut BNBinaryView, segment: *mut BNSegment)>§segmentRemoved: Option<unsafe extern "C" fn(ctxt: *mut c_void, view: *mut BNBinaryView, segment: *mut BNSegment)>§segmentUpdated: Option<unsafe extern "C" fn(ctxt: *mut c_void, view: *mut BNBinaryView, segment: *mut BNSegment)>§sectionAdded: Option<unsafe extern "C" fn(ctxt: *mut c_void, view: *mut BNBinaryView, section: *mut BNSection)>§sectionRemoved: Option<unsafe extern "C" fn(ctxt: *mut c_void, view: *mut BNBinaryView, section: *mut BNSection)>§sectionUpdated: Option<unsafe extern "C" fn(ctxt: *mut c_void, view: *mut BNBinaryView, section: *mut BNSection)>§componentNameUpdated: Option<unsafe extern "C" fn(ctxt: *mut c_void, view: *mut BNBinaryView, previousName: *mut c_char, component: *mut BNComponent)>§componentAdded: Option<unsafe extern "C" fn(ctxt: *mut c_void, view: *mut BNBinaryView, component: *mut BNComponent)>§componentMoved: Option<unsafe extern "C" fn(ctxt: *mut c_void, view: *mut BNBinaryView, formerParent: *mut BNComponent, newParent: *mut BNComponent, component: *mut BNComponent)>§componentRemoved: Option<unsafe extern "C" fn(ctxt: *mut c_void, view: *mut BNBinaryView, formerParent: *mut BNComponent, component: *mut BNComponent)>§componentFunctionAdded: Option<unsafe extern "C" fn(ctxt: *mut c_void, view: *mut BNBinaryView, component: *mut BNComponent, function: *mut BNFunction)>§componentFunctionRemoved: Option<unsafe extern "C" fn(ctxt: *mut c_void, view: *mut BNBinaryView, component: *mut BNComponent, function: *mut BNFunction)>§componentDataVariableAdded: Option<unsafe extern "C" fn(ctxt: *mut c_void, view: *mut BNBinaryView, component: *mut BNComponent, var: *mut BNDataVariable)>§componentDataVariableRemoved: Option<unsafe extern "C" fn(ctxt: *mut c_void, view: *mut BNBinaryView, component: *mut BNComponent, var: *mut BNDataVariable)>§externalLibraryAdded: Option<unsafe extern "C" fn(ctxt: *mut c_void, data: *mut BNBinaryView, library: *mut BNExternalLibrary)>§externalLibraryUpdated: Option<unsafe extern "C" fn(ctxt: *mut c_void, data: *mut BNBinaryView, library: *mut BNExternalLibrary)>§externalLibraryRemoved: Option<unsafe extern "C" fn(ctxt: *mut c_void, data: *mut BNBinaryView, library: *mut BNExternalLibrary)>§externalLocationAdded: Option<unsafe extern "C" fn(ctxt: *mut c_void, data: *mut BNBinaryView, location: *mut BNExternalLocation)>§externalLocationUpdated: Option<unsafe extern "C" fn(ctxt: *mut c_void, data: *mut BNBinaryView, location: *mut BNExternalLocation)>§externalLocationRemoved: Option<unsafe extern "C" fn(ctxt: *mut c_void, data: *mut BNBinaryView, location: *mut BNExternalLocation)>§typeArchiveAttached: Option<unsafe extern "C" fn(ctxt: *mut c_void, view: *mut BNBinaryView, id: *const c_char, path: *const c_char)>§typeArchiveDetached: Option<unsafe extern "C" fn(ctxt: *mut c_void, view: *mut BNBinaryView, id: *const c_char, path: *const c_char)>§typeArchiveConnected: Option<unsafe extern "C" fn(ctxt: *mut c_void, view: *mut BNBinaryView, archive: *mut BNTypeArchive)>§typeArchiveDisconnected: Option<unsafe extern "C" fn(ctxt: *mut c_void, view: *mut BNBinaryView, archive: *mut BNTypeArchive)>§undoEntryAdded: Option<unsafe extern "C" fn(ctxt: *mut c_void, view: *mut BNBinaryView, entry: *mut BNUndoEntry)>§undoEntryTaken: Option<unsafe extern "C" fn(ctxt: *mut c_void, view: *mut BNBinaryView, entry: *mut BNUndoEntry)>§redoEntryTaken: Option<unsafe extern "C" fn(ctxt: *mut c_void, view: *mut BNBinaryView, entry: *mut BNUndoEntry)>§rebased: Option<unsafe extern "C" fn(ctxt: *mut c_void, oldView: *mut BNBinaryView, newView: *mut BNBinaryView)>

Trait Implementations§

source§

impl Clone for BNBinaryDataNotification

source§

fn clone(&self) -> BNBinaryDataNotification

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for BNBinaryDataNotification

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for BNBinaryDataNotification

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl Copy for BNBinaryDataNotification

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

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

fn clone_into(&self, target: &mut T)

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

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.