BinaryNinja::FlowGraphNode Class Reference

Public Member Functions

 FlowGraphNode (FlowGraph *graph)
 
 FlowGraphNode (BNFlowGraphNode *node)
 
Ref< FlowGraphGetGraph () const
 
Ref< BasicBlockGetBasicBlock () const
 
void SetBasicBlock (BasicBlock *block)
 
int GetX () const
 
int GetY () const
 
int GetWidth () const
 
int GetHeight () const
 
const std::vector< DisassemblyTextLine > & GetLines ()
 
void SetLines (const std::vector< DisassemblyTextLine > &lines)
 
const std::vector< FlowGraphEdge > & GetOutgoingEdges ()
 
const std::vector< FlowGraphEdge > & GetIncomingEdges ()
 
void AddOutgoingEdge (BNBranchType type, FlowGraphNode *target, BNEdgeStyle edgeStyle=BNEdgeStyle())
 
BNHighlightColor GetHighlight () const
 
void SetHighlight (const BNHighlightColor &color)
 
bool IsValidForGraph (FlowGraph *graph) const
 
- Public Member Functions inherited from BinaryNinja::CoreRefCountObject< BNFlowGraphNode, BNNewFlowGraphNodeReference, BNFreeFlowGraphNode >
 CoreRefCountObject ()
 
virtual ~CoreRefCountObject ()
 
BNFlowGraphNode * GetObject () const
 
void AddRef ()
 
void Release ()
 
void AddRefForRegistration ()
 
void ReleaseForRegistration ()
 

Additional Inherited Members

- Static Public Member Functions inherited from BinaryNinja::CoreRefCountObject< BNFlowGraphNode, BNNewFlowGraphNodeReference, BNFreeFlowGraphNode >
static BNFlowGraphNode * GetObject (CoreRefCountObject *obj)
 
- Public Attributes inherited from BinaryNinja::CoreRefCountObject< BNFlowGraphNode, BNNewFlowGraphNodeReference, BNFreeFlowGraphNode >
std::atomic< int > m_refs
 
bool m_registeredRef
 
BNFlowGraphNode * m_object
 

Constructor & Destructor Documentation

◆ FlowGraphNode() [1/2]

FlowGraphNode::FlowGraphNode ( FlowGraph graph)

◆ FlowGraphNode() [2/2]

FlowGraphNode::FlowGraphNode ( BNFlowGraphNode *  node)

Member Function Documentation

◆ AddOutgoingEdge()

void FlowGraphNode::AddOutgoingEdge ( BNBranchType  type,
FlowGraphNode target,
BNEdgeStyle  edgeStyle = BNEdgeStyle() 
)

◆ GetBasicBlock()

Ref< BasicBlock > FlowGraphNode::GetBasicBlock ( ) const

◆ GetGraph()

Ref< FlowGraph > FlowGraphNode::GetGraph ( ) const

◆ GetHeight()

int FlowGraphNode::GetHeight ( ) const

◆ GetHighlight()

BNHighlightColor FlowGraphNode::GetHighlight ( ) const

◆ GetIncomingEdges()

const vector< FlowGraphEdge > & FlowGraphNode::GetIncomingEdges ( )

◆ GetLines()

const vector< DisassemblyTextLine > & FlowGraphNode::GetLines ( )

◆ GetOutgoingEdges()

const vector< FlowGraphEdge > & FlowGraphNode::GetOutgoingEdges ( )

◆ GetWidth()

int FlowGraphNode::GetWidth ( ) const

◆ GetX()

int FlowGraphNode::GetX ( ) const

◆ GetY()

int FlowGraphNode::GetY ( ) const

◆ IsValidForGraph()

bool FlowGraphNode::IsValidForGraph ( FlowGraph graph) const

◆ SetBasicBlock()

void FlowGraphNode::SetBasicBlock ( BasicBlock block)

◆ SetHighlight()

void FlowGraphNode::SetHighlight ( const BNHighlightColor color)

◆ SetLines()

void FlowGraphNode::SetLines ( const std::vector< DisassemblyTextLine > &  lines)

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