Binary Ninja API C++: NotificationsWorker Class Reference
Additional Inherited Members | |
| Public Types inherited from BinaryNinja::BinaryDataNotification | |
| enum | NotificationType : uint64_t { NotificationBarrier = 1ULL << 0 , DataWritten = 1ULL << 1 , DataInserted = 1ULL << 2 , DataRemoved = 1ULL << 3 , FunctionAdded = 1ULL << 4 , FunctionRemoved = 1ULL << 5 , FunctionUpdated = 1ULL << 6 , FunctionUpdateRequested = 1ULL << 7 , DataVariableAdded = 1ULL << 8 , DataVariableRemoved = 1ULL << 9 , DataVariableUpdated = 1ULL << 10 , DataMetadataUpdated = 1ULL << 11 , TagTypeUpdated = 1ULL << 12 , TagAdded = 1ULL << 13 , TagRemoved = 1ULL << 14 , TagUpdated = 1ULL << 15 , SymbolAdded = 1ULL << 16 , SymbolRemoved = 1ULL << 17 , SymbolUpdated = 1ULL << 18 , StringFound = 1ULL << 19 , StringRemoved = 1ULL << 20 , TypeDefined = 1ULL << 21 , TypeUndefined = 1ULL << 22 , TypeReferenceChanged = 1ULL << 23 , TypeFieldReferenceChanged = 1ULL << 24 , SegmentAdded = 1ULL << 25 , SegmentRemoved = 1ULL << 26 , SegmentUpdated = 1ULL << 27 , SectionAdded = 1ULL << 28 , SectionRemoved = 1ULL << 29 , SectionUpdated = 1ULL << 30 , ComponentNameUpdated = 1ULL << 31 , ComponentAdded = 1ULL << 32 , ComponentRemoved = 1ULL << 33 , ComponentMoved = 1ULL << 34 , ComponentFunctionAdded = 1ULL << 35 , ComponentFunctionRemoved = 1ULL << 36 , ComponentDataVariableAdded = 1ULL << 37 , ComponentDataVariableRemoved = 1ULL << 38 , ExternalLibraryAdded = 1ULL << 39 , ExternalLibraryRemoved = 1ULL << 40 , ExternalLibraryUpdated = 1ULL << 41 , ExternalLocationAdded = 1ULL << 42 , ExternalLocationRemoved = 1ULL << 43 , ExternalLocationUpdated = 1ULL << 44 , TypeArchiveAttached = 1ULL << 45 , TypeArchiveDetached = 1ULL << 46 , TypeArchiveConnected = 1ULL << 47 , TypeArchiveDisconnected = 1ULL << 48 , UndoEntryAdded = 1ULL << 49 , UndoEntryTaken = 1ULL << 50 , RedoEntryTaken = 1ULL << 51 , Rebased = 1ULL << 52 , DerivedStringFound = 1ULL << 53 , DerivedStringRemoved = 1ULL << 54 , BinaryDataUpdates = DataWritten | DataInserted | DataRemoved , FunctionLifetime = FunctionAdded | FunctionRemoved , FunctionUpdates = FunctionLifetime | FunctionUpdated , DataVariableLifetime = DataVariableAdded | DataVariableRemoved , DataVariableUpdates = DataVariableLifetime | DataVariableUpdated , TagLifetime = TagAdded | TagRemoved , TagUpdates = TagLifetime | TagUpdated , SymbolLifetime = SymbolAdded | SymbolRemoved , SymbolUpdates = SymbolLifetime | SymbolUpdated , StringUpdates = StringFound | StringRemoved | DerivedStringFound | DerivedStringRemoved , TypeLifetime = TypeDefined | TypeUndefined , TypeUpdates = TypeLifetime | TypeReferenceChanged | TypeFieldReferenceChanged , SegmentLifetime = SegmentAdded | SegmentRemoved , SegmentUpdates = SegmentLifetime | SegmentUpdated , SectionLifetime = SectionAdded | SectionRemoved , SectionUpdates = SectionLifetime | SectionUpdated , ComponentUpdates = ComponentNameUpdated | ComponentAdded | ComponentRemoved | ComponentMoved | ComponentFunctionAdded | ComponentFunctionRemoved | ComponentDataVariableAdded | ComponentDataVariableRemoved , ExternalLibraryLifetime = ExternalLibraryAdded | ExternalLibraryRemoved , ExternalLibraryUpdates = ExternalLibraryLifetime | ExternalLibraryUpdated , ExternalLocationLifetime = ExternalLocationAdded | ExternalLocationRemoved , ExternalLocationUpdates = ExternalLocationLifetime | ExternalLocationUpdated , TypeArchiveUpdates = TypeArchiveAttached | TypeArchiveDetached | TypeArchiveConnected | TypeArchiveDisconnected , UndoUpdates = UndoEntryAdded | UndoEntryTaken | RedoEntryTaken } |
| using | NotificationTypes = uint64_t |
|
delete |
◆ NotificationsWorker() [2/2]
◆ setAnalysisCachingEnabled()
|
inline |
◆ setNotificationEventQueuing()
|
inline |
◆ setUpdateHandler()
|
inline |
◆ asyncRefresh()
| void NotificationsWorker::asyncRefresh | ( | ) |
◆ cancel()
| void NotificationsWorker::cancel | ( | ) |
◆ enqueue()
template<typename... Args>
|
inline |
◆ OnNotificationBarrier()
◆ OnBinaryDataWritten()
|
overridevirtual |
◆ OnBinaryDataInserted()
|
overridevirtual |
◆ OnBinaryDataRemoved()
|
overridevirtual |
◆ OnAnalysisFunctionAdded()
◆ OnAnalysisFunctionRemoved()
◆ OnAnalysisFunctionUpdated()
◆ OnAnalysisFunctionUpdateRequested()
◆ OnDataVariableAdded()
◆ OnDataVariableRemoved()
◆ OnDataVariableUpdated()
◆ OnDataMetadataUpdated()
◆ OnTagTypeUpdated()
◆ OnTagAdded()
◆ OnTagRemoved()
◆ OnTagUpdated()
◆ OnSymbolAdded()
◆ OnSymbolRemoved()
◆ OnSymbolUpdated()
◆ OnStringFound()
◆ OnStringRemoved()
◆ OnTypeDefined()
◆ OnTypeUndefined()
◆ OnTypeReferenceChanged()
◆ OnTypeFieldReferenceChanged()
◆ OnSegmentAdded()
◆ OnSegmentRemoved()
◆ OnSegmentUpdated()
◆ OnSectionAdded()
◆ OnSectionRemoved()
◆ OnSectionUpdated()
◆ OnComponentAdded()
This notification is posted after a Component is added to the tree.
- Parameters
-
data BinaryView the Component was added to component Component which was added.
Reimplemented from BinaryNinja::BinaryDataNotification.
◆ OnComponentRemoved()
This notification is posted after a Component is removed from the tree.
- Parameters
-
data BinaryView the Component was removed from formerParent Former parent of the Component component The removed and now "dead" Component object.
This "dead" Component can no longer be moved to other components or have components added to it. It should not be used after this point for storing any objects, and will be destroyed once no more references are held to it.
Reimplemented from BinaryNinja::BinaryDataNotification.
◆ OnComponentNameUpdated()
This notification is posted after the display name for a component is updated.
- Parameters
-
data BinaryView the Component is contained in previousName Previous name of the component component The component which was modified.
Reimplemented from BinaryNinja::BinaryDataNotification.
◆ OnComponentMoved()
This notification is posted whenever a component is moved from one component to another.
- Parameters
-
data BinaryView the Component was removed from formerParent Former parent of the Component newParent New parent which the Component was moved to component The component that was moved.
Reimplemented from BinaryNinja::BinaryDataNotification.
◆ OnComponentFunctionAdded()
This notification is posted whenever a Function is added to a Component.
- Parameters
-
data BinaryView containing the Component and Function component Component the Function was added to function The Function which was added
Reimplemented from BinaryNinja::BinaryDataNotification.
◆ OnComponentFunctionRemoved()
This notification is posted whenever a Function is removed from a Component.
- Parameters
-
data BinaryView containing the Component and Function component Component the Function was removed from function The Function which was removed
Reimplemented from BinaryNinja::BinaryDataNotification.
◆ OnComponentDataVariableAdded()
This notification is posted whenever a DataVariable is added to a Component.
- Parameters
-
data BinaryView containing the Component and DataVariable component Component the DataVariable was added to var The DataVariable which was added
Reimplemented from BinaryNinja::BinaryDataNotification.
◆ OnComponentDataVariableRemoved()
This notification is posted whenever a DataVariable is removed from a Component.
- Parameters
-
data BinaryView containing the Component and DataVariable component Component the DataVariable was removed from var The DataVariable which was removed
Reimplemented from BinaryNinja::BinaryDataNotification.
◆ OnExternalLibraryAdded()
◆ OnExternalLibraryRemoved()
◆ OnExternalLibraryUpdated()
◆ OnExternalLocationAdded()
◆ OnExternalLocationRemoved()
◆ OnExternalLocationUpdated()
◆ OnTypeArchiveAttached()
|
overridevirtual |
This notification is posted whenever a Type Archive is attached to a Binary View.
- Parameters
-
data BinaryView target id Id of the attached archive path Path on disk of the attached archive
Reimplemented from BinaryNinja::BinaryDataNotification.
◆ OnTypeArchiveDetached()
|
overridevirtual |
This notification is posted whenever a Type Archive is detached to a Binary View.
- Parameters
-
data BinaryView target id Id of the attached archive path Path on disk of the attached archive
Reimplemented from BinaryNinja::BinaryDataNotification.
◆ OnTypeArchiveConnected()
This notification is posted whenever a previously disconnected Type Archive attached to the Binary View is connected.
- Parameters
-
data BinaryView the archive is attached to archive Attached archive
Reimplemented from BinaryNinja::BinaryDataNotification.
◆ OnTypeArchiveDisconnected()
This notification is posted whenever a previously connected Type Archive attached to the Binary View is disconnected.
- Parameters
-
data BinaryView the archive is attached to archive Previously attached archive
Reimplemented from BinaryNinja::BinaryDataNotification.
◆ OnUndoEntryAdded()
This notification is posted whenever an entry is added to undo history.
- Parameters
-
data BinaryView the action was taken on entry UndoEntry
Reimplemented from BinaryNinja::BinaryDataNotification.
◆ OnUndoEntryTaken()
This notification is posted whenever an action is undone.
- Parameters
-
data BinaryView the action was taken on entry UndoEntry that was undone
Reimplemented from BinaryNinja::BinaryDataNotification.
◆ OnRedoEntryTaken()
This notification is posted whenever an action is redone.
- Parameters
-
data BinaryView the action was taken on entry UndoEntry that was redone
Reimplemented from BinaryNinja::BinaryDataNotification.