/CFG_Generator

A control flow graph generator is a static program analysis tool, which generates a control flow graph when given a single Python program.

Primary LanguagePython

CFG_Generator


A control flow graph generator is a static program analysis tool, which generates a control flow graph when given a single Python program. Our group developed a novel CFG generator with a more intuitive approach based on an abstract syntax tree with a convenient graphical interface to track the relation between nodes in CFG and the code blocks. Environment: Python: Python 3.8 Site-packages: astunparse 1.6.3, graphviz 0.14, Pillow 7.1.2, pygraphviz 1.5, PyQt5 5.15