File tree Expand file tree Collapse file tree 15 files changed +316
-135
lines changed
load-snapshot-recursive-static-global-int-01
load-snapshot-static-global-array-01
load-snapshot-static-global-int-01
load-snapshot-static-global-int-02
load-snapshot-static-global-int-03
load-snapshot-static-global-int-04
load-snapshot-static-global-pointer-01 Expand file tree Collapse file tree 15 files changed +316
-135
lines changed Original file line number Diff line number Diff line change 1
1
CORE
2
2
main.c
3
- --harness-type initialise-with-memory-snapshot --memory-snapshot ../load-snapshot-json-snapshots/global-int-x-1-snapshot.json --initial-location main:0 --havoc-variables x
3
+ --harness-type initialise-with-memory-snapshot --memory-snapshot ../load-snapshot-json-snapshots/global-int-x-1-snapshot.json --initial-goto- location main:0 --havoc-variables x
4
4
^EXIT=10$
5
5
^SIGNAL=0$
6
6
\[main.assertion.1\] line [0-9]+ assertion x == 1: FAILURE
Original file line number Diff line number Diff line change 1
1
CORE
2
2
main.c
3
- --harness-type initialise-with-memory-snapshot --memory-snapshot ../load-snapshot-json-snapshots/global-int-x-y-snapshot.json --initial-location main:9 --havoc-variables y
3
+ --harness-type initialise-with-memory-snapshot --memory-snapshot ../load-snapshot-json-snapshots/global-int-x-y-snapshot.json --initial-goto- location main:7 --havoc-variables y
4
4
^\[main.assertion.1\] line \d+ assertion y \+ 2 > y: FAILURE$
5
5
^\[main.assertion.2\] line \d+ assertion 0: FAILURE$
6
6
^EXIT=10$
Original file line number Diff line number Diff line change
1
+ int x = 1 ;
2
+
3
+ int main ()
4
+ {
5
+ assert (x == 1 ); //unreachable, hence success
6
+ assert (x == 2 );
7
+ assert (x == 3 );
8
+
9
+ return 0 ;
10
+ }
Original file line number Diff line number Diff line change
1
+ CORE
2
+ main.c
3
+ --harness-type initialise-with-memory-snapshot --memory-snapshot ../load-snapshot-json-snapshots/global-int-x-1-snapshot.json --initial-source-location main.c:6 --havoc-variables x
4
+ ^EXIT=10$
5
+ ^SIGNAL=0$
6
+ \[main.assertion.1\] line [0-9]+ assertion x == 1: SUCCESS
7
+ \[main.assertion.2\] line [0-9]+ assertion x == 2: FAILURE
8
+ \[main.assertion.3\] line [0-9]+ assertion x == 3: FAILURE
9
+ --
10
+ ^warning: ignoring
Original file line number Diff line number Diff line change 1
1
CORE
2
2
main.c
3
- --harness-type initialise-with-memory-snapshot --memory-snapshot ../load-snapshot-json-snapshots/global-struct-snapshot.json --initial-location main:3 --havoc-variables simple
3
+ --harness-type initialise-with-memory-snapshot --memory-snapshot ../load-snapshot-json-snapshots/global-struct-snapshot.json --initial-goto- location main:3 --havoc-variables simple
4
4
^EXIT=10$
5
5
^SIGNAL=0$
6
6
^\[main.assertion.1\] line \d+ assertion simple.j > simple.i: FAILURE$
Original file line number Diff line number Diff line change 1
1
CORE
2
2
main.c
3
- --harness-type initialise-with-memory-snapshot --memory-snapshot ../load-snapshot-json-snapshots/global-int-x-1-snapshot.json --initial-location main:1
3
+ --harness-type initialise-with-memory-snapshot --memory-snapshot ../load-snapshot-json-snapshots/global-int-x-1-snapshot.json --initial-goto- location main:1
4
4
^EXIT=0$
5
5
^SIGNAL=0$
6
6
VERIFICATION SUCCESSFUL
Original file line number Diff line number Diff line change 1
1
CORE
2
2
main.c
3
- --harness-type initialise-with-memory-snapshot --memory-snapshot snapshot.json --initial-location main:0
3
+ --harness-type initialise-with-memory-snapshot --memory-snapshot snapshot.json --initial-goto- location main:0
4
4
^EXIT=0$
5
5
^SIGNAL=0$
6
6
VERIFICATION SUCCESSFUL
Original file line number Diff line number Diff line change 1
1
CORE
2
2
main.c
3
- --harness-type initialise-with-memory-snapshot --memory-snapshot ../load-snapshot-json-snapshots/global-int-x-1-snapshot.json --initial-location main:0
3
+ --harness-type initialise-with-memory-snapshot --memory-snapshot ../load-snapshot-json-snapshots/global-int-x-1-snapshot.json --initial-goto- location main:0
4
4
^EXIT=0$
5
5
^SIGNAL=0$
6
6
VERIFICATION SUCCESSFUL
Original file line number Diff line number Diff line change 1
1
CORE
2
2
main.c
3
- --harness-type initialise-with-memory-snapshot --memory-snapshot ../load-snapshot-json-snapshots/global-int-x-1-snapshot.json --initial-location main:0
3
+ --harness-type initialise-with-memory-snapshot --memory-snapshot ../load-snapshot-json-snapshots/global-int-x-1-snapshot.json --initial-goto- location main:0
4
4
^EXIT=10$
5
5
^SIGNAL=0$
6
6
\[main.assertion.1\] line [0-9]+ assertion x == 1: SUCCESS
Original file line number Diff line number Diff line change 1
1
CORE
2
2
main.c
3
- --harness-type initialise-with-memory-snapshot --memory-snapshot ../load-snapshot-json-snapshots/global-int-x-1-snapshot.json --initial-location main:0
3
+ --harness-type initialise-with-memory-snapshot --memory-snapshot ../load-snapshot-json-snapshots/global-int-x-1-snapshot.json --initial-goto- location main:0
4
4
^EXIT=0$
5
5
^SIGNAL=0$
6
6
VERIFICATION SUCCESSFUL
Original file line number Diff line number Diff line change 1
1
CORE
2
2
main.c
3
- --harness-type initialise-with-memory-snapshot --memory-snapshot ../load-snapshot-json-snapshots/global-int-x-1-snapshot.json --initial-location main:1
3
+ --harness-type initialise-with-memory-snapshot --memory-snapshot ../load-snapshot-json-snapshots/global-int-x-1-snapshot.json --initial-goto- location main:1
4
4
^EXIT=0$
5
5
^SIGNAL=0$
6
6
VERIFICATION SUCCESSFUL
Original file line number Diff line number Diff line change 1
1
CORE
2
2
main.c
3
- --harness-type initialise-with-memory-snapshot --memory-snapshot snapshot.json --initial-location main:0
3
+ --harness-type initialise-with-memory-snapshot --memory-snapshot snapshot.json --initial-goto- location main:0
4
4
^EXIT=0$
5
5
^SIGNAL=0$
6
6
VERIFICATION SUCCESSFUL
You can’t perform that action at this time.
0 commit comments