IDAPython 8.4
Loading...
Searching...
No Matches
FlowChart Class Reference

Flowchart class used to determine basic blocks. More...

Inheritance diagram for FlowChart:

Public Member Functions

 __init__ (self, f=None, bounds=None, flags=0)
 Constructor.
 
 refresh (self)
 Refreshes the flow chart.
 
 __iter__ (self)
 
 __getitem__ (self, index)
 Returns a basic block.
 

Protected Member Functions

 _getitem (self, index)
 

Protected Attributes

 _q = qflow_chart_t("", f, bounds[0], bounds[1], flags)
 

Properties

 size = property(lambda self: self._q.size())
 

Detailed Description

Check ex_gdl_qflow_chart.py for sample usage.

Constructor & Destructor Documentation

◆ __init__()

__init__ ( self,
f = None,
bounds = None,
flags = 0 )
Parameters
fA func_t type, use get_func(ea) to get a reference
boundsA tuple of the form (start, end). Used if "f" is None
flagsone of the FC_xxxx flags.

Member Function Documentation

◆ __getitem__()

__getitem__ ( self,
index )
Returns
: BasicBlock

◆ __iter__()

__iter__ ( self)

◆ _getitem()

_getitem ( self,
index )
protected

◆ refresh()

refresh ( self)

Member Data Documentation

◆ _q

_q = qflow_chart_t("", f, bounds[0], bounds[1], flags)
protected

Property Documentation

◆ size

size = property(lambda self: self._q.size())
static

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