Loading...
Searching...
No Matches
BinaryNinja::FlowGraphLayout Class Reference

Public Member Functions

 FlowGraphLayout (const std::string &name)
 
std::string GetName () const
 
virtual bool Layout (Ref< FlowGraph > graph, std::vector< Ref< FlowGraphNode > > &nodes)
 
- Public Member Functions inherited from BinaryNinja::StaticCoreRefCountObject< BNFlowGraphLayout >
 StaticCoreRefCountObject ()
 
virtual ~StaticCoreRefCountObject ()
 
BNFlowGraphLayoutGetObject () const
 
void AddRef ()
 
void Release ()
 
void AddRefForRegistration ()
 
void AddRefForCallback ()
 
void ReleaseForCallback ()
 

Static Public Member Functions

static void Register (FlowGraphLayout *layout)
 
static Ref< FlowGraphLayoutGetByName (const std::string &name)
 
static std::vector< Ref< FlowGraphLayout > > GetFlowGraphLayouts ()
 
- Static Public Member Functions inherited from BinaryNinja::StaticCoreRefCountObject< BNFlowGraphLayout >
static BNFlowGraphLayoutGetObject (StaticCoreRefCountObject *obj)
 

Protected Member Functions

 FlowGraphLayout (BNFlowGraphLayout *layout)
 

Static Protected Member Functions

static bool LayoutCallback (void *ctxt, BNFlowGraph *graph, BNFlowGraphNode **nodes, size_t nodeCount)
 

Protected Attributes

std::string m_nameForRegister
 

Additional Inherited Members

- Public Attributes inherited from BinaryNinja::StaticCoreRefCountObject< BNFlowGraphLayout >
std::atomic< int > m_refs
 
BNFlowGraphLayoutm_object
 

Constructor & Destructor Documentation

◆ FlowGraphLayout() [1/2]

FlowGraphLayout::FlowGraphLayout ( BNFlowGraphLayout * layout)
protected

◆ FlowGraphLayout() [2/2]

BinaryNinja::FlowGraphLayout::FlowGraphLayout ( const std::string & name)

Member Function Documentation

◆ LayoutCallback()

bool FlowGraphLayout::LayoutCallback ( void * ctxt,
BNFlowGraph * graph,
BNFlowGraphNode ** nodes,
size_t nodeCount )
staticprotected

◆ Register()

void FlowGraphLayout::Register ( FlowGraphLayout * layout)
static

◆ GetByName()

Ref< FlowGraphLayout > FlowGraphLayout::GetByName ( const std::string & name)
static

◆ GetFlowGraphLayouts()

vector< Ref< FlowGraphLayout > > FlowGraphLayout::GetFlowGraphLayouts ( )
static

◆ GetName()

string FlowGraphLayout::GetName ( ) const

◆ Layout()

bool FlowGraphLayout::Layout ( Ref< FlowGraph > graph,
std::vector< Ref< FlowGraphNode > > & nodes )
virtual

Member Data Documentation

◆ m_nameForRegister

std::string BinaryNinja::FlowGraphLayout::m_nameForRegister
protected