BinaryNinja::CoreFlowGraph Class Reference

Public Member Functions

 CoreFlowGraph (BNFlowGraph *graph)
 
virtual bool HasUpdates () const override
 
virtual Ref< FlowGraphUpdate () override
 
- Public Member Functions inherited from BinaryNinja::FlowGraph
 FlowGraph ()
 
Ref< FunctionGetFunction () const
 
Ref< BinaryViewGetView () const
 
void SetFunction (Function *func)
 
void SetView (BinaryView *view)
 
int GetHorizontalNodeMargin () const
 
int GetVerticalNodeMargin () const
 
void SetNodeMargins (int horiz, int vert)
 
Ref< FlowGraphLayoutRequestStartLayout (const std::function< void()> &func)
 
bool IsLayoutComplete ()
 
std::vector< Ref< FlowGraphNode > > GetNodes ()
 
Ref< FlowGraphNodeGetNode (size_t i)
 
bool HasNodes () const
 
size_t AddNode (FlowGraphNode *node)
 
int GetWidth () const
 
int GetHeight () const
 
std::vector< Ref< FlowGraphNode > > GetNodesInRegion (int left, int top, int right, int bottom)
 
bool IsILGraph () const
 
bool IsLowLevelILGraph () const
 
bool IsMediumLevelILGraph () const
 
bool IsHighLevelILGraph () const
 
Ref< LowLevelILFunctionGetLowLevelILFunction () const
 
Ref< MediumLevelILFunctionGetMediumLevelILFunction () const
 
Ref< HighLevelILFunctionGetHighLevelILFunction () const
 
void SetLowLevelILFunction (LowLevelILFunction *func)
 
void SetMediumLevelILFunction (MediumLevelILFunction *func)
 
void SetHighLevelILFunction (HighLevelILFunction *func)
 
void Show (const std::string &title)
 
virtual bool HasUpdates () const
 
virtual Ref< FlowGraphUpdate ()
 
void SetOption (BNFlowGraphOption option, bool value=true)
 
bool IsOptionSet (BNFlowGraphOption option)
 
- Public Member Functions inherited from BinaryNinja::CoreRefCountObject< BNFlowGraph, BNNewFlowGraphReference, BNFreeFlowGraph >
 CoreRefCountObject ()
 
virtual ~CoreRefCountObject ()
 
BNFlowGraph * GetObject () const
 
void AddRef ()
 
void Release ()
 
void AddRefForRegistration ()
 
void ReleaseForRegistration ()
 

Additional Inherited Members

- Static Public Member Functions inherited from BinaryNinja::CoreRefCountObject< BNFlowGraph, BNNewFlowGraphReference, BNFreeFlowGraph >
static BNFlowGraph * GetObject (CoreRefCountObject *obj)
 
- Public Attributes inherited from BinaryNinja::CoreRefCountObject< BNFlowGraph, BNNewFlowGraphReference, BNFreeFlowGraph >
std::atomic< int > m_refs
 
bool m_registeredRef
 
BNFlowGraph * m_object
 
- Protected Member Functions inherited from BinaryNinja::FlowGraph
 FlowGraph (BNFlowGraph *graph)
 
void FinishPrepareForLayout ()
 
virtual void PrepareForLayout ()
 
virtual void PopulateNodes ()
 
virtual void CompleteLayout ()
 
- Protected Attributes inherited from BinaryNinja::FlowGraph
bool m_queryMode = false
 

Constructor & Destructor Documentation

◆ CoreFlowGraph()

CoreFlowGraph::CoreFlowGraph ( BNFlowGraph *  graph)

Member Function Documentation

◆ HasUpdates()

bool CoreFlowGraph::HasUpdates ( ) const
overridevirtual

Reimplemented from BinaryNinja::FlowGraph.

◆ Update()

Ref< FlowGraph > CoreFlowGraph::Update ( )
overridevirtual

Reimplemented from BinaryNinja::FlowGraph.


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