FeatureMap Class Reference

Signals

void notifyThemeUpdated ()
 

Public Member Functions

 FeatureMap (SplitPaneWidget *owner, BinaryViewRef data, bool vertical=true)
 
virtual ~FeatureMap ()
 
ViewgetBinaryDataNavigableView (bool preferGraphView=false)
 
void backgroundRefresh ()
 
std::pair< uint64_t, bool > getLinearOffsetForAddress (uint64_t addr)
 
void notifyOffsetChanged (uint64_t offset)
 
void notifyThemeChanged ()
 
void renderDataVariable (const BinaryNinja::DataVariable &var, bool ignoreString=false)
 
virtual void OnAnalysisFunctionAdded (BinaryNinja::BinaryView *data, BinaryNinja::Function *func) override
 
virtual void OnAnalysisFunctionRemoved (BinaryNinja::BinaryView *data, BinaryNinja::Function *func) override
 
virtual void OnAnalysisFunctionUpdated (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 OnDataVariableUpdated (BinaryNinja::BinaryView *data, const BinaryNinja::DataVariable &var) override
 
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 drawImageRect (uint64_t addr, size_t len, uint8_t color)
 
virtual QSize sizeHint () const override
 
- 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)
 

Protected Member Functions

virtual void contextMenuEvent (QContextMenuEvent *event) override
 
virtual void mouseMoveEvent (QMouseEvent *event) override
 
virtual void mousePressEvent (QMouseEvent *event) override
 
virtual void resizeEvent (QResizeEvent *event) override
 
virtual void paintEvent (QPaintEvent *event) override
 
void scrollTo (int x, int y, bool addHistoryEntry=false)
 

Constructor & Destructor Documentation

◆ FeatureMap()

FeatureMap::FeatureMap ( SplitPaneWidget owner,
BinaryViewRef  data,
bool  vertical = true 
)

◆ ~FeatureMap()

virtual FeatureMap::~FeatureMap ( )
virtual

Member Function Documentation

◆ backgroundRefresh()

void FeatureMap::backgroundRefresh ( )

◆ contextMenuEvent()

virtual void FeatureMap::contextMenuEvent ( QContextMenuEvent *  event)
overrideprotectedvirtual

◆ drawImageRect()

void FeatureMap::drawImageRect ( uint64_t  addr,
size_t  len,
uint8_t  color 
)

◆ getBinaryDataNavigableView()

View * FeatureMap::getBinaryDataNavigableView ( bool  preferGraphView = false)

◆ getLinearOffsetForAddress()

std::pair< uint64_t, bool > FeatureMap::getLinearOffsetForAddress ( uint64_t  addr)

◆ mouseMoveEvent()

virtual void FeatureMap::mouseMoveEvent ( QMouseEvent *  event)
overrideprotectedvirtual

◆ mousePressEvent()

virtual void FeatureMap::mousePressEvent ( QMouseEvent *  event)
overrideprotectedvirtual

◆ notifyOffsetChanged()

void FeatureMap::notifyOffsetChanged ( uint64_t  offset)

◆ notifyThemeChanged()

void FeatureMap::notifyThemeChanged ( )

◆ notifyThemeUpdated

void FeatureMap::notifyThemeUpdated ( )
signal

◆ OnAnalysisFunctionAdded()

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

◆ OnAnalysisFunctionRemoved()

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

◆ OnAnalysisFunctionUpdated()

virtual void FeatureMap::OnAnalysisFunctionUpdated ( BinaryNinja::BinaryView data,
BinaryNinja::Function func 
)
overridevirtual

◆ OnDataVariableAdded()

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

◆ OnDataVariableRemoved()

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

◆ OnDataVariableUpdated()

virtual void FeatureMap::OnDataVariableUpdated ( BinaryNinja::BinaryView data,
const BinaryNinja::DataVariable var 
)
overridevirtual

◆ OnStringFound()

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

◆ OnStringRemoved()

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

◆ paintEvent()

virtual void FeatureMap::paintEvent ( QPaintEvent *  event)
overrideprotectedvirtual

◆ renderDataVariable()

void FeatureMap::renderDataVariable ( const BinaryNinja::DataVariable var,
bool  ignoreString = false 
)

◆ resizeEvent()

virtual void FeatureMap::resizeEvent ( QResizeEvent *  event)
overrideprotectedvirtual

◆ scrollTo()

void FeatureMap::scrollTo ( int  x,
int  y,
bool  addHistoryEntry = false 
)
protected

◆ sizeHint()

virtual QSize FeatureMap::sizeHint ( ) const
overridevirtual

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