Signals | |
| void | typeNameNavigated (const std::string &typeName, bool newSelection) |
Public Member Functions | |
| TypeBrowserView (BinaryViewRef data, TypeBrowserContainer *container) | |
| TypeBrowserContainer * | getContainer () |
| TypeBrowserModel * | getModel () |
| TypeBrowserFilterModel * | getFilterModel () |
| QTreeView * | getTreeView () |
| TypeEditor * | getTypeEditor () |
| virtual BinaryViewRef | getData () override |
| virtual uint64_t | getCurrentOffset () override |
| virtual void | setSelectionOffsets (BNAddressRange range) override |
| virtual bool | navigate (uint64_t offset) override |
| virtual SelectionInfoForXref | getSelectionForXref () override |
| virtual QFont | getFont () override |
| virtual void | updateFonts () override |
| virtual void | showEvent (QShowEvent *event) override |
| virtual void | resizeEvent (QResizeEvent *event) override |
| virtual StatusBarWidget * | getStatusBarWidget () override |
| virtual QWidget * | getHeaderOptionsWidget () override |
| virtual void | setFilter (const std::string &filter, FilterOptions options) override |
| virtual void | scrollToFirstItem () override |
| virtual void | scrollToCurrentItem () override |
| virtual void | ensureSelection () override |
| virtual void | activateSelection () override |
| virtual void | notifyRefresh () override |
| void | showSelectedTypes () |
| void | showTypes (const std::vector< TypeReference > &types) |
| void | selectTypeByName (const std::string &name, bool newSelection) |
| bool | navigateToType (const std::string &typeName, uint64_t offset) |
| void | scrollToIndexWithContext (const QModelIndex &index, int context=1) |
| void | setPrimaryOrientation (Qt::Orientation orientation) |
| std::vector< std::shared_ptr< TypeBrowserTreeNode > > | selectedNodes () const |
| std::optional< BinaryViewRef > | selectedBV () const |
| std::optional< std::unordered_set< BinaryNinja::QualifiedName > > | selectedBVTypeNames () const |
| std::optional< std::pair< BinaryNinja::TypeContainer, BinaryNinja::QualifiedName > > | selectedTypeNameAndContainer () const |
| std::vector< std::pair< BinaryNinja::TypeContainer, std::vector< BinaryNinja::QualifiedName > > > | selectedTypeNamesByContainers () const |
| std::optional< TypeReference > | selectedType () const |
| std::vector< TypeReference > | selectedTypes () const |
| std::optional< BinaryNinja::TypeContainer > | selectedTypeContainer (bool makeSureItHasPlatform=true, bool preferView=false) const |
| std::optional< BinaryNinja::TypeContainer > | typeContainerForCreating (bool makeSureItHasPlatform=true, bool preferView=false) const |
| std::unordered_set< std::string > | selectedTypeContainerIds () const |
| std::optional< TypeArchiveRef > | selectedTA () const |
| std::optional< std::string > | selectedTAId () const |
| std::optional< std::unordered_set< TypeArchiveRef > > | selectedTAs () const |
| std::optional< std::unordered_set< std::string > > | selectedTAIds () const |
| std::optional< std::unordered_map< std::string, std::unordered_set< std::string > > > | selectedTATypeIds () const |
| std::vector< TypeArchiveRef > | connectedTAs (BinaryViewRef view) const |
| std::optional< BinaryNinja::TypeContainer > | containerForId (const std::string &containerId, bool makeSureItHasPlatform=false, bool preferView=false) const |
| void | bindActions () |
| void | showContextMenu () |
| bool | canConnectTypeArchive () |
| void | connectTypeArchive () |
| bool | canCreateTypeArchive () |
| void | createTypeArchive () |
| bool | canAttachTypeArchive () |
| void | attachTypeArchive () |
| bool | canDetachTypeArchive () |
| void | detachTypeArchive () |
| bool | canSyncSelectedTypes () |
| void | syncSelectedTypes () |
| bool | pushTypesFromView (BinaryViewRef view, const std::unordered_set< BinaryNinja::QualifiedName > &names) |
| bool | canPushSelectedTypes () |
| void | pushSelectedTypes () |
| bool | canPushAllTypes () |
| void | pushAllTypes () |
| bool | pullTypesFromView (BinaryViewRef view, const std::unordered_set< BinaryNinja::QualifiedName > &viewTypeNames) |
| bool | pullTypesFromArchives (BinaryViewRef view, const std::unordered_map< std::string, std::unordered_set< std::string > > &archiveTypeIdSelection) |
| bool | canPullSelectedTypes () |
| void | pullSelectedTypes () |
| bool | canPullAllTypes () |
| void | pullAllTypes () |
| bool | canDisassociateSelectedTypes () |
| void | disassociateSelectedTypes () |
| bool | canCreateNewTypes () |
| void | createNewTypes () |
| bool | canCreateNewStructure () |
| void | createNewStructure () |
| bool | canCreateNewEnumeration () |
| void | createNewEnumeration () |
| bool | canCreateNewUnion () |
| void | createNewUnion () |
| bool | canRenameTypes () |
| void | renameTypes () |
| bool | canCopyTypeNames () |
| void | copyTypeNames () |
| bool | canCopyTypeDefinitions () |
| void | copyTypeDefinitions () |
| bool | canDeleteTypes () |
| void | deleteTypes () |
| bool | canChangeTypes () |
| void | changeTypes () |
| bool | canCreateStructureMemberAtOffset () |
| void | createStructureMemberAtOffset () |
| bool | canImportType () |
| void | importType () |
| bool | canImportTypeByGUID (BinaryViewRef view) |
| void | importTypeByGUID () |
| bool | canAddTypeLibrary () |
| void | addTypeLibrary () |
| bool | canExpandAll () |
| void | expandAll () |
| bool | canCollapseAll () |
| void | collapseAll () |
| bool | canSwitchLayout () |
| void | switchLayout () |
| bool | canToggleDetailsVisibility () |
| void | toggleDetailsVisibility () |
| Public Member Functions inherited from View | |
| 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 bool | canAssemble () |
| virtual bool | canCompile () |
| virtual BNAddressRange | getSelectionOffsets () |
| 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 void | writeData (const BinaryNinja::DataBuffer &data, uint64_t addr) |
| 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 () |
| Public Member Functions inherited from FilterTarget | |
| virtual | ~FilterTarget () |
| virtual void | closeFilter () |
Static Public Member Functions | |
| static std::optional< std::unordered_set< std::string > > | typeIdsFromNames (BinaryViewRef view, const std::unordered_set< BinaryNinja::QualifiedName > &names) |
| static std::unordered_map< std::optional< TypeArchiveRef >, std::unordered_set< std::string > > | associatedTypeArchivesForTypeIds (BinaryViewRef view, const std::unordered_set< std::string > &typeIds) |
| static void | registerActions () |
| Static Public Member Functions inherited from View | |
| static View * | getViewFromWidget (QWidget *widget) |
| static void | registerActions () |
| static void | registerLateActions () |
Protected Member Functions | |
| void | itemSelected (const QItemSelection &selected, const QItemSelection &deselected) |
| void | itemDoubleClicked (const QModelIndex &index) |
| virtual void | contextMenuEvent (QContextMenuEvent *event) override |
| virtual bool | event (QEvent *event) override |
| virtual bool | eventFilter (QObject *obj, QEvent *event) override |
| virtual void | focusInEvent (QFocusEvent *event) override |
| void | ensureTypeEditorHasSelection () |
| Protected Member Functions inherited from View | |
| bool | writeDataToClipboard (const BinaryNinja::DataBuffer &data, bool binary, TransformRef xform) |
| BinaryNinja::DataBuffer | readDataFromClipboard (TransformRef xform) |
Additional Inherited Members | |
| Protected Attributes inherited from View | |
| Menu | m_contextMenu |
| UIActionHandler | m_actionHandler |
| bool | m_binaryDataNavigable = false |
| QPointer< TransformParameterDialog > | m_transformParamDialog |
| bool | m_quiesceState = true |
| QTimer * | m_updateTimer = nullptr |
| TypeBrowserView::TypeBrowserView | ( | BinaryViewRef | data, |
| TypeBrowserContainer * | container ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineoverridevirtual |
Implements View.
|
overridevirtual |
Implements View.
|
overridevirtual |
Implements View.
|
overridevirtual |
Implements View.
|
overridevirtual |
Reimplemented from View.
|
overridevirtual |
Implements View.
|
overridevirtual |
Reimplemented from View.
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
Reimplemented from View.
|
overridevirtual |
Reimplemented from View.
|
overridevirtual |
Implements FilterTarget.
|
overridevirtual |
Implements FilterTarget.
|
overridevirtual |
Implements FilterTarget.
|
overridevirtual |
Implements FilterTarget.
|
overridevirtual |
Implements FilterTarget.
|
overridevirtual |
Reimplemented from View.
| void TypeBrowserView::showSelectedTypes | ( | ) |
| void TypeBrowserView::showTypes | ( | const std::vector< TypeReference > & | types | ) |
| void TypeBrowserView::selectTypeByName | ( | const std::string & | name, |
| bool | newSelection ) |
| bool TypeBrowserView::navigateToType | ( | const std::string & | typeName, |
| uint64_t | offset ) |
| void TypeBrowserView::scrollToIndexWithContext | ( | const QModelIndex & | index, |
| int | context = 1 ) |
| void TypeBrowserView::setPrimaryOrientation | ( | Qt::Orientation | orientation | ) |
| std::vector< std::shared_ptr< TypeBrowserTreeNode > > TypeBrowserView::selectedNodes | ( | ) | const |
| std::optional< BinaryViewRef > TypeBrowserView::selectedBV | ( | ) | const |
| std::optional< std::unordered_set< BinaryNinja::QualifiedName > > TypeBrowserView::selectedBVTypeNames | ( | ) | const |
| std::optional< std::pair< BinaryNinja::TypeContainer, BinaryNinja::QualifiedName > > TypeBrowserView::selectedTypeNameAndContainer | ( | ) | const |
| std::vector< std::pair< BinaryNinja::TypeContainer, std::vector< BinaryNinja::QualifiedName > > > TypeBrowserView::selectedTypeNamesByContainers | ( | ) | const |
| std::optional< TypeReference > TypeBrowserView::selectedType | ( | ) | const |
| std::vector< TypeReference > TypeBrowserView::selectedTypes | ( | ) | const |
| std::optional< BinaryNinja::TypeContainer > TypeBrowserView::selectedTypeContainer | ( | bool | makeSureItHasPlatform = true, |
| bool | preferView = false ) const |
| std::optional< BinaryNinja::TypeContainer > TypeBrowserView::typeContainerForCreating | ( | bool | makeSureItHasPlatform = true, |
| bool | preferView = false ) const |
| std::unordered_set< std::string > TypeBrowserView::selectedTypeContainerIds | ( | ) | const |
| std::optional< TypeArchiveRef > TypeBrowserView::selectedTA | ( | ) | const |
| std::optional< std::string > TypeBrowserView::selectedTAId | ( | ) | const |
| std::optional< std::unordered_set< TypeArchiveRef > > TypeBrowserView::selectedTAs | ( | ) | const |
| std::optional< std::unordered_set< std::string > > TypeBrowserView::selectedTAIds | ( | ) | const |
| std::optional< std::unordered_map< std::string, std::unordered_set< std::string > > > TypeBrowserView::selectedTATypeIds | ( | ) | const |
| std::vector< TypeArchiveRef > TypeBrowserView::connectedTAs | ( | BinaryViewRef | view | ) | const |
|
static |
|
static |
| std::optional< BinaryNinja::TypeContainer > TypeBrowserView::containerForId | ( | const std::string & | containerId, |
| bool | makeSureItHasPlatform = false, | ||
| bool | preferView = false ) const |
|
static |
| void TypeBrowserView::bindActions | ( | ) |
| void TypeBrowserView::showContextMenu | ( | ) |
| bool TypeBrowserView::canConnectTypeArchive | ( | ) |
| void TypeBrowserView::connectTypeArchive | ( | ) |
| bool TypeBrowserView::canCreateTypeArchive | ( | ) |
| void TypeBrowserView::createTypeArchive | ( | ) |
| bool TypeBrowserView::canAttachTypeArchive | ( | ) |
| void TypeBrowserView::attachTypeArchive | ( | ) |
| bool TypeBrowserView::canDetachTypeArchive | ( | ) |
| void TypeBrowserView::detachTypeArchive | ( | ) |
| bool TypeBrowserView::canSyncSelectedTypes | ( | ) |
| void TypeBrowserView::syncSelectedTypes | ( | ) |
| bool TypeBrowserView::pushTypesFromView | ( | BinaryViewRef | view, |
| const std::unordered_set< BinaryNinja::QualifiedName > & | names ) |
| bool TypeBrowserView::canPushSelectedTypes | ( | ) |
| void TypeBrowserView::pushSelectedTypes | ( | ) |
| bool TypeBrowserView::canPushAllTypes | ( | ) |
| void TypeBrowserView::pushAllTypes | ( | ) |
| bool TypeBrowserView::pullTypesFromView | ( | BinaryViewRef | view, |
| const std::unordered_set< BinaryNinja::QualifiedName > & | viewTypeNames ) |
| bool TypeBrowserView::pullTypesFromArchives | ( | BinaryViewRef | view, |
| const std::unordered_map< std::string, std::unordered_set< std::string > > & | archiveTypeIdSelection ) |
| bool TypeBrowserView::canPullSelectedTypes | ( | ) |
| void TypeBrowserView::pullSelectedTypes | ( | ) |
| bool TypeBrowserView::canPullAllTypes | ( | ) |
| void TypeBrowserView::pullAllTypes | ( | ) |
| bool TypeBrowserView::canDisassociateSelectedTypes | ( | ) |
| void TypeBrowserView::disassociateSelectedTypes | ( | ) |
| bool TypeBrowserView::canCreateNewTypes | ( | ) |
| void TypeBrowserView::createNewTypes | ( | ) |
| bool TypeBrowserView::canCreateNewStructure | ( | ) |
| void TypeBrowserView::createNewStructure | ( | ) |
| bool TypeBrowserView::canCreateNewEnumeration | ( | ) |
| void TypeBrowserView::createNewEnumeration | ( | ) |
| bool TypeBrowserView::canCreateNewUnion | ( | ) |
| void TypeBrowserView::createNewUnion | ( | ) |
| bool TypeBrowserView::canRenameTypes | ( | ) |
| void TypeBrowserView::renameTypes | ( | ) |
| bool TypeBrowserView::canCopyTypeNames | ( | ) |
| void TypeBrowserView::copyTypeNames | ( | ) |
| bool TypeBrowserView::canCopyTypeDefinitions | ( | ) |
| void TypeBrowserView::copyTypeDefinitions | ( | ) |
| bool TypeBrowserView::canDeleteTypes | ( | ) |
| void TypeBrowserView::deleteTypes | ( | ) |
| bool TypeBrowserView::canChangeTypes | ( | ) |
| void TypeBrowserView::changeTypes | ( | ) |
| bool TypeBrowserView::canCreateStructureMemberAtOffset | ( | ) |
| void TypeBrowserView::createStructureMemberAtOffset | ( | ) |
| bool TypeBrowserView::canImportType | ( | ) |
| void TypeBrowserView::importType | ( | ) |
| bool TypeBrowserView::canImportTypeByGUID | ( | BinaryViewRef | view | ) |
| void TypeBrowserView::importTypeByGUID | ( | ) |
| bool TypeBrowserView::canAddTypeLibrary | ( | ) |
| void TypeBrowserView::addTypeLibrary | ( | ) |
| bool TypeBrowserView::canExpandAll | ( | ) |
| void TypeBrowserView::expandAll | ( | ) |
| bool TypeBrowserView::canCollapseAll | ( | ) |
| void TypeBrowserView::collapseAll | ( | ) |
| bool TypeBrowserView::canSwitchLayout | ( | ) |
| void TypeBrowserView::switchLayout | ( | ) |
| bool TypeBrowserView::canToggleDetailsVisibility | ( | ) |
| void TypeBrowserView::toggleDetailsVisibility | ( | ) |
|
signal |
|
protected |
|
protected |
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
|
protected |