Module ida_gdl :: Class FlowChart
[frames] | no frames]

Class FlowChart

object --+
         |
        FlowChart

Flowchart class used to determine basic blocks. Check ex_gdl_qflow_chart.py for sample usage.

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

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties
  size

Inherited from object: __class__

Method Details

__getitem__(self, index)
(Indexing operator)

 

Returns a basic block

Returns:
BasicBlock

__init__(self, f=None, bounds=None, flags=0)
(Constructor)

 

Constructor

Parameters:
  • f - A func_t type, use get_func(ea) to get a reference
  • bounds - A tuple of the form (start, end). Used if "f" is None
  • flags - one of the FC_xxxx flags. One interesting flag is FC_PREDS
Overrides: object.__init__

Property Details

size

Get Method:
unreachable(self)