Classes | |
| class | XrefItem |
| class | XrefHeader |
| class | XrefFunctionHeader |
| class | XrefTypeHeader |
| class | XrefVariableHeader |
| class | XrefCodeReferences |
| class | XrefDataReferences |
| class | XrefTypeReferences |
| class | XrefVariableReferences |
| class | XrefRoot |
| struct | CrossReferenceFunctionList |
| class | CrossReferenceTreeModel |
| class | CrossReferenceTableModel |
| class | CrossReferenceItemDelegate |
| class | CrossReferenceFilterProxyModel |
| class | CrossReferenceContainer |
| class | CrossReferenceTree |
| class | CrossReferenceTable |
| class | CrossReferenceWidget |
| class | CrossReferenceSidebarWidgetType |
| class | PinnedCrossReferenceSidebarWidgetType |
| class XrefItem |
| enum XrefItem::XrefType |
|
explicit |
|
explicit |
|
explicit |
|
explicit |
|
explicit |
|
explicit |
| XrefItem::XrefItem | ( | const XrefItem & | ref | ) |
|
virtual |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| void XrefItem::setParent | ( | XrefHeader * | parent | ) | const |
| void XrefItem::setCachedTokens | ( | const std::vector< BinaryNinja::InstructionTextToken > & | cachedTokens, |
| uint64_t | version ) const |
|
inline |
|
inline |
|
inline |
|
inline |
| void XrefItem::requestAdvancedAnalysis | ( | ) | const |
|
inline |
|
inlinevirtual |
|
inlinevirtual |
Reimplemented in XrefCodeReferences, XrefDataReferences, XrefFunctionHeader, XrefHeader, XrefRoot, XrefTypeHeader, XrefTypeReferences, XrefVariableHeader, and XrefVariableReferences.
|
inlinevirtual |
Reimplemented in XrefCodeReferences, XrefDataReferences, XrefFunctionHeader, XrefHeader, XrefRoot, XrefTypeHeader, XrefTypeReferences, XrefVariableHeader, and XrefVariableReferences.
| int XrefItem::row | ( | ) | const |
| bool XrefItem::operator== | ( | const XrefItem & | other | ) | const |
| bool XrefItem::operator!= | ( | const XrefItem & | other | ) | const |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
mutableprotected |
|
mutableprotected |
|
mutableprotected |
|
mutableprotected |
|
mutableprotected |
| class XrefHeader |
Additional Inherited Members | |
| Public Types inherited from XrefItem | |
| enum | XrefDirection { Forward , Backward } |
| enum | XrefType { DataXrefType , CodeXrefType , VariableXrefType , TypeXrefType } |
| enum | XrefQueryKind { AddressXrefQuery , TypeXrefQuery , TypeFieldXrefQuery , LocalVarXrefQuery } |
| XrefHeader::XrefHeader | ( | ) |
| XrefHeader::XrefHeader | ( | const QString & | name, |
| XrefItem::XrefType | type, | ||
| XrefHeader * | parent, | ||
| FunctionRef | func ) |
|
virtual |
|
inlinevirtual |
|
inline |
|
pure virtual |
Implemented in XrefCodeReferences, XrefDataReferences, XrefFunctionHeader, XrefRoot, XrefTypeHeader, XrefTypeReferences, XrefVariableHeader, and XrefVariableReferences.
|
pure virtual |
Implemented in XrefCodeReferences, XrefDataReferences, XrefFunctionHeader, XrefRoot, XrefTypeHeader, XrefTypeReferences, XrefVariableHeader, and XrefVariableReferences.
|
pure virtual |
Reimplemented from XrefItem.
Implemented in XrefCodeReferences, XrefDataReferences, XrefFunctionHeader, XrefRoot, XrefTypeHeader, XrefTypeReferences, XrefVariableHeader, and XrefVariableReferences.
|
pure virtual |
Reimplemented from XrefItem.
Implemented in XrefCodeReferences, XrefDataReferences, XrefFunctionHeader, XrefRoot, XrefTypeHeader, XrefTypeReferences, XrefVariableHeader, and XrefVariableReferences.
|
protected |
| class XrefFunctionHeader |
Additional Inherited Members | |
| Public Types inherited from XrefItem | |
| enum | XrefDirection { Forward , Backward } |
| enum | XrefType { DataXrefType , CodeXrefType , VariableXrefType , TypeXrefType } |
| enum | XrefQueryKind { AddressXrefQuery , TypeXrefQuery , TypeFieldXrefQuery , LocalVarXrefQuery } |
| Protected Attributes inherited from XrefHeader | |
| QString | m_name |
| Protected Attributes inherited from XrefItem | |
| FunctionRef | m_func |
| ArchitectureRef | m_arch |
| uint64_t | m_addr |
| BinaryNinja::QualifiedName | m_typeName |
| uint64_t | m_offset |
| BinaryNinja::Variable | m_var |
| BNFunctionGraphType | m_ilType |
| size_t | m_instrId |
| XrefType | m_type |
| XrefQueryKind | m_queryKind |
| XrefDirection | m_direction |
| std::vector< BinaryNinja::InstructionTextToken > | m_cachedTokens |
| uint64_t | m_cachedTokenVersion = 0 |
| std::optional< BinaryNinja::AdvancedFunctionAnalysisDataRequestor > | m_advancedAnalysisRequest |
| XrefHeader * | m_parentItem |
| int | m_size |
| XrefFunctionHeader::XrefFunctionHeader | ( | ) |
| XrefFunctionHeader::XrefFunctionHeader | ( | FunctionRef | func, |
| XrefHeader * | parent, | ||
| XrefItem * | child ) |
| XrefFunctionHeader::XrefFunctionHeader | ( | const XrefFunctionHeader & | header | ) |
|
inlineoverridevirtual |
Implements XrefHeader.
|
inlinevirtual |
|
overridevirtual |
Implements XrefHeader.
|
overridevirtual |
Implements XrefHeader.
|
overridevirtual |
Implements XrefHeader.
| class XrefTypeHeader |
Additional Inherited Members | |
| Public Types inherited from XrefItem | |
| enum | XrefDirection { Forward , Backward } |
| enum | XrefType { DataXrefType , CodeXrefType , VariableXrefType , TypeXrefType } |
| enum | XrefQueryKind { AddressXrefQuery , TypeXrefQuery , TypeFieldXrefQuery , LocalVarXrefQuery } |
| Protected Attributes inherited from XrefHeader | |
| QString | m_name |
| Protected Attributes inherited from XrefItem | |
| FunctionRef | m_func |
| ArchitectureRef | m_arch |
| uint64_t | m_addr |
| BinaryNinja::QualifiedName | m_typeName |
| uint64_t | m_offset |
| BinaryNinja::Variable | m_var |
| BNFunctionGraphType | m_ilType |
| size_t | m_instrId |
| XrefType | m_type |
| XrefQueryKind | m_queryKind |
| XrefDirection | m_direction |
| std::vector< BinaryNinja::InstructionTextToken > | m_cachedTokens |
| uint64_t | m_cachedTokenVersion = 0 |
| std::optional< BinaryNinja::AdvancedFunctionAnalysisDataRequestor > | m_advancedAnalysisRequest |
| XrefHeader * | m_parentItem |
| int | m_size |
| XrefTypeHeader::XrefTypeHeader | ( | ) |
| XrefTypeHeader::XrefTypeHeader | ( | BinaryNinja::QualifiedName | name, |
| XrefHeader * | parent, | ||
| XrefItem * | child ) |
| XrefTypeHeader::XrefTypeHeader | ( | const XrefTypeHeader & | header | ) |
|
inlineoverridevirtual |
Implements XrefHeader.
|
overridevirtual |
Implements XrefHeader.
|
overridevirtual |
Implements XrefHeader.
|
overridevirtual |
Implements XrefHeader.
| class XrefVariableHeader |
Additional Inherited Members | |
| Public Types inherited from XrefItem | |
| enum | XrefDirection { Forward , Backward } |
| enum | XrefType { DataXrefType , CodeXrefType , VariableXrefType , TypeXrefType } |
| enum | XrefQueryKind { AddressXrefQuery , TypeXrefQuery , TypeFieldXrefQuery , LocalVarXrefQuery } |
| Protected Attributes inherited from XrefHeader | |
| QString | m_name |
| Protected Attributes inherited from XrefItem | |
| FunctionRef | m_func |
| ArchitectureRef | m_arch |
| uint64_t | m_addr |
| BinaryNinja::QualifiedName | m_typeName |
| uint64_t | m_offset |
| BinaryNinja::Variable | m_var |
| BNFunctionGraphType | m_ilType |
| size_t | m_instrId |
| XrefType | m_type |
| XrefQueryKind | m_queryKind |
| XrefDirection | m_direction |
| std::vector< BinaryNinja::InstructionTextToken > | m_cachedTokens |
| uint64_t | m_cachedTokenVersion = 0 |
| std::optional< BinaryNinja::AdvancedFunctionAnalysisDataRequestor > | m_advancedAnalysisRequest |
| XrefHeader * | m_parentItem |
| int | m_size |
| XrefVariableHeader::XrefVariableHeader | ( | ) |
| XrefVariableHeader::XrefVariableHeader | ( | XrefHeader * | parent, |
| XrefItem * | child ) |
| XrefVariableHeader::XrefVariableHeader | ( | const XrefVariableHeader & | header | ) |
|
inlineoverridevirtual |
Implements XrefHeader.
|
overridevirtual |
Implements XrefHeader.
|
overridevirtual |
Implements XrefHeader.
|
overridevirtual |
Implements XrefHeader.
| class XrefCodeReferences |
Additional Inherited Members | |
| Public Types inherited from XrefItem | |
| enum | XrefDirection { Forward , Backward } |
| enum | XrefType { DataXrefType , CodeXrefType , VariableXrefType , TypeXrefType } |
| enum | XrefQueryKind { AddressXrefQuery , TypeXrefQuery , TypeFieldXrefQuery , LocalVarXrefQuery } |
| Protected Attributes inherited from XrefHeader | |
| QString | m_name |
| Protected Attributes inherited from XrefItem | |
| FunctionRef | m_func |
| ArchitectureRef | m_arch |
| uint64_t | m_addr |
| BinaryNinja::QualifiedName | m_typeName |
| uint64_t | m_offset |
| BinaryNinja::Variable | m_var |
| BNFunctionGraphType | m_ilType |
| size_t | m_instrId |
| XrefType | m_type |
| XrefQueryKind | m_queryKind |
| XrefDirection | m_direction |
| std::vector< BinaryNinja::InstructionTextToken > | m_cachedTokens |
| uint64_t | m_cachedTokenVersion = 0 |
| std::optional< BinaryNinja::AdvancedFunctionAnalysisDataRequestor > | m_advancedAnalysisRequest |
| XrefHeader * | m_parentItem |
| int | m_size |
| XrefCodeReferences::XrefCodeReferences | ( | XrefHeader * | parent | ) |
|
virtual |
|
inlineoverridevirtual |
Implements XrefHeader.
|
overridevirtual |
Implements XrefHeader.
| XrefHeader * XrefCodeReferences::parentOf | ( | XrefItem * | ref | ) | const |
|
overridevirtual |
Implements XrefHeader.
|
overridevirtual |
Implements XrefHeader.
| class XrefDataReferences |
Additional Inherited Members | |
| Public Types inherited from XrefItem | |
| enum | XrefDirection { Forward , Backward } |
| enum | XrefType { DataXrefType , CodeXrefType , VariableXrefType , TypeXrefType } |
| enum | XrefQueryKind { AddressXrefQuery , TypeXrefQuery , TypeFieldXrefQuery , LocalVarXrefQuery } |
| Protected Attributes inherited from XrefHeader | |
| QString | m_name |
| Protected Attributes inherited from XrefItem | |
| FunctionRef | m_func |
| ArchitectureRef | m_arch |
| uint64_t | m_addr |
| BinaryNinja::QualifiedName | m_typeName |
| uint64_t | m_offset |
| BinaryNinja::Variable | m_var |
| BNFunctionGraphType | m_ilType |
| size_t | m_instrId |
| XrefType | m_type |
| XrefQueryKind | m_queryKind |
| XrefDirection | m_direction |
| std::vector< BinaryNinja::InstructionTextToken > | m_cachedTokens |
| uint64_t | m_cachedTokenVersion = 0 |
| std::optional< BinaryNinja::AdvancedFunctionAnalysisDataRequestor > | m_advancedAnalysisRequest |
| XrefHeader * | m_parentItem |
| int | m_size |
| XrefDataReferences::XrefDataReferences | ( | XrefHeader * | parent | ) |
|
virtual |
|
inlineoverridevirtual |
Implements XrefHeader.
|
overridevirtual |
Implements XrefHeader.
|
overridevirtual |
Implements XrefHeader.
|
overridevirtual |
Implements XrefHeader.
| class XrefTypeReferences |
Additional Inherited Members | |
| Public Types inherited from XrefItem | |
| enum | XrefDirection { Forward , Backward } |
| enum | XrefType { DataXrefType , CodeXrefType , VariableXrefType , TypeXrefType } |
| enum | XrefQueryKind { AddressXrefQuery , TypeXrefQuery , TypeFieldXrefQuery , LocalVarXrefQuery } |
| Protected Attributes inherited from XrefHeader | |
| QString | m_name |
| Protected Attributes inherited from XrefItem | |
| FunctionRef | m_func |
| ArchitectureRef | m_arch |
| uint64_t | m_addr |
| BinaryNinja::QualifiedName | m_typeName |
| uint64_t | m_offset |
| BinaryNinja::Variable | m_var |
| BNFunctionGraphType | m_ilType |
| size_t | m_instrId |
| XrefType | m_type |
| XrefQueryKind | m_queryKind |
| XrefDirection | m_direction |
| std::vector< BinaryNinja::InstructionTextToken > | m_cachedTokens |
| uint64_t | m_cachedTokenVersion = 0 |
| std::optional< BinaryNinja::AdvancedFunctionAnalysisDataRequestor > | m_advancedAnalysisRequest |
| XrefHeader * | m_parentItem |
| int | m_size |
| XrefTypeReferences::XrefTypeReferences | ( | XrefHeader * | parent | ) |
|
virtual |
|
inlineoverridevirtual |
Implements XrefHeader.
|
overridevirtual |
Implements XrefHeader.
| XrefHeader * XrefTypeReferences::parentOf | ( | XrefItem * | ref | ) | const |
|
overridevirtual |
Implements XrefHeader.
|
overridevirtual |
Implements XrefHeader.
| class XrefVariableReferences |
Additional Inherited Members | |
| Public Types inherited from XrefItem | |
| enum | XrefDirection { Forward , Backward } |
| enum | XrefType { DataXrefType , CodeXrefType , VariableXrefType , TypeXrefType } |
| enum | XrefQueryKind { AddressXrefQuery , TypeXrefQuery , TypeFieldXrefQuery , LocalVarXrefQuery } |
| Protected Attributes inherited from XrefHeader | |
| QString | m_name |
| Protected Attributes inherited from XrefItem | |
| FunctionRef | m_func |
| ArchitectureRef | m_arch |
| uint64_t | m_addr |
| BinaryNinja::QualifiedName | m_typeName |
| uint64_t | m_offset |
| BinaryNinja::Variable | m_var |
| BNFunctionGraphType | m_ilType |
| size_t | m_instrId |
| XrefType | m_type |
| XrefQueryKind | m_queryKind |
| XrefDirection | m_direction |
| std::vector< BinaryNinja::InstructionTextToken > | m_cachedTokens |
| uint64_t | m_cachedTokenVersion = 0 |
| std::optional< BinaryNinja::AdvancedFunctionAnalysisDataRequestor > | m_advancedAnalysisRequest |
| XrefHeader * | m_parentItem |
| int | m_size |
| XrefVariableReferences::XrefVariableReferences | ( | XrefHeader * | parent | ) |
|
virtual |
|
inlineoverridevirtual |
Implements XrefHeader.
|
overridevirtual |
Implements XrefHeader.
| XrefHeader * XrefVariableReferences::parentOf | ( | XrefItem * | ref | ) | const |
|
overridevirtual |
Implements XrefHeader.
|
overridevirtual |
Implements XrefHeader.
| class XrefRoot |
Additional Inherited Members | |
| Public Types inherited from XrefItem | |
| enum | XrefDirection { Forward , Backward } |
| enum | XrefType { DataXrefType , CodeXrefType , VariableXrefType , TypeXrefType } |
| enum | XrefQueryKind { AddressXrefQuery , TypeXrefQuery , TypeFieldXrefQuery , LocalVarXrefQuery } |
| Protected Attributes inherited from XrefHeader | |
| QString | m_name |
| Protected Attributes inherited from XrefItem | |
| FunctionRef | m_func |
| ArchitectureRef | m_arch |
| uint64_t | m_addr |
| BinaryNinja::QualifiedName | m_typeName |
| uint64_t | m_offset |
| BinaryNinja::Variable | m_var |
| BNFunctionGraphType | m_ilType |
| size_t | m_instrId |
| XrefType | m_type |
| XrefQueryKind | m_queryKind |
| XrefDirection | m_direction |
| std::vector< BinaryNinja::InstructionTextToken > | m_cachedTokens |
| uint64_t | m_cachedTokenVersion = 0 |
| std::optional< BinaryNinja::AdvancedFunctionAnalysisDataRequestor > | m_advancedAnalysisRequest |
| XrefHeader * | m_parentItem |
| int | m_size |
| XrefRoot::XrefRoot | ( | ) |
| XrefRoot::XrefRoot | ( | XrefRoot && | root | ) |
| XrefRoot::~XrefRoot | ( | ) |
|
inlineoverridevirtual |
Implements XrefHeader.
|
overridevirtual |
Implements XrefHeader.
| XrefHeader * XrefRoot::parentOf | ( | XrefItem * | ref | ) |
|
overridevirtual |
Implements XrefHeader.
|
overridevirtual |
Implements XrefHeader.
| struct CrossReferenceFunctionList |
Public Member Functions | |
| void | updateForRefs (const std::vector< XrefItem > &refs) |
| void | updateFunction (BinaryNinja::Function *func) |
| std::optional< uint64_t > | getFunctionVersion (BinaryNinja::Function *func) const |
| bool | checkForUpdates () |
| void | invalidateCache () |
Public Attributes | |
| std::unordered_map< uint64_t, uint64_t > | functionVersions |
| uint64_t | nextVersion = 1 |
| bool | hasUpdates = true |
| void CrossReferenceFunctionList::updateForRefs | ( | const std::vector< XrefItem > & | refs | ) |
| void CrossReferenceFunctionList::updateFunction | ( | BinaryNinja::Function * | func | ) |
| std::optional< uint64_t > CrossReferenceFunctionList::getFunctionVersion | ( | BinaryNinja::Function * | func | ) | const |
| bool CrossReferenceFunctionList::checkForUpdates | ( | ) |
| void CrossReferenceFunctionList::invalidateCache | ( | ) |
| std::unordered_map<uint64_t, uint64_t> CrossReferenceFunctionList::functionVersions |
| uint64_t CrossReferenceFunctionList::nextVersion = 1 |
| bool CrossReferenceFunctionList::hasUpdates = true |
| class CrossReferenceTreeModel |
Public Slots | |
| void | startUpdateTimer (FunctionRef func) |
Signals | |
| void | needRepaint () |
Public Member Functions | |
| CrossReferenceTreeModel (QWidget *parent, BinaryViewRef data, ViewFrame *view) | |
| virtual | ~CrossReferenceTreeModel () |
| virtual QModelIndex | index (int row, int col, const QModelIndex &parent=QModelIndex()) const override |
| virtual QVariant | data (const QModelIndex &i, int role) const override |
| virtual QModelIndex | parent (const QModelIndex &i) const override |
| Qt::ItemFlags | flags (const QModelIndex &index) const override |
| virtual bool | hasChildren (const QModelIndex &parent) const override |
| virtual int | rowCount (const QModelIndex &parent=QModelIndex()) const override |
| virtual int | columnCount (const QModelIndex &parent=QModelIndex()) const override |
| QModelIndex | nextValidIndex (const QModelIndex ¤t) const |
| QModelIndex | prevValidIndex (const QModelIndex ¤t) const |
| bool | selectRef (XrefItem *ref, QItemSelectionModel *selectionModel) |
| XrefRoot * | getRoot () |
| bool | setModelData (std::vector< XrefItem > &refs, QItemSelectionModel *selectionModel, bool &selectionUpdated, const SelectionInfoForXref &ref) |
| int | leafCount () const |
| ViewFrame * | getView () const |
| virtual void | updateMaxUIItems (size_t value) |
| size_t | getMaxUIItems () const |
| void | setGraphType (const BinaryNinja::FunctionViewType &type) |
| void | notifyRefresh () |
| void | invalidateCache () |
| CrossReferenceTreeModel::CrossReferenceTreeModel | ( | QWidget * | parent, |
| BinaryViewRef | data, | ||
| ViewFrame * | view ) |
|
virtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
override |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
| QModelIndex CrossReferenceTreeModel::nextValidIndex | ( | const QModelIndex & | current | ) | const |
| QModelIndex CrossReferenceTreeModel::prevValidIndex | ( | const QModelIndex & | current | ) | const |
| bool CrossReferenceTreeModel::selectRef | ( | XrefItem * | ref, |
| QItemSelectionModel * | selectionModel ) |
|
inline |
| bool CrossReferenceTreeModel::setModelData | ( | std::vector< XrefItem > & | refs, |
| QItemSelectionModel * | selectionModel, | ||
| bool & | selectionUpdated, | ||
| const SelectionInfoForXref & | ref ) |
| int CrossReferenceTreeModel::leafCount | ( | ) | const |
|
inline |
|
inlinevirtual |
|
inline |
| void CrossReferenceTreeModel::setGraphType | ( | const BinaryNinja::FunctionViewType & | type | ) |
| void CrossReferenceTreeModel::notifyRefresh | ( | ) |
| void CrossReferenceTreeModel::invalidateCache | ( | ) |
|
signal |
|
slot |
| class CrossReferenceTableModel |
Public Types | |
| enum | ColumnHeaders { Direction = 0 , Address = 1 , Function = 2 , Preview = 3 } |
Public Slots | |
| void | startUpdateTimer (FunctionRef func) |
Signals | |
| void | needRepaint () |
Public Member Functions | |
| CrossReferenceTableModel (QWidget *parent, BinaryViewRef data, ViewFrame *view) | |
| virtual | ~CrossReferenceTableModel () |
| virtual QModelIndex | index (int row, int col, const QModelIndex &parent=QModelIndex()) const override |
| virtual QVariant | data (const QModelIndex &i, int role) const override |
| Qt::ItemFlags | flags (const QModelIndex &index) const override |
| virtual int | rowCount (const QModelIndex &parent=QModelIndex()) const override |
| virtual QModelIndex | parent (const QModelIndex &i) const override |
| virtual int | columnCount (const QModelIndex &parent=QModelIndex()) const override |
| virtual QVariant | headerData (int column, Qt::Orientation orientation, int role) const override |
| virtual bool | hasChildren (const QModelIndex &) const override |
| bool | setModelData (std::vector< XrefItem > &refs, QItemSelectionModel *selectionModel, bool &selectionUpdated, const SelectionInfoForXref &ref) |
| const XrefItem & | getRow (int idx) |
| ViewFrame * | getView () const |
| virtual void | updateMaxUIItems (size_t value) |
| size_t | getMaxUIItems () const |
| void | setGraphType (const BinaryNinja::FunctionViewType &type) |
| void | notifyRefresh () |
| void | invalidateCache () |
| CrossReferenceTableModel::CrossReferenceTableModel | ( | QWidget * | parent, |
| BinaryViewRef | data, | ||
| ViewFrame * | view ) |
|
inlinevirtual |
|
overridevirtual |
|
overridevirtual |
|
override |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
overridevirtual |
|
inlineoverridevirtual |
| bool CrossReferenceTableModel::setModelData | ( | std::vector< XrefItem > & | refs, |
| QItemSelectionModel * | selectionModel, | ||
| bool & | selectionUpdated, | ||
| const SelectionInfoForXref & | ref ) |
| const XrefItem & CrossReferenceTableModel::getRow | ( | int | idx | ) |
|
inline |
|
inlinevirtual |
|
inline |
| void CrossReferenceTableModel::setGraphType | ( | const BinaryNinja::FunctionViewType & | type | ) |
| void CrossReferenceTableModel::notifyRefresh | ( | ) |
| void CrossReferenceTableModel::invalidateCache | ( | ) |
|
signal |
|
slot |
| class CrossReferenceItemDelegate |
Public Member Functions | |
| CrossReferenceItemDelegate (QWidget *parent, bool table) | |
| void | updateFonts () |
| virtual QSize | sizeHint (const QStyleOptionViewItem &option, const QModelIndex &idx) const override |
| virtual void | paint (QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &idx) const override |
| virtual void | paintTreeRow (QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &idx) const |
| virtual void | paintTableRow (QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &idx) const |
| virtual QImage | DrawArrow (bool direction) const |
| void | updateMaxUIItems (size_t count) |
| size_t | getMaxUIItems () const |
| void | setDependentRefsExceeded (bool value) |
| CrossReferenceItemDelegate::CrossReferenceItemDelegate | ( | QWidget * | parent, |
| bool | table ) |
| void CrossReferenceItemDelegate::updateFonts | ( | ) |
|
overridevirtual |
|
overridevirtual |
|
virtual |
|
virtual |
|
virtual |
| void CrossReferenceItemDelegate::updateMaxUIItems | ( | size_t | count | ) |
|
inline |
|
inline |
| class CrossReferenceFilterProxyModel |
Public Slots | |
| void | directionChanged (int index, bool checked) |
| void | typeChanged (int index, bool checked) |
Public Member Functions | |
| CrossReferenceFilterProxyModel (QObject *parent, bool table) | |
| QModelIndex | nextValidIndex (const QModelIndex ¤t) const |
| QModelIndex | getFirstLeaf (const QModelIndex &index) const |
| QModelIndex | prevValidIndex (const QModelIndex ¤t) const |
| QModelIndex | getLastLeaf (const QModelIndex &index) const |
Protected Member Functions | |
| virtual bool | filterAcceptsRow (int sourceRow, const QModelIndex &sourceParent) const override |
| virtual bool | lessThan (const QModelIndex &left, const QModelIndex &right) const override |
| virtual QVariant | data (const QModelIndex &index, int role) const override |
| virtual bool | hasChildren (const QModelIndex &parent) const override |
| CrossReferenceFilterProxyModel::CrossReferenceFilterProxyModel | ( | QObject * | parent, |
| bool | table ) |
| QModelIndex CrossReferenceFilterProxyModel::nextValidIndex | ( | const QModelIndex & | current | ) | const |
| QModelIndex CrossReferenceFilterProxyModel::getFirstLeaf | ( | const QModelIndex & | index | ) | const |
| QModelIndex CrossReferenceFilterProxyModel::prevValidIndex | ( | const QModelIndex & | current | ) | const |
| QModelIndex CrossReferenceFilterProxyModel::getLastLeaf | ( | const QModelIndex & | index | ) | const |
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
|
slot |
|
slot |
| class CrossReferenceContainer |
Public Member Functions | |
| CrossReferenceContainer (CrossReferenceWidget *parent, ViewFrame *view, BinaryViewRef data) | |
| virtual | ~CrossReferenceContainer () |
| virtual QModelIndex | translateIndex (const QModelIndex &idx) const =0 |
| virtual bool | getReference (const QModelIndex &idx, XrefItem **refPtr) const =0 |
| virtual QModelIndex | nextIndex ()=0 |
| virtual QModelIndex | prevIndex ()=0 |
| virtual QModelIndexList | selectedRows () const =0 |
| virtual void | setSavedSelection (std::optional< int > idx)=0 |
| virtual bool | hasSelection () const =0 |
| virtual void | setNewSelection (std::vector< XrefItem > &refs, bool newRefTarget, const SelectionInfoForXref &ref, bool dependentRefsExceeded)=0 |
| virtual void | updateFonts ()=0 |
| virtual int | leafCount () const =0 |
| virtual int | filteredCount () const =0 |
| virtual void | updateMaxUIItems (size_t value)=0 |
Protected Attributes | |
| ViewFrame * | m_view |
| CrossReferenceWidget * | m_parent |
| BinaryViewRef | m_data |
| UIActionHandler | m_actionHandler |
| SelectionInfoForXref | m_curRef |
| CrossReferenceContainer::CrossReferenceContainer | ( | CrossReferenceWidget * | parent, |
| ViewFrame * | view, | ||
| BinaryViewRef | data ) |
|
virtual |
|
pure virtual |
Implemented in CrossReferenceTable, and CrossReferenceTree.
|
pure virtual |
Implemented in CrossReferenceTable, and CrossReferenceTree.
|
pure virtual |
Implemented in CrossReferenceTable, and CrossReferenceTree.
|
pure virtual |
Implemented in CrossReferenceTable, and CrossReferenceTree.
|
pure virtual |
Implemented in CrossReferenceTable, and CrossReferenceTree.
|
pure virtual |
Implemented in CrossReferenceTable, and CrossReferenceTree.
|
pure virtual |
Implemented in CrossReferenceTable, and CrossReferenceTree.
|
pure virtual |
Implemented in CrossReferenceTable, and CrossReferenceTree.
|
pure virtual |
Implemented in CrossReferenceTable, and CrossReferenceTree.
|
pure virtual |
Implemented in CrossReferenceTable, and CrossReferenceTree.
|
pure virtual |
Implemented in CrossReferenceTable, and CrossReferenceTree.
|
pure virtual |
Implemented in CrossReferenceTable, and CrossReferenceTree.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
| class CrossReferenceTree |
Public Slots | |
| void | doRepaint () |
Signals | |
| void | newSelection () |
| void | modelUpdated () |
| void | functionUpdated (FunctionRef func) |
Public Member Functions | |
| CrossReferenceTree (CrossReferenceWidget *parent, ViewFrame *view, BinaryViewRef data) | |
| virtual | ~CrossReferenceTree () |
| void | setNewSelection (std::vector< XrefItem > &refs, bool newRefTarget, const SelectionInfoForXref &ref, bool dependentRefsExceeded) override |
| virtual QModelIndex | nextIndex () override |
| virtual QModelIndex | prevIndex () override |
| virtual bool | hasSelection () const override |
| virtual void | mouseMoveEvent (QMouseEvent *e) override |
| virtual void | mousePressEvent (QMouseEvent *e) override |
| virtual void | keyPressEvent (QKeyEvent *e) override |
| virtual bool | event (QEvent *event) override |
| virtual QModelIndexList | selectedRows () const override |
| virtual void | setSavedSelection (std::optional< int > idx) override |
| virtual QModelIndex | translateIndex (const QModelIndex &idx) const override |
| virtual void | updateFonts () override |
| virtual int | leafCount () const override |
| virtual int | filteredCount () const override |
| void | updateTextFilter (const QString &filterText) |
| virtual void | updateMaxUIItems (size_t count) override |
| void | setGraphType (const BinaryNinja::FunctionViewType &type) |
| virtual void | OnAnalysisFunctionUpdated (BinaryNinja::BinaryView *view, BinaryNinja::Function *func) override |
| void | notifyRefresh () |
| void | invalidateCache () |
| Public Member Functions inherited from CrossReferenceContainer | |
| CrossReferenceContainer (CrossReferenceWidget *parent, ViewFrame *view, BinaryViewRef data) | |
| virtual | ~CrossReferenceContainer () |
| Public Member Functions inherited from BinaryNinja::BinaryDataNotification | |
| BinaryDataNotification () | |
| BinaryDataNotification (NotificationTypes notifications) | |
| virtual | ~BinaryDataNotification () |
| BNBinaryDataNotification * | GetCallbacks () |
| virtual uint64_t | OnNotificationBarrier (BinaryView *view) |
| virtual void | OnBinaryDataWritten (BinaryView *view, uint64_t offset, size_t len) |
| virtual void | OnBinaryDataInserted (BinaryView *view, uint64_t offset, size_t len) |
| virtual void | OnBinaryDataRemoved (BinaryView *view, uint64_t offset, uint64_t len) |
| virtual void | OnAnalysisFunctionAdded (BinaryView *view, Function *func) |
| virtual void | OnAnalysisFunctionRemoved (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. | |
Protected Member Functions | |
| void | drawBranches (QPainter *painter, const QRect &rect, const QModelIndex &index) const override |
| virtual bool | getReference (const QModelIndex &idx, XrefItem **refPtr) const override |
| virtual void | scrollContentsBy (int dx, int dy) override |
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 |
| Protected Attributes inherited from CrossReferenceContainer | |
| ViewFrame * | m_view |
| CrossReferenceWidget * | m_parent |
| BinaryViewRef | m_data |
| UIActionHandler | m_actionHandler |
| SelectionInfoForXref | m_curRef |
| CrossReferenceTree::CrossReferenceTree | ( | CrossReferenceWidget * | parent, |
| ViewFrame * | view, | ||
| BinaryViewRef | data ) |
|
virtual |
|
overrideprotected |
|
overrideprotectedvirtual |
Implements CrossReferenceContainer.
|
overrideprotectedvirtual |
|
overridevirtual |
Implements CrossReferenceContainer.
|
overridevirtual |
Implements CrossReferenceContainer.
|
overridevirtual |
Implements CrossReferenceContainer.
|
inlineoverridevirtual |
Implements CrossReferenceContainer.
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
inlineoverridevirtual |
Implements CrossReferenceContainer.
|
overridevirtual |
Implements CrossReferenceContainer.
|
inlineoverridevirtual |
Implements CrossReferenceContainer.
|
overridevirtual |
Implements CrossReferenceContainer.
|
overridevirtual |
Implements CrossReferenceContainer.
|
overridevirtual |
Implements CrossReferenceContainer.
| void CrossReferenceTree::updateTextFilter | ( | const QString & | filterText | ) |
|
overridevirtual |
Implements CrossReferenceContainer.
|
inline |
|
overridevirtual |
Reimplemented from BinaryNinja::BinaryDataNotification.
| void CrossReferenceTree::notifyRefresh | ( | ) |
| void CrossReferenceTree::invalidateCache | ( | ) |
|
signal |
|
signal |
|
signal |
|
slot |
| class CrossReferenceTable |
Public Slots | |
| void | doRepaint () |
| void | updateTextFilter (const QString &filterText) |
Signals | |
| void | newSelection () |
| void | modelUpdated () |
| void | functionUpdated (FunctionRef func) |
Public Member Functions | |
| CrossReferenceTable (CrossReferenceWidget *parent, ViewFrame *view, BinaryViewRef data) | |
| virtual | ~CrossReferenceTable () |
| void | updateFontAndHeaderSize () |
| void | setNewSelection (std::vector< XrefItem > &refs, bool newRefTarget, const SelectionInfoForXref &ref, bool dependentRefsExceeded) override |
| virtual QModelIndex | nextIndex () override |
| virtual QModelIndex | prevIndex () override |
| virtual bool | hasSelection () const override |
| virtual QModelIndexList | selectedRows () const override |
| virtual void | setSavedSelection (std::optional< int > idx) override |
| virtual bool | getReference (const QModelIndex &idx, XrefItem **refPtr) const override |
| virtual void | mouseMoveEvent (QMouseEvent *e) override |
| virtual void | mousePressEvent (QMouseEvent *e) override |
| virtual void | keyPressEvent (QKeyEvent *e) override |
| virtual bool | event (QEvent *event) override |
| virtual QModelIndex | translateIndex (const QModelIndex &idx) const override |
| virtual void | updateFonts () override |
| virtual int | leafCount () const override |
| virtual int | filteredCount () const override |
| virtual void | updateMaxUIItems (size_t count) override |
| void | setGraphType (const BinaryNinja::FunctionViewType &type) |
| virtual void | OnAnalysisFunctionUpdated (BinaryNinja::BinaryView *view, BinaryNinja::Function *func) override |
| void | notifyRefresh () |
| void | invalidateCache () |
| Public Member Functions inherited from CrossReferenceContainer | |
| CrossReferenceContainer (CrossReferenceWidget *parent, ViewFrame *view, BinaryViewRef data) | |
| virtual | ~CrossReferenceContainer () |
| Public Member Functions inherited from BinaryNinja::BinaryDataNotification | |
| BinaryDataNotification () | |
| BinaryDataNotification (NotificationTypes notifications) | |
| virtual | ~BinaryDataNotification () |
| BNBinaryDataNotification * | GetCallbacks () |
| virtual uint64_t | OnNotificationBarrier (BinaryView *view) |
| virtual void | OnBinaryDataWritten (BinaryView *view, uint64_t offset, size_t len) |
| virtual void | OnBinaryDataInserted (BinaryView *view, uint64_t offset, size_t len) |
| virtual void | OnBinaryDataRemoved (BinaryView *view, uint64_t offset, uint64_t len) |
| virtual void | OnAnalysisFunctionAdded (BinaryView *view, Function *func) |
| virtual void | OnAnalysisFunctionRemoved (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. | |
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 |
| Protected Attributes inherited from CrossReferenceContainer | |
| ViewFrame * | m_view |
| CrossReferenceWidget * | m_parent |
| BinaryViewRef | m_data |
| UIActionHandler | m_actionHandler |
| SelectionInfoForXref | m_curRef |
| CrossReferenceTable::CrossReferenceTable | ( | CrossReferenceWidget * | parent, |
| ViewFrame * | view, | ||
| BinaryViewRef | data ) |
|
virtual |
| void CrossReferenceTable::updateFontAndHeaderSize | ( | ) |
|
overridevirtual |
Implements CrossReferenceContainer.
|
overridevirtual |
Implements CrossReferenceContainer.
|
overridevirtual |
Implements CrossReferenceContainer.
|
inlineoverridevirtual |
Implements CrossReferenceContainer.
|
inlineoverridevirtual |
Implements CrossReferenceContainer.
|
overridevirtual |
Implements CrossReferenceContainer.
|
overridevirtual |
Implements CrossReferenceContainer.
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
inlineoverridevirtual |
Implements CrossReferenceContainer.
|
overridevirtual |
Implements CrossReferenceContainer.
|
overridevirtual |
Implements CrossReferenceContainer.
|
overridevirtual |
Implements CrossReferenceContainer.
|
overridevirtual |
Implements CrossReferenceContainer.
|
inline |
|
overridevirtual |
Reimplemented from BinaryNinja::BinaryDataNotification.
| void CrossReferenceTable::notifyRefresh | ( | ) |
| void CrossReferenceTable::invalidateCache | ( | ) |
|
slot |
|
slot |
|
signal |
|
signal |
|
signal |
| class CrossReferenceWidget |
Public Slots | |
| void | referenceActivated (const QModelIndex &idx) |
| void | pinnedStateChanged (bool state) |
| void | selectionChanged () |
| void | typeChanged (int index, bool checked) |
| void | directionChanged (int change, bool checked) |
Signals | |
| void | navigatedToCrossReference () |
Public Member Functions | |
| CrossReferenceWidget (ViewFrame *view, BinaryViewRef data, bool pinned) | |
| virtual | ~CrossReferenceWidget () |
| virtual void | notifyFontChanged () override |
| virtual QString | getHeaderText (SelectionInfoForXref selectionInfo) |
| virtual void | setCurrentSelection (SelectionInfoForXref selectionInfo) |
| virtual void | updateCrossReferences () |
| virtual void | setCurrentPinnedSelection (SelectionInfoForXref selectionInfo) |
| void | updatePinnedSelection () |
| virtual void | navigateToNext () |
| virtual void | navigateToPrev () |
| virtual bool | selectFirstRow () |
| virtual bool | hasSelection () const |
| virtual void | goToReference (const QModelIndex &idx) |
| QModelIndexList | selectedRows () const |
| void | setSavedSelection (std::optional< int > idx) |
| virtual void | restartHoverTimer (QMouseEvent *e) |
| virtual void | startHoverTimer (QMouseEvent *e) |
| virtual void | keyPressEvent (QKeyEvent *e) override |
| virtual bool | keyPressHandler (QKeyEvent *e) |
| void | showEvent (QShowEvent *event) override |
| void | useTableView (bool tableView, bool init, bool updateSetting) |
| bool | tableView () const |
| bool | uiMaxItemsExceeded () const |
| void | setUIMaxItemsExceeded (bool value) |
| void | setGraphType (const BinaryNinja::FunctionViewType &type) |
| virtual void | focus () override |
| virtual void | OnNewSelectionForXref (UIContext *context, ViewFrame *frame, View *view, const SelectionInfoForXref &selection) override |
| Callback when the ui changes selection and should update cross references. | |
| void | OnILViewTypeChange (UIContext *context, ViewFrame *frame, View *view, const BinaryNinja::FunctionViewType &viewType) override |
| Callback when the ui changes IL view type. | |
| virtual QWidget * | headerWidget () override |
| virtual void | setPrimaryOrientation (Qt::Orientation orientation) override |
| void | notifyRefresh () override |
| void | notifyQuiesce (bool quiesce) override |
| const SelectionInfoForXref & | getCurrentSelection () const |
| Public Member Functions inherited from SidebarWidget | |
| SidebarWidget (const QString &title) | |
| ~SidebarWidget () | |
| const QString & | title () const |
| void | setTitle (const QString &title) |
| void | enableRefreshTimer (int interval) |
| void | setRefreshQuiesce (bool enable) |
| bool | isQuiesced () const |
| virtual void | notifyOffsetChanged (uint64_t) |
| virtual void | notifyThemeChanged () |
| virtual void | notifyViewChanged (ViewFrame *) |
| virtual void | notifyViewLocationChanged (View *, const ViewLocation &) |
| virtual void | closing () |
| Public Member Functions inherited from UIContextNotification | |
| virtual | ~UIContextNotification () |
| virtual void | OnContextOpen (UIContext *context) |
| Callback after a UIContext is opened (eg MainWindow). | |
| virtual void | OnContextClose (UIContext *context) |
| Callback right before closing a UIContext. | |
| virtual bool | OnBeforeOpenDatabase (UIContext *context, FileMetadataRef metadata) |
| Callback before a database (specifically a database, not a raw file) is opened. | |
| virtual bool | OnAfterOpenDatabase (UIContext *context, FileMetadataRef metadata, BinaryViewRef data) |
| Callback after a database (specifically a database, not a raw file) is opened. | |
| virtual void | OnAfterOpenProject (UIContext *context, ProjectRef project) |
| Callback after a project is opened. | |
| virtual bool | OnBeforeOpenProjectFile (UIContext *context, ProjectFileRef projectFile) |
| Callback before a project file is opened. | |
| virtual void | OnAfterOpenProjectFile (UIContext *context, ProjectFileRef projectFile, ViewFrame *frame) |
| Callback after a project file is opened. | |
| virtual bool | OnBeforeOpenFile (UIContext *context, FileContext *file) |
| Callback before a file (raw or database) is opened (after OnAfterOpenDatabase if opening a database). | |
| virtual void | OnAfterOpenFile (UIContext *context, FileContext *file, ViewFrame *frame) |
| Callback after a file (raw or database) is opened. | |
| virtual bool | OnBeforeSaveFile (UIContext *context, FileContext *file, ViewFrame *frame) |
| Callback before a file is saved (either as a database or raw). | |
| virtual void | OnAfterSaveFile (UIContext *context, FileContext *file, ViewFrame *frame) |
| Callback after a file is saved (either as a database or raw). | |
| virtual bool | OnBeforeCloseFile (UIContext *context, FileContext *file, ViewFrame *frame) |
| Callback before a file is closed. | |
| virtual void | OnAfterCloseFile (UIContext *context, FileContext *file, ViewFrame *frame) |
| Callback after a file is closed. | |
| virtual void | OnViewReplaced (UIContext *context, FileContext *file, ViewFrame *oldFrame, ViewFrame *newFrame) |
| Callback after a ViewFrame is replaced in an open file (e.g. | |
| virtual void | OnDataViewReplaced (UIContext *context, FileContext *file, BinaryViewRef oldData, BinaryViewRef newData) |
| Callback after a BinaryView is replaced in an open file (e.g. | |
| virtual void | OnViewChange (UIContext *context, ViewFrame *frame, const QString &type) |
| Callback when the ui changes views. | |
| virtual void | OnAddressChange (UIContext *context, ViewFrame *frame, View *view, const ViewLocation &location) |
| Callback when the ui changes address. | |
| virtual bool | GetNameForFile (UIContext *context, FileContext *file, QString &name) |
| Callback to modify the displayed file name for a FileContext (eg in the window title or tab title) Note: Due to the out param &name, this is not usable from Python with PySide. | |
| virtual bool | GetNameForPath (UIContext *context, const QString &path, QString &name) |
| Callback to modify the displayed file name for a file path (eg in the new tab widget) Note: Due to the out param &name, this is not usable from Python with PySide. | |
| virtual void | OnActionExecuted (UIContext *context, UIActionHandler *handler, const QString &name, const UIActionContext &ctx, std::function< void(const UIActionContext &)> &action) |
| Callback when an action is executed, allowing plugins to intercept and modify the behavior of the action. | |
| virtual void | OnActionExecutedImmutable (UIContext *context, UIActionHandler *handler, const QString &name, const UIActionContext &ctx) |
| Callback when an action is executed. | |
| virtual void | OnContextMenuCreated (UIContext *context, View *view, Menu &menu) |
| Callback when a context menu is created, allowing plugins to modify the menu, e.g., registering and adding new actions into it. | |
Additional Inherited Members | |
| Protected Attributes inherited from SidebarWidget | |
| QString | m_title |
| UIActionHandler | m_actionHandler |
| ContextMenuManager * | m_contextMenuManager = nullptr |
| Menu * | m_menu = nullptr |
| bool | m_quiesceState = true |
| QTimer * | m_updateTimer = nullptr |
| CrossReferenceWidget::CrossReferenceWidget | ( | ViewFrame * | view, |
| BinaryViewRef | data, | ||
| bool | pinned ) |
|
virtual |
|
overridevirtual |
Reimplemented from SidebarWidget.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
| void CrossReferenceWidget::updatePinnedSelection | ( | ) |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
| QModelIndexList CrossReferenceWidget::selectedRows | ( | ) | const |
| void CrossReferenceWidget::setSavedSelection | ( | std::optional< int > | idx | ) |
|
virtual |
|
virtual |
|
overridevirtual |
|
virtual |
|
override |
| void CrossReferenceWidget::useTableView | ( | bool | tableView, |
| bool | init, | ||
| bool | updateSetting ) |
|
inline |
|
inline |
|
inline |
| void CrossReferenceWidget::setGraphType | ( | const BinaryNinja::FunctionViewType & | type | ) |
|
overridevirtual |
Reimplemented from SidebarWidget.
|
overridevirtual |
Callback when the ui changes selection and should update cross references.
| context | Context changing selection |
| frame | ViewFrame which changed selection |
| view | View that changed selection |
| selection | New selection |
Reimplemented from UIContextNotification.
|
overridevirtual |
Callback when the ui changes IL view type.
| context | Context changing address |
| frame | ViewFrame which changed address |
| view | Currently open View |
| viewType | New view type |
Reimplemented from UIContextNotification.
|
inlineoverridevirtual |
Reimplemented from SidebarWidget.
|
overridevirtual |
Reimplemented from SidebarWidget.
|
overridevirtual |
Reimplemented from SidebarWidget.
|
overridevirtual |
Reimplemented from SidebarWidget.
|
inline |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
signal |
| class CrossReferenceSidebarWidgetType |
| CrossReferenceSidebarWidgetType::CrossReferenceSidebarWidgetType | ( | ) |
|
inlineoverridevirtual |
Reimplemented from SidebarWidgetType.
|
overridevirtual |
Reimplemented from SidebarWidgetType.
| class PinnedCrossReferenceSidebarWidgetType |
| PinnedCrossReferenceSidebarWidgetType::PinnedCrossReferenceSidebarWidgetType | ( | ) |
|
inlineoverridevirtual |
Reimplemented from SidebarWidgetType.
|
inlineoverridevirtual |
Reimplemented from SidebarWidgetType.
|
inlineoverridevirtual |
Reimplemented from SidebarWidgetType.
|
inlineoverridevirtual |
Reimplemented from SidebarWidgetType.
|
inlineoverridevirtual |
Reimplemented from SidebarWidgetType.
|
inlineoverridevirtual |
Reimplemented from SidebarWidgetType.