main.py
is the entry point for the backend.
- To run the static analysis, use
python main.py -s <path to program directory>
from the command line in the/backend
directory. Make sure that the last slash in the directory path is escaped. Ex.samplecode/test/
. - To run the dynamic analysis, use
python main.py -d <path to program directory> <path to program entry point file> <cmdArgs>
, where<cmdArgs>
is an arbitrary list of command line arguments for the target program, separated by spaces.
The following packages are necessary:
- Numpy (https://numpy.org/install/)
- Pandas (https://pandas.pydata.org/docs/getting_started/install.html#installing-from-pypi)
- Matplotlib.pyplot (https://matplotlib.org/stable/users/installing/index.html)
You will first need to open up the react portion of this project. To do so, visit here.
Return to the command line and run a static or dynamic analysis following the instructions above. After you have verified that it has completed, go back to the frontend web page and click on "Update" to fetch the results of your analysis.
- make sure
python
> 3 is installed cd backend
pip -r install requirements.txt
- refer to this file for how to run on repos or execute based on command line above