pyParser’s documentation!

Example

This module provides several parser for different file extension. Each parser returns a Control Flow Graph whose edges are sets of Constraints.

Example:

parser = GenericParser()
cfg = parser.parser('/path/to/file.ext')

You don’t have to care about the file extension. GenericParser will detected which is the correct Parser.