Collections of Python Scripts to Run SeaHorn (https://github.com/seahorn/seahorn) with the whole C/C++ repository. IncludeAdder.py instruments the code (edit IncludeAdder.py before run and modify SOURSE_PATH) SeaHornLaucher.py runs SeaHorn commands against instrumented (by IncludeAdder.py) .c code. and generates a report. ReportBuilder generate report based on the previous result or provided a file with raw results.
Pyhton 3.7 or later
Z3
lcov ?? check version
gcc with coverage
seahorn https://github.com/seahorn/seahorn
genhtml
TestCov
https://gitlab.com/sosy-lab/software/test-suite-validator
clang-tidy
lxml >= 4.0
numpy >= 1.15
BenchExec >= 1.20
pycparser >= 2.19
matplotlib
(optional)docker pull seahorn/seahorn-llvm10:nightly
mkdir sandbox
docker run --rm -it --mount type=bind,source=${PATH_TO_REPO}/sandbox,target=/app seahorn/seahorn-llvm10:nightly
docker container run -it -p 5000:5000 -v /home/fmfsu/HornLauncher/sandbox/:/app seahorn/seahorn-llvm10:nightly /bin/bash
pip install -r requirements.txt
(TBD)cd launcher
TestGen.py
and modify SOURCE_PATH, OUTPUT_DIR
and other options if neededpython3 TestGen.py
=> report should be created in OUTPUT_DIR/1/summary
HTML Report (generated in sandbox directory)
Excel Report (generated in sandbox directory)