CPSS is a tool that automatically scans GitHub for projects written in C and perform static analysis on the code.
CPSS requires cppcheck to be installed on the system. Also docker-compose is used to manage a RabbitMQ instance.
Install the required Python libraries with pip install -r requirements.txt.
- Start the RabbitMQ server using docker-compose:
docker-compose up rabbitmq. The docker-compose file is in the directoryservices. - Execute
python github.pyto insert repositories in the queue. - Execute
python cpss.pyto analyze the repositories in the queue.
Once the analysis is done, the reports can been cleaned up by running the script report_processing.py. The final reports will be in the clean_reports directory.