Skip to content

Commit

Permalink
Remove all parser.readLineDirectives = true usages
Browse files Browse the repository at this point in the history
  • Loading branch information
vmordan committed Oct 20, 2023
1 parent 3069de8 commit ea85bc7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
10 changes: 1 addition & 9 deletions docs/klever_bridge.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,7 @@ sudo ./scripts/runner.py -c runner.json -d <path to Linux kernel>

## Klever config

In order to visualize error traces CPAchecker config must include the following:
```json
{"-setprop": "parser.readLineDirectives=true"}
```
Note, Klever will not visualise traces with such option.

Also Klever job configuration should specify `Keep intermediate files inside the working directory of Klever Core` inside
Klever job configuration should specify `Keep intermediate files inside the working directory of Klever Core` inside
`Other settings` section in order to visualize generated files in the error trace.

If you need to visualise correctness witnesses in CV, the following options are required:
Expand All @@ -79,5 +73,3 @@ If you need to visualise correctness witnesses in CV, the following options are
{"-setprop": "cpa.arg.export=true"},
{"-setprop": "cpa.arg.compressWitness=false"}
```

If you need to add coverage, set flag `Collect total code coverage` in the Klever job config.
2 changes: 1 addition & 1 deletion properties/properties.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"-skipRecursion": [],
"-stack": ["10m"],
"-setprop": [
"parser.readLineDirectives=true",
"parser.readLineDirectives=false",
"output.disable=true",
"cpa.predicate.abortOnLargeArrays=false",
"cpa.arg.proofWitness=witness.correctness.graphml",
Expand Down

0 comments on commit ea85bc7

Please sign in to comment.