Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
pub
frama-c
Commits
53bc0a2e
Commit
53bc0a2e
authored
Jan 12, 2023
by
David Bühler
Browse files
[Eva] Adds empty lines to a test to minimize oracle diff on next commit.
parent
40c9bc09
Changes
7
Hide whitespace changes
Inline
Side-by-side
tests/value/oracle/partitioning-annots.0.res.oracle
View file @
53bc0a2e
...
...
@@ -6,13 +6,13 @@
nondet ∈ [--..--]
k ∈ {0}
[eva] computing for function test_slevel <- main.
Called from partitioning-annots.c:2
05
.
[eva] partitioning-annots.c:1
70
: starting to merge loop iterations
[eva] partitioning-annots.c:1
75
: starting to merge loop iterations
Called from partitioning-annots.c:2
23
.
[eva] partitioning-annots.c:1
88
: starting to merge loop iterations
[eva] partitioning-annots.c:1
93
: starting to merge loop iterations
[eva] Recording results for test_slevel
[eva] Done for function test_slevel
[eva] computing for function test_unroll <- main.
Called from partitioning-annots.c:2
06
.
Called from partitioning-annots.c:2
24
.
[eva:loop-unroll:partial] partitioning-annots.c:26: loop not completely unrolled
[eva] partitioning-annots.c:26: starting to merge loop iterations
[eva:loop-unroll:partial] partitioning-annots.c:34: loop not completely unrolled
...
...
@@ -25,7 +25,7 @@
[eva] Recording results for test_unroll
[eva] Done for function test_unroll
[eva] computing for function test_split <- main.
Called from partitioning-annots.c:2
07
.
Called from partitioning-annots.c:2
25
.
[eva] computing for function Frama_C_interval <- test_split <- main.
Called from partitioning-annots.c:73.
[eva] using specification for function Frama_C_interval
...
...
@@ -65,7 +65,7 @@
[eva] Recording results for test_split
[eva] Done for function test_split
[eva] computing for function test_dynamic_split <- main.
Called from partitioning-annots.c:2
08
.
Called from partitioning-annots.c:2
26
.
[eva] partitioning-annots.c:95: Warning:
this partitioning parameter cannot be evaluated safely on all states
[eva] computing for function Frama_C_interval <- test_dynamic_split <- main.
...
...
tests/value/oracle/partitioning-annots.2.res.oracle
View file @
53bc0a2e
...
...
@@ -6,41 +6,41 @@
nondet ∈ [--..--]
k ∈ {0}
[eva] computing for function Frama_C_interval <- test_loop_split.
Called from partitioning-annots.c:1
27
.
Called from partitioning-annots.c:1
45
.
[eva] using specification for function Frama_C_interval
[eva] partitioning-annots.c:1
27
:
[eva] partitioning-annots.c:1
45
:
function Frama_C_interval: precondition 'order' got status valid.
[eva] Done for function Frama_C_interval
[eva] computing for function Frama_C_interval <- test_loop_split.
Called from partitioning-annots.c:1
27
.
Called from partitioning-annots.c:1
45
.
[eva] Done for function Frama_C_interval
[eva] partitioning-annots.c:1
25
: starting to merge loop iterations
[eva] partitioning-annots.c:1
43
: starting to merge loop iterations
[eva] computing for function Frama_C_interval <- test_loop_split.
Called from partitioning-annots.c:1
27
.
Called from partitioning-annots.c:1
45
.
[eva] Done for function Frama_C_interval
[eva] computing for function Frama_C_interval <- test_loop_split.
Called from partitioning-annots.c:1
27
.
Called from partitioning-annots.c:1
45
.
[eva] Done for function Frama_C_interval
[eva] computing for function Frama_C_interval <- test_loop_split.
Called from partitioning-annots.c:1
27
.
Called from partitioning-annots.c:1
45
.
[eva] Done for function Frama_C_interval
[eva] computing for function Frama_C_interval <- test_loop_split.
Called from partitioning-annots.c:1
27
.
Called from partitioning-annots.c:1
45
.
[eva] Done for function Frama_C_interval
[eva:alarm] partitioning-annots.c:1
34
: Warning:
[eva:alarm] partitioning-annots.c:1
52
: Warning:
accessing uninitialized left-value. assert \initialized(&A[i]);
[eva] partitioning-annots.c:1
39
: Frama_C_show_each: {9}, {42}
[eva] partitioning-annots.c:1
39
: Frama_C_show_each: {8}, {42}
[eva] partitioning-annots.c:1
39
: Frama_C_show_each: {7}, {42}
[eva] partitioning-annots.c:1
39
: Frama_C_show_each: {6}, {42}
[eva] partitioning-annots.c:1
39
: Frama_C_show_each: {5}, {42}
[eva] partitioning-annots.c:1
39
: Frama_C_show_each: {4}, {42}
[eva] partitioning-annots.c:1
39
: Frama_C_show_each: {3}, {42}
[eva] partitioning-annots.c:1
39
: Frama_C_show_each: {2}, {42}
[eva] partitioning-annots.c:1
39
: Frama_C_show_each: {1}, {42}
[eva] partitioning-annots.c:1
39
: Frama_C_show_each: {0}, {42}
[eva] partitioning-annots.c:1
40
: assertion got status valid.
[eva] partitioning-annots.c:1
43
: Frama_C_show_each: {{ "Value 42 not found" }}
[eva] partitioning-annots.c:1
57
: Frama_C_show_each: {9}, {42}
[eva] partitioning-annots.c:1
57
: Frama_C_show_each: {8}, {42}
[eva] partitioning-annots.c:1
57
: Frama_C_show_each: {7}, {42}
[eva] partitioning-annots.c:1
57
: Frama_C_show_each: {6}, {42}
[eva] partitioning-annots.c:1
57
: Frama_C_show_each: {5}, {42}
[eva] partitioning-annots.c:1
57
: Frama_C_show_each: {4}, {42}
[eva] partitioning-annots.c:1
57
: Frama_C_show_each: {3}, {42}
[eva] partitioning-annots.c:1
57
: Frama_C_show_each: {2}, {42}
[eva] partitioning-annots.c:1
57
: Frama_C_show_each: {1}, {42}
[eva] partitioning-annots.c:1
57
: Frama_C_show_each: {0}, {42}
[eva] partitioning-annots.c:1
58
: assertion got status valid.
[eva] partitioning-annots.c:1
61
: Frama_C_show_each: {{ "Value 42 not found" }}
[eva] Recording results for test_loop_split
[eva] done for function test_loop_split
[eva] ====== VALUES COMPUTED ======
...
...
tests/value/oracle/partitioning-annots.3.res.oracle
View file @
53bc0a2e
...
...
@@ -6,13 +6,13 @@
nondet ∈ [--..--]
k ∈ {0}
[eva] computing for function Frama_C_interval <- test_history.
Called from partitioning-annots.c:1
49
.
Called from partitioning-annots.c:1
67
.
[eva] using specification for function Frama_C_interval
[eva] partitioning-annots.c:1
49
:
[eva] partitioning-annots.c:1
67
:
function Frama_C_interval: precondition 'order' got status valid.
[eva] Done for function Frama_C_interval
[eva] partitioning-annots.c:1
55
: Frama_C_show_each: {0; 1}, {0; 1}
[eva:alarm] partitioning-annots.c:1
58
: Warning:
[eva] partitioning-annots.c:1
73
: Frama_C_show_each: {0; 1}, {0; 1}
[eva:alarm] partitioning-annots.c:1
76
: Warning:
division by zero. assert j ≢ 0;
[eva] Recording results for test_history
[eva] done for function test_history
...
...
tests/value/oracle/partitioning-annots.4.res.oracle
View file @
53bc0a2e
...
...
@@ -6,13 +6,13 @@
nondet ∈ [--..--]
k ∈ {0}
[eva] computing for function Frama_C_interval <- test_history.
Called from partitioning-annots.c:1
49
.
Called from partitioning-annots.c:1
67
.
[eva] using specification for function Frama_C_interval
[eva] partitioning-annots.c:1
49
:
[eva] partitioning-annots.c:1
67
:
function Frama_C_interval: precondition 'order' got status valid.
[eva] Done for function Frama_C_interval
[eva] partitioning-annots.c:1
55
: Frama_C_show_each: {0}, {0}
[eva] partitioning-annots.c:1
55
: Frama_C_show_each: {1}, {1}
[eva] partitioning-annots.c:1
73
: Frama_C_show_each: {0}, {0}
[eva] partitioning-annots.c:1
73
: Frama_C_show_each: {1}, {1}
[eva] Recording results for test_history
[eva] done for function test_history
[eva] ====== VALUES COMPUTED ======
...
...
tests/value/oracle_apron/partitioning-annots.3.res.oracle
View file @
53bc0a2e
15,16d14
< [eva:alarm] partitioning-annots.c:1
58
: Warning:
< [eva:alarm] partitioning-annots.c:1
76
: Warning:
< division by zero. assert j ≢ 0;
tests/value/oracle_multidim/partitioning-annots.2.res.oracle
View file @
53bc0a2e
30,31d29
< [eva:alarm] partitioning-annots.c:1
34
: Warning:
< [eva:alarm] partitioning-annots.c:1
52
: Warning:
< accessing uninitialized left-value. assert \initialized(&A[i]);
tests/value/partitioning-annots.c
View file @
53bc0a2e
/* run.config*
STDOPT: #"-eva-default-loop-unroll 10"
STDOPT: +"-main test_split -eva-partition-value k"
STDOPT: #"-main test_loop_split -eva-partition-history 1"
...
...
@@ -109,6 +109,24 @@ void test_dynamic_split()
Frama_C_show_each_no_split
(
a
,
b
);
}
void
test_loop_split
()
{
int
A
[
N
];
...
...
@@ -165,7 +183,7 @@ void test_slevel()
for
(
int
i
=
0
;
i
<
N
;
i
++
)
{
a
[
i
]
=
42
;
}
//@slevel default;
for
(
int
i
=
0
;
i
<
N
;
i
++
)
{
b
[
i
]
=
42
;
...
...
@@ -188,7 +206,7 @@ void test_slevel()
//@slevel merge;
;
// Otherwise previous annotation is ignored
}
//@slevel 0;
;
//@slevel full;
...
...
@@ -207,4 +225,3 @@ void main(void)
test_split
();
test_dynamic_split
();
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment