FlowGraphWidget

Detailed Description

Classes

class  GraphLayoutCompleteEvent
 
class  FlowGraphHistoryEntry
 

Class Documentation

◆ GraphLayoutCompleteEvent

class GraphLayoutCompleteEvent

Public Member Functions

 GraphLayoutCompleteEvent (QEvent::Type type, const FlowGraphRef &graph)
 
FlowGraphRef GetGraph ()
 

Constructor & Destructor Documentation

◆ GraphLayoutCompleteEvent()

GraphLayoutCompleteEvent::GraphLayoutCompleteEvent ( QEvent::Type  type,
const FlowGraphRef graph 
)

Member Function Documentation

◆ GetGraph()

FlowGraphRef GraphLayoutCompleteEvent::GetGraph ( )
inline

◆ FlowGraphHistoryEntry

class FlowGraphHistoryEntry

Public Member Functions

PlatformRef getPlatform () const
 
ArchitectureRef getArchitecture () const
 
uint64_t getFunction () const
 
int getScrollX () const
 
int getScrollY () const
 
float getScale () const
 
uint64_t getCurrentAddress () const
 
const HighlightTokenStategetHighlightTokenState () const
 
void setPlatform (PlatformRef platform)
 
void setArchitecture (ArchitectureRef arch)
 
void setFunction (uint64_t f)
 
void setScrollX (int x)
 
void setScrollY (int y)
 
void setScale (float s)
 
void setCurrentAddress (uint64_t a)
 
void setHighlightTokenState (const HighlightTokenState &state)
 
virtual Json::Value serialize () const override
 Serialize to json representation. More...
 
virtual bool deserialize (const Json::Value &value) override
 Deserialize from json representation. More...
 
- Public Member Functions inherited from HistoryEntry
virtual ~HistoryEntry ()
 
QString getViewType () const
 
void setViewType (const QString &type)
 
virtual Json::Value serialize () const
 Serialize to json representation. More...
 
virtual bool deserialize (const Json::Value &value)
 Deserialize from json representation. More...
 
- Public Member Functions inherited from BinaryNinja::RefCountObject
 RefCountObject ()
 
virtual ~RefCountObject ()
 
RefCountObjectGetObject ()
 
void AddRef ()
 
void Release ()
 

Additional Inherited Members

- Static Public Member Functions inherited from BinaryNinja::RefCountObject
static RefCountObjectGetObject (RefCountObject *obj)
 
- Public Attributes inherited from BinaryNinja::RefCountObject
std::atomic< int > m_refs
 

Member Function Documentation

◆ getPlatform()

PlatformRef FlowGraphHistoryEntry::getPlatform ( ) const
inline

◆ getArchitecture()

ArchitectureRef FlowGraphHistoryEntry::getArchitecture ( ) const
inline

◆ getFunction()

uint64_t FlowGraphHistoryEntry::getFunction ( ) const
inline

◆ getScrollX()

int FlowGraphHistoryEntry::getScrollX ( ) const
inline

◆ getScrollY()

int FlowGraphHistoryEntry::getScrollY ( ) const
inline

◆ getScale()

float FlowGraphHistoryEntry::getScale ( ) const
inline

◆ getCurrentAddress()

uint64_t FlowGraphHistoryEntry::getCurrentAddress ( ) const
inline

◆ getHighlightTokenState()

const HighlightTokenState & FlowGraphHistoryEntry::getHighlightTokenState ( ) const
inline

◆ setPlatform()

void FlowGraphHistoryEntry::setPlatform ( PlatformRef  platform)
inline

◆ setArchitecture()

void FlowGraphHistoryEntry::setArchitecture ( ArchitectureRef  arch)
inline

◆ setFunction()

void FlowGraphHistoryEntry::setFunction ( uint64_t  f)
inline

◆ setScrollX()

void FlowGraphHistoryEntry::setScrollX ( int  x)
inline

◆ setScrollY()

void FlowGraphHistoryEntry::setScrollY ( int  y)
inline

◆ setScale()

void FlowGraphHistoryEntry::setScale ( float  s)
inline

◆ setCurrentAddress()

void FlowGraphHistoryEntry::setCurrentAddress ( uint64_t  a)
inline

◆ setHighlightTokenState()

void FlowGraphHistoryEntry::setHighlightTokenState ( const HighlightTokenState state)
inline

◆ serialize()

virtual Json::Value FlowGraphHistoryEntry::serialize ( ) const
overridevirtual

Serialize to json representation.

Returns
Json representation of history entry. In the Python api, this must be a dict.

Reimplemented from HistoryEntry.

Reimplemented in DisassemblyHistoryEntry.

◆ deserialize()

virtual bool FlowGraphHistoryEntry::deserialize ( const Json::Value &  value)
overridevirtual

Deserialize from json representation.

This method should clear any previously entered data on the HistoryEntry as if it were newly created.

Parameters
valueJson representation of history entry. In the Python api, this will be a dict.
Returns
If deserialization was successful

Reimplemented from HistoryEntry.

Reimplemented in DisassemblyHistoryEntry.