Skip to content

Latest commit

 

History

History
19 lines (16 loc) · 1.45 KB

readme.md

File metadata and controls

19 lines (16 loc) · 1.45 KB

How do I run the backend?

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.

Required Packages

The following packages are necessary:

Usage

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.

  1. make sure python > 3 is installed
  2. cd backend
  3. pip -r install requirements.txt
  4. refer to this file for how to run on repos or execute based on command line above