SymbolList

Detailed Description

Classes

class  SymbolListDelegate
 
class  SymbolListModel
 
struct  SymbolListModel::NamedObject
 
class  SymbolList
 

Class Documentation

◆ SymbolListDelegate

class SymbolListDelegate

Public Member Functions

 SymbolListDelegate (QWidget *parent)
 
void updateFonts ()
 
virtual QSize sizeHint (const QStyleOptionViewItem &option, const QModelIndex &index) const override
 

Constructor & Destructor Documentation

◆ SymbolListDelegate()

SymbolListDelegate::SymbolListDelegate ( QWidget *  parent)

Member Function Documentation

◆ updateFonts()

void SymbolListDelegate::updateFonts ( )

◆ sizeHint()

virtual QSize SymbolListDelegate::sizeHint ( const QStyleOptionViewItem &  option,
const QModelIndex &  index 
) const
overridevirtual

◆ SymbolListModel

class SymbolListModel

Public Types

enum  SortType { SortAscendingAddresses , SortDescendingAddresses , SortAlphabeticallyAscending , SortAlphabeticallyDescending }
 
- 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 , 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 , 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
 

Signals

void afterListReset ()
 
void beforeListReset ()
 

Public Member Functions

 SymbolListModel (QWidget *parent, ViewFrame *view, BinaryViewRef data)
 
virtual ~SymbolListModel ()
 
virtual QModelIndex index (int row, int col, const QModelIndex &parent) const override
 
virtual QModelIndex parent (const QModelIndex &i) 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) const override
 
virtual QVariant data (const QModelIndex &i, int role) const override
 
virtual void OnAnalysisFunctionAdded (BinaryNinja::BinaryView *data, BinaryNinja::Function *func) override
 
virtual void OnAnalysisFunctionRemoved (BinaryNinja::BinaryView *data, BinaryNinja::Function *func) override
 
virtual void OnDataVariableAdded (BinaryNinja::BinaryView *data, const BinaryNinja::DataVariable &var) override
 
virtual void OnDataVariableRemoved (BinaryNinja::BinaryView *data, const BinaryNinja::DataVariable &var) override
 
virtual void OnSymbolAdded (BinaryNinja::BinaryView *data, BinaryNinja::Symbol *sym) override
 
virtual void OnSymbolUpdated (BinaryNinja::BinaryView *data, BinaryNinja::Symbol *sym) override
 
virtual void OnSymbolRemoved (BinaryNinja::BinaryView *data, BinaryNinja::Symbol *sym) override
 
void updateFonts ()
 
bool isValidType (const NamedObject &rec)
 
bool setCurrentObject (const NamedObject &rec)
 
bool setCurrentFunction (FunctionRef func)
 
QModelIndex findSymbol (const NamedObject &rec) const
 
QModelIndex getSymbolIndex (const std::deque< NamedObject >::const_iterator rec) const
 
QModelIndex findCurrentSymbol () const
 
NamedObject getNamedObjectForIndex (int i) const
 
void updateFunctions ()
 
void backgroundUpdate ()
 
void backgroundDestroy ()
 
bool hasSymbols () const
 
int getMaximumWidth () const
 
void setFilter (const std::string &filter)
 
void showExportedDataVars (bool show)
 
void showExportedFunctions (bool show)
 
void showLocalFunctions (bool show)
 
void showLocalDataVars (bool show)
 
void showImports (bool show)
 
void toggleExportedDataVars ()
 
void toggleExportedFunctions ()
 
void toggleLocalFunctions ()
 
void toggleLocalDataVars ()
 
void toggleImports ()
 
bool getShowExportedFunctions () const
 
bool getShowExportedDataVars () const
 
bool getShowLocalFunctions () const
 
bool getShowLocalDataVars () const
 
bool getShowImports () const
 
bool getShowMangled () const
 
void setShowMangled (bool show)
 
void sortSymbols (SortType type)
 
void setSortType (SortType type)
 
SortType getSortType () const
 
NamedObject getCurrentSym () const
 
bool checkTriggerFullUpdate ()
 
- Public Member Functions inherited from BinaryNinja::BinaryDataNotification
 BinaryDataNotification ()
 
 BinaryDataNotification (NotificationTypes notifications)
 
virtual ~BinaryDataNotification ()
 
BNBinaryDataNotificationGetCallbacks ()
 
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 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 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. More...
 
virtual void OnComponentAdded (BinaryView *data, Component *component)
 This notification is posted after a Component is added to the tree. More...
 
virtual void OnComponentRemoved (BinaryView *data, Component *formerParent, Component *component)
 This notification is posted after a Component is removed from the tree. More...
 
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. More...
 
virtual void OnComponentFunctionAdded (BinaryView *data, Component *component, Function *function)
 This notification is posted whenever a Function is added to a Component. More...
 
virtual void OnComponentFunctionRemoved (BinaryView *data, Component *component, Function *function)
 This notification is posted whenever a Function is removed from a Component. More...
 
virtual void OnComponentDataVariableAdded (BinaryView *data, Component *component, const DataVariable &var)
 This notification is posted whenever a DataVariable is added to a Component. More...
 
virtual void OnComponentDataVariableRemoved (BinaryView *data, Component *component, const DataVariable &var)
 This notification is posted whenever a DataVariable is removed from a Component. More...
 
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. More...
 
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. More...
 
virtual void OnTypeArchiveConnected (BinaryView *data, TypeArchive *archive)
 This notification is posted whenever a previously disconnected Type Archive attached to the Binary View is connected. More...
 
virtual void OnTypeArchiveDisconnected (BinaryView *data, TypeArchive *archive)
 This notification is posted whenever a previously connected Type Archive attached to the Binary View is disconnected. More...
 
virtual void OnUndoEntryAdded (BinaryView *data, UndoEntry *entry)
 This notification is posted whenever an entry is added to undo history. More...
 
virtual void OnUndoEntryTaken (BinaryView *data, UndoEntry *entry)
 This notification is posted whenever an action is undone. More...
 
virtual void OnRedoEntryTaken (BinaryView *data, UndoEntry *entry)
 This notification is posted whenever an action is redone. More...
 
virtual void OnRebased (BinaryView *oldView, BinaryView *newView)
 This notification is posted whenever a binary view is rebased. More...
 

Member Enumeration Documentation

◆ SortType

Enumerator
SortAscendingAddresses 
SortDescendingAddresses 
SortAlphabeticallyAscending 
SortAlphabeticallyDescending 

Constructor & Destructor Documentation

◆ SymbolListModel()

SymbolListModel::SymbolListModel ( QWidget *  parent,
ViewFrame view,
BinaryViewRef  data 
)

◆ ~SymbolListModel()

virtual SymbolListModel::~SymbolListModel ( )
virtual

Member Function Documentation

◆ index()

virtual QModelIndex SymbolListModel::index ( int  row,
int  col,
const QModelIndex &  parent 
) const
overridevirtual

◆ parent()

virtual QModelIndex SymbolListModel::parent ( const QModelIndex &  i) const
overridevirtual

◆ hasChildren()

virtual bool SymbolListModel::hasChildren ( const QModelIndex &  parent) const
overridevirtual

◆ rowCount()

virtual int SymbolListModel::rowCount ( const QModelIndex &  parent = QModelIndex()) const
overridevirtual

◆ columnCount()

virtual int SymbolListModel::columnCount ( const QModelIndex &  parent) const
overridevirtual

◆ data()

virtual QVariant SymbolListModel::data ( const QModelIndex &  i,
int  role 
) const
overridevirtual

◆ OnAnalysisFunctionAdded()

virtual void SymbolListModel::OnAnalysisFunctionAdded ( BinaryNinja::BinaryView data,
BinaryNinja::Function func 
)
overridevirtual

◆ OnAnalysisFunctionRemoved()

virtual void SymbolListModel::OnAnalysisFunctionRemoved ( BinaryNinja::BinaryView data,
BinaryNinja::Function func 
)
overridevirtual

◆ OnDataVariableAdded()

virtual void SymbolListModel::OnDataVariableAdded ( BinaryNinja::BinaryView data,
const BinaryNinja::DataVariable var 
)
overridevirtual

◆ OnDataVariableRemoved()

virtual void SymbolListModel::OnDataVariableRemoved ( BinaryNinja::BinaryView data,
const BinaryNinja::DataVariable var 
)
overridevirtual

◆ OnSymbolAdded()

virtual void SymbolListModel::OnSymbolAdded ( BinaryNinja::BinaryView data,
BinaryNinja::Symbol sym 
)
overridevirtual

◆ OnSymbolUpdated()

virtual void SymbolListModel::OnSymbolUpdated ( BinaryNinja::BinaryView data,
BinaryNinja::Symbol sym 
)
overridevirtual

◆ OnSymbolRemoved()

virtual void SymbolListModel::OnSymbolRemoved ( BinaryNinja::BinaryView data,
BinaryNinja::Symbol sym 
)
overridevirtual

◆ updateFonts()

void SymbolListModel::updateFonts ( )

◆ isValidType()

bool SymbolListModel::isValidType ( const NamedObject rec)

◆ setCurrentObject()

bool SymbolListModel::setCurrentObject ( const NamedObject rec)

◆ setCurrentFunction()

bool SymbolListModel::setCurrentFunction ( FunctionRef  func)

◆ findSymbol()

QModelIndex SymbolListModel::findSymbol ( const NamedObject rec) const

◆ getSymbolIndex()

QModelIndex SymbolListModel::getSymbolIndex ( const std::deque< NamedObject >::const_iterator  rec) const

◆ findCurrentSymbol()

QModelIndex SymbolListModel::findCurrentSymbol ( ) const

◆ getNamedObjectForIndex()

NamedObject SymbolListModel::getNamedObjectForIndex ( int  i) const

◆ updateFunctions()

void SymbolListModel::updateFunctions ( )

◆ backgroundUpdate()

void SymbolListModel::backgroundUpdate ( )

◆ backgroundDestroy()

void SymbolListModel::backgroundDestroy ( )

◆ hasSymbols()

bool SymbolListModel::hasSymbols ( ) const

◆ getMaximumWidth()

int SymbolListModel::getMaximumWidth ( ) const
inline

◆ setFilter()

void SymbolListModel::setFilter ( const std::string &  filter)

◆ showExportedDataVars()

void SymbolListModel::showExportedDataVars ( bool  show)
inline

◆ showExportedFunctions()

void SymbolListModel::showExportedFunctions ( bool  show)
inline

◆ showLocalFunctions()

void SymbolListModel::showLocalFunctions ( bool  show)
inline

◆ showLocalDataVars()

void SymbolListModel::showLocalDataVars ( bool  show)
inline

◆ showImports()

void SymbolListModel::showImports ( bool  show)
inline

◆ toggleExportedDataVars()

void SymbolListModel::toggleExportedDataVars ( )
inline

◆ toggleExportedFunctions()

void SymbolListModel::toggleExportedFunctions ( )
inline

◆ toggleLocalFunctions()

void SymbolListModel::toggleLocalFunctions ( )
inline

◆ toggleLocalDataVars()

void SymbolListModel::toggleLocalDataVars ( )
inline

◆ toggleImports()

void SymbolListModel::toggleImports ( )
inline

◆ getShowExportedFunctions()

bool SymbolListModel::getShowExportedFunctions ( ) const
inline

◆ getShowExportedDataVars()

bool SymbolListModel::getShowExportedDataVars ( ) const
inline

◆ getShowLocalFunctions()

bool SymbolListModel::getShowLocalFunctions ( ) const
inline

◆ getShowLocalDataVars()

bool SymbolListModel::getShowLocalDataVars ( ) const
inline

◆ getShowImports()

bool SymbolListModel::getShowImports ( ) const
inline

◆ getShowMangled()

bool SymbolListModel::getShowMangled ( ) const
inline

◆ setShowMangled()

void SymbolListModel::setShowMangled ( bool  show)
inline

◆ sortSymbols()

void SymbolListModel::sortSymbols ( SortType  type)

◆ setSortType()

void SymbolListModel::setSortType ( SortType  type)
inline

◆ getSortType()

SortType SymbolListModel::getSortType ( ) const
inline

◆ getCurrentSym()

NamedObject SymbolListModel::getCurrentSym ( ) const
inline

◆ checkTriggerFullUpdate()

bool SymbolListModel::checkTriggerFullUpdate ( )

◆ afterListReset

void SymbolListModel::afterListReset ( )
signal

◆ beforeListReset

void SymbolListModel::beforeListReset ( )
signal

◆ SymbolListModel::NamedObject

struct SymbolListModel::NamedObject

Public Member Functions

 NamedObject ()
 
 NamedObject (SymbolRef s)
 
 NamedObject (const NamedObject &n)
 
NamedObjectoperator= (const NamedObject &n)
 
 NamedObject (NamedObject &&n)
 
NamedObjectoperator= (NamedObject &&n)
 
bool operator== (const NamedObject &other) const
 
bool operator!= (const NamedObject &other) const
 
bool operator< (const NamedObject &other) const
 
bool operator> (const NamedObject &other) const
 
bool isFunc () const
 
uint64_t getStart () const
 
std::string getName () const
 
std::string getRawName () const
 
BNSymbolType getType () const
 
BNSymbolBinding getBinding () const
 
bool lessThanAlpha (const NamedObject &other) const
 
bool lessThanAlphaRaw (const NamedObject &other) const
 

Public Attributes

std::string name
 
std::string rawName
 
uint64_t address
 
BNSymbolType type
 
BNSymbolBinding binding
 

Constructor & Destructor Documentation

◆ NamedObject() [1/4]

SymbolListModel::NamedObject::NamedObject ( )
inline

◆ NamedObject() [2/4]

SymbolListModel::NamedObject::NamedObject ( SymbolRef  s)
inline

◆ NamedObject() [3/4]

SymbolListModel::NamedObject::NamedObject ( const NamedObject n)
inline

◆ NamedObject() [4/4]

SymbolListModel::NamedObject::NamedObject ( NamedObject &&  n)
inline

Member Function Documentation

◆ operator=() [1/2]

NamedObject & SymbolListModel::NamedObject::operator= ( const NamedObject n)
inline

◆ operator=() [2/2]

NamedObject & SymbolListModel::NamedObject::operator= ( NamedObject &&  n)
inline

◆ operator==()

bool SymbolListModel::NamedObject::operator== ( const NamedObject other) const
inline

◆ operator!=()

bool SymbolListModel::NamedObject::operator!= ( const NamedObject other) const
inline

◆ operator<()

bool SymbolListModel::NamedObject::operator< ( const NamedObject other) const
inline

◆ operator>()

bool SymbolListModel::NamedObject::operator> ( const NamedObject other) const
inline

◆ isFunc()

bool SymbolListModel::NamedObject::isFunc ( ) const
inline

◆ getStart()

uint64_t SymbolListModel::NamedObject::getStart ( ) const
inline

◆ getName()

std::string SymbolListModel::NamedObject::getName ( ) const
inline

◆ getRawName()

std::string SymbolListModel::NamedObject::getRawName ( ) const
inline

◆ getType()

BNSymbolType SymbolListModel::NamedObject::getType ( ) const
inline

◆ getBinding()

BNSymbolBinding SymbolListModel::NamedObject::getBinding ( ) const
inline

◆ lessThanAlpha()

bool SymbolListModel::NamedObject::lessThanAlpha ( const NamedObject other) const
inline

◆ lessThanAlphaRaw()

bool SymbolListModel::NamedObject::lessThanAlphaRaw ( const NamedObject other) const
inline

Member Data Documentation

◆ name

std::string SymbolListModel::NamedObject::name

◆ rawName

std::string SymbolListModel::NamedObject::rawName

◆ address

uint64_t SymbolListModel::NamedObject::address

◆ type

BNSymbolType SymbolListModel::NamedObject::type

◆ binding

BNSymbolBinding SymbolListModel::NamedObject::binding

◆ SymbolList

class SymbolList

Public Member Functions

 SymbolList (SymbolsView *parent, ViewFrame *frame, BinaryViewRef data)
 
void updateFonts ()
 
void setCurrentFunction (FunctionRef func)
 
virtual void scrollToFirstItem () override
 
virtual void scrollToCurrentItem () override
 
virtual void selectFirstItem () override
 
virtual void activateFirstItem () override
 
virtual void setFilter (const std::string &filter) override
 
bool hasSymbols ()
 
virtual void copy ()
 
virtual void paste ()
 
virtual bool canCopy ()
 
void find ()
 
bool getShowExportedFunctions () const
 
bool getShowExportedDataVars () const
 
bool getShowLocalFunctions () const
 
bool getShowLocalDataVars () const
 
bool getShowImports () const
 
bool getShowMangled () const
 
void toggleExportedFunctions ()
 
void toggleExportedDataVars ()
 
void toggleLocalFunctions ()
 
void toggleLocalDataVars ()
 
void toggleImports ()
 
- Public Member Functions inherited from FilterTarget
virtual ~FilterTarget ()
 
virtual void setFilter (const std::string &filter)=0
 
virtual void scrollToFirstItem ()=0
 
virtual void scrollToCurrentItem ()=0
 
virtual void selectFirstItem ()=0
 
virtual void activateFirstItem ()=0
 
virtual void closeFilter ()
 

Protected Member Functions

virtual void focusOutEvent (QFocusEvent *event) override
 
virtual void keyPressEvent (QKeyEvent *event) override
 
virtual bool event (QEvent *event) override
 
virtual void selectionChanged (const QItemSelection &selected, const QItemSelection &deselected) override
 

Constructor & Destructor Documentation

◆ SymbolList()

SymbolList::SymbolList ( SymbolsView parent,
ViewFrame frame,
BinaryViewRef  data 
)

Member Function Documentation

◆ updateFonts()

void SymbolList::updateFonts ( )

◆ setCurrentFunction()

void SymbolList::setCurrentFunction ( FunctionRef  func)

◆ scrollToFirstItem()

virtual void SymbolList::scrollToFirstItem ( )
overridevirtual

Implements FilterTarget.

◆ scrollToCurrentItem()

virtual void SymbolList::scrollToCurrentItem ( )
overridevirtual

Implements FilterTarget.

◆ selectFirstItem()

virtual void SymbolList::selectFirstItem ( )
overridevirtual

Implements FilterTarget.

◆ activateFirstItem()

virtual void SymbolList::activateFirstItem ( )
overridevirtual

Implements FilterTarget.

◆ setFilter()

virtual void SymbolList::setFilter ( const std::string &  filter)
overridevirtual

Implements FilterTarget.

◆ hasSymbols()

bool SymbolList::hasSymbols ( )

◆ copy()

virtual void SymbolList::copy ( )
virtual

◆ paste()

virtual void SymbolList::paste ( )
virtual

◆ canCopy()

virtual bool SymbolList::canCopy ( )
virtual

◆ find()

void SymbolList::find ( )

◆ getShowExportedFunctions()

bool SymbolList::getShowExportedFunctions ( ) const
inline

◆ getShowExportedDataVars()

bool SymbolList::getShowExportedDataVars ( ) const
inline

◆ getShowLocalFunctions()

bool SymbolList::getShowLocalFunctions ( ) const
inline

◆ getShowLocalDataVars()

bool SymbolList::getShowLocalDataVars ( ) const
inline

◆ getShowImports()

bool SymbolList::getShowImports ( ) const
inline

◆ getShowMangled()

bool SymbolList::getShowMangled ( ) const
inline

◆ toggleExportedFunctions()

void SymbolList::toggleExportedFunctions ( )
inline

◆ toggleExportedDataVars()

void SymbolList::toggleExportedDataVars ( )
inline

◆ toggleLocalFunctions()

void SymbolList::toggleLocalFunctions ( )
inline

◆ toggleLocalDataVars()

void SymbolList::toggleLocalDataVars ( )
inline

◆ toggleImports()

void SymbolList::toggleImports ( )
inline

◆ focusOutEvent()

virtual void SymbolList::focusOutEvent ( QFocusEvent *  event)
overrideprotectedvirtual

◆ keyPressEvent()

virtual void SymbolList::keyPressEvent ( QKeyEvent *  event)
overrideprotectedvirtual

◆ event()

virtual bool SymbolList::event ( QEvent *  event)
overrideprotectedvirtual

◆ selectionChanged()

virtual void SymbolList::selectionChanged ( const QItemSelection &  selected,
const QItemSelection &  deselected 
)
overrideprotectedvirtual