Skip to content
Snippets Groups Projects
Commit d4f4058e authored by David Bühler's avatar David Bühler
Browse files

[Eva] Updates test oracles.

parent 93b43d03
No related branches found
No related tags found
No related merge requests found
/* run.config /* run.config
STDOPT: #"-calldeps -then -impact-pragma g" STDOPT: #"@EVA_OPTIONS@ -calldeps -then -impact-pragma g"
*/ */
int a, b, c, d, e; int a, b, c, d, e;
......
...@@ -8,26 +8,28 @@ ...@@ -8,26 +8,28 @@
c ∈ {0} c ∈ {0}
d ∈ {0} d ∈ {0}
e ∈ {0} e ∈ {0}
[eva] computing for function f <- main.
Called from tests/impact/depend5.i:23.
[eva] Recording results for f
[from] Computing for function f [from] Computing for function f
[from] Done for function f [from] Done for function f
[eva] Done for function f
[eva] computing for function g <- main.
Called from tests/impact/depend5.i:25.
[eva] computing for function f <- g <- main.
Called from tests/impact/depend5.i:18.
[eva] Recording results for f
[from] Computing for function f [from] Computing for function f
[from] Done for function f [from] Done for function f
[eva] Done for function f
[eva] Recording results for g
[from] Computing for function g [from] Computing for function g
[from] Done for function g [from] Done for function g
[eva] Done for function g
[eva] Recording results for main
[from] Computing for function main [from] Computing for function main
[from] Done for function main [from] Done for function main
[eva] done for function main [eva] done for function main
[eva:summary] ====== ANALYSIS SUMMARY ======
----------------------------------------------------------------------------
3 functions analyzed (out of 3): 100% coverage.
In these functions, 13 statements reached (out of 13): 100% coverage.
----------------------------------------------------------------------------
No errors or warnings raised during the analysis.
----------------------------------------------------------------------------
0 alarms generated by the analysis.
----------------------------------------------------------------------------
No logical properties have been reached by the analysis.
----------------------------------------------------------------------------
[from] ====== DISPLAYING CALLWISE DEPENDENCIES ====== [from] ====== DISPLAYING CALLWISE DEPENDENCIES ======
[from] call to f at tests/impact/depend5.i:18 (by g): [from] call to f at tests/impact/depend5.i:18 (by g):
b FROM a; e b FROM a; e
......
...@@ -7,13 +7,11 @@ ...@@ -7,13 +7,11 @@
y ∈ {0} y ∈ {0}
c ∈ {0} c ∈ {0}
d ∈ {0} d ∈ {0}
[eva] tests/journal/control2.c:12: starting to merge loop iterations [eva:loop-unroll] tests/journal/control2.c:12: Automatic loop unrolling.
[eva:alarm] tests/journal/control2.c:15: Warning:
signed overflow. assert x + 1 ≤ 2147483647;
[eva] done for function f [eva] done for function f
[eva] ====== VALUES COMPUTED ====== [eva] ====== VALUES COMPUTED ======
[eva:final-states] Values at end of function f: [eva:final-states] Values at end of function f:
x ∈ [0..2147483647] x ∈ {4}
i ∈ {4} i ∈ {4}
[eva:summary] ====== ANALYSIS SUMMARY ====== [eva:summary] ====== ANALYSIS SUMMARY ======
---------------------------------------------------------------------------- ----------------------------------------------------------------------------
...@@ -22,8 +20,7 @@ ...@@ -22,8 +20,7 @@
---------------------------------------------------------------------------- ----------------------------------------------------------------------------
No errors or warnings raised during the analysis. No errors or warnings raised during the analysis.
---------------------------------------------------------------------------- ----------------------------------------------------------------------------
1 alarm generated by the analysis: 0 alarms generated by the analysis.
1 integer overflow
---------------------------------------------------------------------------- ----------------------------------------------------------------------------
No logical properties have been reached by the analysis. No logical properties have been reached by the analysis.
---------------------------------------------------------------------------- ----------------------------------------------------------------------------
...@@ -46,7 +43,7 @@ ...@@ -46,7 +43,7 @@
[eva] done for function f [eva] done for function f
[eva] ====== VALUES COMPUTED ====== [eva] ====== VALUES COMPUTED ======
[eva:final-states] Values at end of function f: [eva:final-states] Values at end of function f:
x ∈ [--..--] x ∈ [-2147483644..2147483647]
y ∈ [--..--] y ∈ [--..--]
i ∈ {4} i ∈ {4}
[eva:summary] ====== ANALYSIS SUMMARY ====== [eva:summary] ====== ANALYSIS SUMMARY ======
......
...@@ -7,13 +7,11 @@ ...@@ -7,13 +7,11 @@
y {0} y {0}
c {0} c {0}
d {0} d {0}
[eva] tests/journal/control2.c:12: starting to merge loop iterations [eva:loop-unroll] tests/journal/control2.c:12: Automatic loop unrolling.
[eva:alarm] tests/journal/control2.c:15: Warning:
signed overflow. assert x + 1 2147483647;
[eva] done for function f [eva] done for function f
[eva] ====== VALUES COMPUTED ====== [eva] ====== VALUES COMPUTED ======
[eva:final-states] Values at end of function f: [eva:final-states] Values at end of function f:
x [0..2147483647] x {4}
i {4} i {4}
[eva:summary] ====== ANALYSIS SUMMARY ====== [eva:summary] ====== ANALYSIS SUMMARY ======
---------------------------------------------------------------------------- ----------------------------------------------------------------------------
...@@ -22,8 +20,7 @@ ...@@ -22,8 +20,7 @@
---------------------------------------------------------------------------- ----------------------------------------------------------------------------
No errors or warnings raised during the analysis. No errors or warnings raised during the analysis.
---------------------------------------------------------------------------- ----------------------------------------------------------------------------
1 alarm generated by the analysis: 0 alarms generated by the analysis.
1 integer overflow
---------------------------------------------------------------------------- ----------------------------------------------------------------------------
No logical properties have been reached by the analysis. No logical properties have been reached by the analysis.
---------------------------------------------------------------------------- ----------------------------------------------------------------------------
...@@ -47,7 +44,7 @@ ...@@ -47,7 +44,7 @@
[eva] done for function f [eva] done for function f
[eva] ====== VALUES COMPUTED ====== [eva] ====== VALUES COMPUTED ======
[eva:final-states] Values at end of function f: [eva:final-states] Values at end of function f:
x [--..--] x [-2147483644..2147483647]
y [--..--] y [--..--]
i {4} i {4}
[eva:summary] ====== ANALYSIS SUMMARY ====== [eva:summary] ====== ANALYSIS SUMMARY ======
......
...@@ -36,8 +36,8 @@ ...@@ -36,8 +36,8 @@
[eva] computing for function loop <- main. [eva] computing for function loop <- main.
Called from tests/journal/intra.i:85. Called from tests/journal/intra.i:85.
[eva] tests/journal/intra.i:63: assertion got status valid. [eva] tests/journal/intra.i:63: assertion got status valid.
[eva:loop-unroll] tests/journal/intra.i:66: Automatic loop unrolling.
[eva] tests/journal/intra.i:64: loop invariant got status valid. [eva] tests/journal/intra.i:64: loop invariant got status valid.
[eva] tests/journal/intra.i:66: starting to merge loop iterations
[eva] Recording results for loop [eva] Recording results for loop
[eva] Done for function loop [eva] Done for function loop
[eva] computing for function assign <- main. [eva] computing for function assign <- main.
......
...@@ -7,12 +7,12 @@ Start ...@@ -7,12 +7,12 @@ Start
[eva:alarm] tests/syntax/Refresh_visitor.i:17: Warning: [eva:alarm] tests/syntax/Refresh_visitor.i:17: Warning:
assertion got status unknown. assertion got status unknown.
[eva:loop-unroll] tests/syntax/Refresh_visitor.i:26: Automatic loop unrolling.
[eva] tests/syntax/Refresh_visitor.i:23: loop invariant got status valid. [eva] tests/syntax/Refresh_visitor.i:23: loop invariant got status valid.
[eva] tests/syntax/Refresh_visitor.i:24: loop invariant got status valid. [eva] tests/syntax/Refresh_visitor.i:24: loop invariant got status valid.
[eva:loop-unroll] tests/syntax/Refresh_visitor.i:32: Automatic loop unrolling.
[eva] tests/syntax/Refresh_visitor.i:29: loop invariant got status valid. [eva] tests/syntax/Refresh_visitor.i:29: loop invariant got status valid.
[eva] tests/syntax/Refresh_visitor.i:30: loop invariant got status valid. [eva] tests/syntax/Refresh_visitor.i:30: loop invariant got status valid.
[eva] tests/syntax/Refresh_visitor.i:32: starting to merge loop iterations
[eva] tests/syntax/Refresh_visitor.i:26: starting to merge loop iterations
[eva:alarm] tests/syntax/Refresh_visitor.i:14: Warning: [eva:alarm] tests/syntax/Refresh_visitor.i:14: Warning:
function main: postcondition got status unknown. function main: postcondition got status unknown.
[eva] Recording results for main [eva] Recording results for main
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment