File tree Expand file tree Collapse file tree 2 files changed +30
-0
lines changed
tests/regression/56-witness Expand file tree Collapse file tree 2 files changed +30
-0
lines changed Original file line number Diff line number Diff line change 1+ // CRAM PARAM: --set ana.activated[+] var_eq
2+ int main () {
3+ char text = "foobar" ;
4+ return 0 ;
5+ }
Original file line number Diff line number Diff line change 1+ $ goblint -- set ana. activated[+ ] var_eq -- enable witness. yaml. enabled -- enable witness. invariant. other 71 -var_eq-str-invariant. c
2+ [Info][Deadcode] Logical lines of code (LLoC) summary:
3+ live: 3
4+ dead: 0
5+ total lines : 3
6+ [Info][Witness] witness generation summary:
7+ location invariants: 1
8+ loop invariants: 0
9+ flow-insensitive invariants: 0
10+ total generation entries: 1
11+
12+ Should not contain invariant with string literal equality:
13+
14+ $ yamlWitnessStrip < witness. yml
15+ - entry_type: invariant_set
16+ content:
17+ - invariant:
18+ type: location_invariant
19+ location:
20+ file_name: 71 -var_eq-str-invariant. c
21+ line: 4
22+ column: 3
23+ function: main
24+ value : ' "foobar" == text'
25+ format: c_expression
You can’t perform that action at this time.
0 commit comments