rocky / python-control-flow

Control-Flow, Dominator Tree, and dot output from Python bytecode

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This is a Toolkit for getting control flow informaion from Python bytecode

Specifically:

  • creates basic blocks from Python bytecode
  • creates control-flow graph from the basic blocks
  • creates a dominator tree
  • Graphs via dot the control-flow graph and dominator tree

I've used some routines from Romain Gaucher's equip as a starting point. equip is (c) 2014 by Romain Gaucher

About

Control-Flow, Dominator Tree, and dot output from Python bytecode


Languages

Language:Python 99.0%Language:Makefile 0.6%Language:Shell 0.4%