https://github.com/libre-man/pydg
A module that can create PDGs for Python code
https://github.com/libre-man/pydg
Last synced: about 1 year ago
JSON representation
A module that can create PDGs for Python code
- Host: GitHub
- URL: https://github.com/libre-man/pydg
- Owner: libre-man
- License: agpl-3.0
- Created: 2018-08-28T11:21:27.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-08-28T11:23:11.000Z (almost 8 years ago)
- Last Synced: 2025-02-01T09:41:31.605Z (over 1 year ago)
- Language: Python
- Size: 34.2 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CodeGra.plag
This repository contains CodeGra.plag that makes it possible to create PDGs for
Python code. This research was done as the bachelor thesis of Thomas Schaper,
and was presented at [CompSys2018](https://www.aanmelder.nl/101005) where it
received a Outstanding Contribution award.
# Usage
This can only be run by python versions >=3.6, the dependencies can be found in
requirements.txt.
The most important function in this project is `create_pdg` that creates a PDG
for a AST (created by the `ast` module). This function returns a graph (see
`graph.py`) and can be rendered to DOT by calling the `to_dot` method.
# Acknowledgments
- Dr. Ana Lucia Varbanescu, for the enormous help during the bachelor thesis.
- Olmo Kramer, for the discussion during and before the project.
# Authors
- Thomas Schaper
# License
This project is licensed under AGPL - see the LICENSE file for details