StringsListModel Class Reference

Public Member Functions

 StringsListModel (QWidget *parent, BinaryViewRef data)
 
virtual ~StringsListModel ()
 
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) const override
 
virtual int columnCount (const QModelIndex &parent) const override
 
virtual QVariant data (const QModelIndex &i, int role) const override
 
BNStringReference getStringAt (const QModelIndex &i)
 
QModelIndex findString (const BNStringReference &ref)
 
virtual void OnStringFound (BinaryNinja::BinaryView *data, BNStringType type, uint64_t offset, size_t len) override
 
virtual void OnStringRemoved (BinaryNinja::BinaryView *data, BNStringType type, uint64_t offset, size_t len) override
 
void updateStrings ()
 
void setFilter (const std::string &filter)
 
- Public Member Functions inherited from BinaryNinja::BinaryDataNotification
 BinaryDataNotification ()
 
virtual ~BinaryDataNotification ()
 
BNBinaryDataNotificationGetCallbacks ()
 
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 OnTagUpdated (BinaryView *view, const TagReference &tagRef)
 
virtual void OnTagRemoved (BinaryView *view, const TagReference &tagRef)
 
virtual void OnSymbolAdded (BinaryView *view, Symbol *sym)
 
virtual void OnSymbolUpdated (BinaryView *view, Symbol *sym)
 
virtual void OnSymbolRemoved (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)
 

Constructor & Destructor Documentation

◆ StringsListModel()

StringsListModel::StringsListModel ( QWidget *  parent,
BinaryViewRef  data 
)

◆ ~StringsListModel()

virtual StringsListModel::~StringsListModel ( )
virtual

Member Function Documentation

◆ columnCount()

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

◆ data()

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

◆ findString()

QModelIndex StringsListModel::findString ( const BNStringReference ref)

◆ getStringAt()

BNStringReference StringsListModel::getStringAt ( const QModelIndex &  i)

◆ hasChildren()

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

◆ index()

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

◆ OnStringFound()

virtual void StringsListModel::OnStringFound ( BinaryNinja::BinaryView data,
BNStringType  type,
uint64_t  offset,
size_t  len 
)
overridevirtual

◆ OnStringRemoved()

virtual void StringsListModel::OnStringRemoved ( BinaryNinja::BinaryView data,
BNStringType  type,
uint64_t  offset,
size_t  len 
)
overridevirtual

◆ parent()

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

◆ rowCount()

virtual int StringsListModel::rowCount ( const QModelIndex &  parent) const
overridevirtual

◆ setFilter()

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

◆ updateStrings()

void StringsListModel::updateStrings ( )

The documentation for this class was generated from the following file: