Skip to main content

The python3 ast based control flow graph

Project description


This package generates a control flow graph of the passed python file based on the AST generated (rather than the bytecode). It supports only a few python statements at this point. Notably absent are exceptions and generators. Essentially, only those constructs found in example.py are supported.

Compatibility
-------------
It was tested on Python 3.6


To run
------

python pycfg/pycfg.py <program to be analyzed> -d
or
python pycfg/pycfg.py <program to be analyzed> -d -y <branch coverage file>

Inspect Makefile for a better idea

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pycfg-0.1.tar.gz (6.6 kB view details)

Uploaded Source

File details

Details for the file pycfg-0.1.tar.gz.

File metadata

  • Download URL: pycfg-0.1.tar.gz
  • Upload date:
  • Size: 6.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pycfg-0.1.tar.gz
Algorithm Hash digest
SHA256 26833dd006dea03040088d7f0da6a3a80350cf4c788c14d50d15d06d2026480f
MD5 beac33cdc3cac51e08a0fa56a50930f2
BLAKE2b-256 1b56e837ca7330163dd5834c0223adf8057513105081b0f7966bed305edac114

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page