Skip to content

Commit 8ff038b

Browse files
committed
Add README for juliet suite script.
1 parent a5d84a9 commit 8ff038b

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

juliet/README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Juliet Suite
2+
3+
Assuming goblint is located at `../../analyzer/goblint`, this script should work out of the box.
4+
It downloads Juliet suite if not already available. By default it runs everything, but the result parsing only works for a few things...
5+
6+
For race detection, try `python3 juliet_summary.py C/testcases/CWE366_Race_Condition_Within_Thread`.
7+
8+
This simply runs the Juliet suite by executing commands for the positive and negative cases. These can also be called manually, such as:
9+
* `goblint C/testcases/CWE366_Race_Condition_Within_Thread/CWE366_Race_Condition_Within_Thread__global_int_01.c C/testcasesupport/*.c -I C/testcasesupport --sets "mainfun[+]" CWE366_Race_Condition_Within_Thread__global_int_01_good`
10+
* `goblint C/testcases/CWE366_Race_Condition_Within_Thread/CWE366_Race_Condition_Within_Thread__global_int_01.c C/testcasesupport/*.c -I C/testcasesupport --sets "mainfun[+]" CWE366_Race_Condition_Within_Thread__global_int_01_bad`
11+
12+
The script creates a summary table in this root directory,
13+
and the result files are stored inside `C/juliet_summary_fileoutputs/`.

0 commit comments

Comments
 (0)