Public Slots |
| void | disassembly () |
| void | createFunc () |
| void | createFuncWithPlatform (PlatformRef platform, bool autoSelect=false) |
Public Member Functions |
| | HexEditor (BinaryViewRef data, ViewFrame *view, uint64_t startAddr=0) |
| virtual | ~HexEditor () |
| virtual void | notifyRefresh () override |
| virtual bool | canAssemble () override |
| virtual bool | canCompile () override |
| virtual BinaryViewRef | getData () override |
| virtual uint64_t | getCurrentOffset () override |
| virtual BNAddressRange | getSelectionOffsets () override |
| virtual bool | navigate (uint64_t pos) override |
| virtual void | OnBinaryDataWritten (BinaryNinja::BinaryView *data, uint64_t offset, size_t len) override |
| virtual void | OnBinaryDataInserted (BinaryNinja::BinaryView *data, uint64_t offset, size_t len) override |
| virtual void | OnBinaryDataRemoved (BinaryNinja::BinaryView *data, uint64_t offset, uint64_t len) override |
| virtual void | writeData (const BinaryNinja::DataBuffer &data, uint64_t addr) override |
| virtual void | selectAll () |
| virtual void | selectNone () |
| virtual void | setSelectionOffsets (BNAddressRange range) override |
| virtual void | updateFonts () override |
| virtual StatusBarWidget * | getStatusBarWidget () override |
| virtual QWidget * | getHeaderOptionsWidget () override |
| virtual void | followPointer () |
| void | setHighlightMode (HexEditorHighlightMode mode) |
| void | setColorMode (HexEditorColorMode mode) |
| void | setContrast (HexEditorHighlightContrast mode) |
| virtual void | sendWheelEvent (QWheelEvent *event) override |
| QFont | getFont () override |
| | View () |
| virtual | ~View () |
| void | enableRefreshTimer (QWidget *owner, int interval) |
| void | setRefreshQuiesce (bool enable) |
| bool | isQuiesced () const |
| virtual void | notifyQuiesce (bool) |
| void | setupView (QWidget *widget) |
| virtual SelectionInfoForXref | getSelectionForXref () |
| virtual bool | navigateToFunction (FunctionRef func, uint64_t offset) |
| virtual bool | goToReference (FunctionRef func, uint64_t source, uint64_t target) |
| virtual bool | navigateToViewLocation (const ViewLocation &viewLocation, bool center=false) |
| bool | navigateOnOtherPane (uint64_t offset) |
| bool | navigateToFunctionOnOtherPane (FunctionRef func, uint64_t offset) |
| bool | isBinaryDataNavigable () |
| void | setBinaryDataNavigable (bool navigable) |
| virtual bool | closeRequest () |
| virtual void | closing () |
| virtual void | updateTheme () |
| virtual void | undo () |
| virtual void | redo () |
| virtual bool | canUndo () |
| virtual bool | canRedo () |
| virtual void | cut () |
| virtual void | copy (TransformRef xform=nullptr) |
| virtual void | copyAddress () |
| virtual void | copyLocationAsURL () |
| virtual void | paste (TransformRef xform=nullptr) |
| virtual bool | canCut () |
| virtual bool | canCopy () |
| virtual bool | canCopyWithTransform () |
| virtual bool | canCopyAddress () |
| virtual bool | canCopyLocationAsURL () |
| virtual bool | canPaste () |
| virtual bool | canPasteWithTransform () |
| virtual void | transform (TransformRef xform, bool encode) |
| virtual bool | canTransform () |
| virtual bool | canDisplayAs (const UIActionContext &context, const BNIntegerDisplayType) |
| virtual BNIntegerDisplayType | getCurrentDisplayAs (const UIActionContext &context) |
| virtual void | displayAs (const UIActionContext &context, BNIntegerDisplayType type) |
| virtual BinaryNinja::Ref< HistoryEntry > | getHistoryEntry () |
| virtual void | navigateToHistoryEntry (BinaryNinja::Ref< HistoryEntry > entry) |
| virtual ViewPaneHeaderSubtypeWidget * | getHeaderSubtypeWidget () |
| virtual FunctionRef | getCurrentFunction () |
| virtual BasicBlockRef | getCurrentBasicBlock () |
| virtual ArchitectureRef | getCurrentArchitecture () |
| virtual LowLevelILFunctionRef | getCurrentLowLevelILFunction () |
| virtual MediumLevelILFunctionRef | getCurrentMediumLevelILFunction () |
| virtual HighLevelILFunctionRef | getCurrentHighLevelILFunction () |
| virtual BinaryNinja::FunctionViewType | getILViewType () |
| virtual void | setILViewType (const BinaryNinja::FunctionViewType &ilViewType) |
| virtual size_t | getCurrentILInstructionIndex () |
| virtual size_t | getSelectionStartILInstructionIndex () |
| virtual BNILIndexRange | getILIndexRange () |
| virtual DisassemblySettingsRef | getDisassemblySettings () |
| virtual void | setDisassemblySettings (DisassemblySettingsRef settings) |
| virtual HighlightTokenState | getHighlightTokenState () |
| virtual UIActionContext | actionContext () |
| Menu & | contextMenu () |
| UIActionHandler * | actionHandler () |
| QWidget * | widget () |
| QString | viewType () |
| void | updateCrossReferenceSelection (ViewFrame *frame=nullptr) |
| void | notifyILViewTypeChanged (ViewFrame *frame=nullptr) |
| void | forceSyncFromView (ViewFrame *frame=nullptr) |
| virtual void | refreshContents () |
| virtual void | clearRelatedHighlights () |
| virtual void | setRelatedIndexHighlights (FunctionRef func, const std::set< size_t > &related) |
| virtual void | setRelatedInstructionHighlights (FunctionRef func, const std::set< uint64_t > &related) |
| void | notifyContextMenuCreated () |
| virtual | ~PreviewScrollHandler () |
| | BinaryDataNotification () |
| | BinaryDataNotification (NotificationTypes notifications) |
| virtual | ~BinaryDataNotification () |
| BNBinaryDataNotification * | GetCallbacks () |
| virtual uint64_t | OnNotificationBarrier (BinaryView *view) |
| virtual void | OnAnalysisFunctionAdded (BinaryView *view, Function *func) |
| virtual void | OnAnalysisFunctionRemoved (BinaryView *view, Function *func) |
| virtual void | OnAnalysisFunctionUpdated (BinaryView *view, Function *func) |
| virtual void | OnAnalysisFunctionUpdateRequested (BinaryView *view, Function *func) |
| virtual void | OnDataVariableAdded (BinaryView *view, const DataVariable &var) |
| virtual void | OnDataVariableRemoved (BinaryView *view, const DataVariable &var) |
| virtual void | OnDataVariableUpdated (BinaryView *view, const DataVariable &var) |
| virtual void | OnDataMetadataUpdated (BinaryView *view, uint64_t offset) |
| virtual void | OnTagTypeUpdated (BinaryView *view, Ref< TagType > tagTypeRef) |
| virtual void | OnTagAdded (BinaryView *view, const TagReference &tagRef) |
| virtual void | OnTagRemoved (BinaryView *view, const TagReference &tagRef) |
| virtual void | OnTagUpdated (BinaryView *view, const TagReference &tagRef) |
| virtual void | OnSymbolAdded (BinaryView *view, Symbol *sym) |
| virtual void | OnSymbolRemoved (BinaryView *view, Symbol *sym) |
| virtual void | OnSymbolUpdated (BinaryView *view, Symbol *sym) |
| virtual void | OnStringFound (BinaryView *data, BNStringType type, uint64_t offset, size_t len) |
| virtual void | OnStringRemoved (BinaryView *data, BNStringType type, uint64_t offset, size_t len) |
| virtual void | OnDerivedStringFound (BinaryView *data, const DerivedString &str) |
| virtual void | OnDerivedStringRemoved (BinaryView *data, const DerivedString &str) |
| virtual void | OnTypeDefined (BinaryView *data, const QualifiedName &name, Type *type) |
| virtual void | OnTypeUndefined (BinaryView *data, const QualifiedName &name, Type *type) |
| virtual void | OnTypeReferenceChanged (BinaryView *data, const QualifiedName &name, Type *type) |
| virtual void | OnTypeFieldReferenceChanged (BinaryView *data, const QualifiedName &name, uint64_t offset) |
| virtual void | OnSegmentAdded (BinaryView *data, Segment *segment) |
| virtual void | OnSegmentRemoved (BinaryView *data, Segment *segment) |
| virtual void | OnSegmentUpdated (BinaryView *data, Segment *segment) |
| virtual void | OnSectionAdded (BinaryView *data, Section *section) |
| virtual void | OnSectionRemoved (BinaryView *data, Section *section) |
| virtual void | OnSectionUpdated (BinaryView *data, Section *section) |
| virtual void | OnComponentNameUpdated (BinaryView *data, std::string &previousName, Component *component) |
| | This notification is posted after the display name for a component is updated.
|
| virtual void | OnComponentAdded (BinaryView *data, Component *component) |
| | This notification is posted after a Component is added to the tree.
|
| virtual void | OnComponentRemoved (BinaryView *data, Component *formerParent, Component *component) |
| | This notification is posted after a Component is removed from the tree.
|
| virtual void | OnComponentMoved (BinaryView *data, Component *formerParent, Component *newParent, Component *component) |
| | This notification is posted whenever a component is moved from one component to another.
|
| virtual void | OnComponentFunctionAdded (BinaryView *data, Component *component, Function *function) |
| | This notification is posted whenever a Function is added to a Component.
|
| virtual void | OnComponentFunctionRemoved (BinaryView *data, Component *component, Function *function) |
| | This notification is posted whenever a Function is removed from a Component.
|
| virtual void | OnComponentDataVariableAdded (BinaryView *data, Component *component, const DataVariable &var) |
| | This notification is posted whenever a DataVariable is added to a Component.
|
| virtual void | OnComponentDataVariableRemoved (BinaryView *data, Component *component, const DataVariable &var) |
| | This notification is posted whenever a DataVariable is removed from a Component.
|
| virtual void | OnExternalLibraryAdded (BinaryView *data, ExternalLibrary *library) |
| virtual void | OnExternalLibraryRemoved (BinaryView *data, ExternalLibrary *library) |
| virtual void | OnExternalLibraryUpdated (BinaryView *data, ExternalLibrary *library) |
| virtual void | OnExternalLocationAdded (BinaryView *data, ExternalLocation *location) |
| virtual void | OnExternalLocationRemoved (BinaryView *data, ExternalLocation *location) |
| virtual void | OnExternalLocationUpdated (BinaryView *data, ExternalLocation *location) |
| virtual void | OnTypeArchiveAttached (BinaryView *data, const std::string &id, const std::string &path) |
| | This notification is posted whenever a Type Archive is attached to a Binary View.
|
| virtual void | OnTypeArchiveDetached (BinaryView *data, const std::string &id, const std::string &path) |
| | This notification is posted whenever a Type Archive is detached to a Binary View.
|
| virtual void | OnTypeArchiveConnected (BinaryView *data, TypeArchive *archive) |
| | This notification is posted whenever a previously disconnected Type Archive attached to the Binary View is connected.
|
| virtual void | OnTypeArchiveDisconnected (BinaryView *data, TypeArchive *archive) |
| | This notification is posted whenever a previously connected Type Archive attached to the Binary View is disconnected.
|
| virtual void | OnUndoEntryAdded (BinaryView *data, UndoEntry *entry) |
| | This notification is posted whenever an entry is added to undo history.
|
| virtual void | OnUndoEntryTaken (BinaryView *data, UndoEntry *entry) |
| | This notification is posted whenever an action is undone.
|
| virtual void | OnRedoEntryTaken (BinaryView *data, UndoEntry *entry) |
| | This notification is posted whenever an action is redone.
|
| virtual void | OnRebased (BinaryView *oldView, BinaryView *newView) |
| | This notification is posted whenever a binary view is rebased.
|
Static Public Member Functions |
| static void | registerActions () |
| static View * | getViewFromWidget (QWidget *widget) |
| static void | registerActions () |
| static void | registerLateActions () |
Protected Member Functions |
| virtual void | resizeEvent (QResizeEvent *event) override |
| virtual void | paintEvent (QPaintEvent *event) override |
| virtual void | focusInEvent (QFocusEvent *event) override |
| virtual void | focusOutEvent (QFocusEvent *event) override |
| virtual void | keyPressEvent (QKeyEvent *event) override |
| virtual void | keyReleaseEvent (QKeyEvent *event) override |
| virtual void | mousePressEvent (QMouseEvent *event) override |
| virtual void | mouseMoveEvent (QMouseEvent *event) override |
| virtual bool | event (QEvent *event) override |
| virtual void | wheelEvent (QWheelEvent *event) override |
| bool | writeDataToClipboard (const BinaryNinja::DataBuffer &data, bool binary, TransformRef xform) |
| BinaryNinja::DataBuffer | readDataFromClipboard (TransformRef xform) |
|
| 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 |
| Menu | m_contextMenu |
| UIActionHandler | m_actionHandler |
| bool | m_binaryDataNavigable = false |
| QPointer< TransformParameterDialog > | m_transformParamDialog |
| bool | m_quiesceState = true |
| QTimer * | m_updateTimer = nullptr |