[kernel] Parsing reduce_index.i (no preprocessing) [eva] Analyzing a complete application starting at main [eva] Computing initial state [eva] Initial state computed [eva:initial-state] Values of globals at initialization t[0..9] ∈ {0} u[0..10] ∈ {0} maybe ∈ [--..--] c1 ∈ [--..--] c2 ∈ [--..--] c3 ∈ [--..--] c4 ∈ [--..--] c5 ∈ [--..--] c6 ∈ [--..--] c7 ∈ [--..--] c8 ∈ [--..--] c9 ∈ [--..--] c10 ∈ [--..--] c11 ∈ [--..--] c12 ∈ [--..--] ts[0..9] ∈ {0} p8 ∈ {0} ti_4[0..3] ∈ {0} ti_7[0..6] ∈ {0} k1 ∈ [--..--] k2 ∈ [--..--] k3 ∈ [--..--] k4 ∈ [--..--] nulli ∈ [--..--] [eva] computing for function f1 <- main. Called from reduce_index.i:130. [eva] computing for function f1_aux <- f1 <- main. Called from reduce_index.i:11. [eva] Recording results for f1_aux [eva] Done for function f1_aux [eva:alarm] reduce_index.i:11: Warning: accessing out of bounds index. assert 0 ≤ c1; [eva:alarm] reduce_index.i:11: Warning: accessing out of bounds index. assert c1 < 10; [eva] Recording results for f1 [eva] Done for function f1 [eva] computing for function f2 <- main. Called from reduce_index.i:131. [eva:alarm] reduce_index.i:17: Warning: accessing out of bounds index. assert 0 ≤ c2; [eva:alarm] reduce_index.i:17: Warning: accessing out of bounds index. assert c2 < 10; [eva] Recording results for f2 [eva] Done for function f2 [eva] computing for function f3 <- main. Called from reduce_index.i:132. [eva:alarm] reduce_index.i:21: Warning: accessing out of bounds index. assert 0 ≤ c3; [eva:alarm] reduce_index.i:21: Warning: accessing out of bounds index. assert c3 < 10; [eva] Recording results for f3 [eva] Done for function f3 [eva] computing for function f4 <- main. Called from reduce_index.i:133. [eva:alarm] reduce_index.i:27: Warning: accessing out of bounds index. assert 0 ≤ c4; [eva:alarm] reduce_index.i:27: Warning: accessing out of bounds index. assert c4 < 10; [eva] Recording results for f4 [eva] Done for function f4 [eva] computing for function f5 <- main. Called from reduce_index.i:134. [eva:alarm] reduce_index.i:35: Warning: accessing out of bounds index. assert 0 ≤ c5; [eva:alarm] reduce_index.i:35: Warning: accessing out of bounds index. assert c5 < 10; [eva] Recording results for f5 [eva] Done for function f5 [eva] computing for function f6 <- main. Called from reduce_index.i:135. [eva:alarm] reduce_index.i:42: Warning: accessing out of bounds index. assert 0 ≤ c6; [eva:alarm] reduce_index.i:42: Warning: accessing out of bounds index. assert c6 < 11; [eva:alarm] reduce_index.i:42: Warning: accessing out of bounds index. assert c6 < 10; [eva] Recording results for f6 [eva] Done for function f6 [eva] computing for function f7 <- main. Called from reduce_index.i:136. [eva:alarm] reduce_index.i:48: Warning: accessing out of bounds index. assert 0 ≤ c7; [eva:alarm] reduce_index.i:48: Warning: accessing out of bounds index. assert c7 < 10; [eva] Recording results for f7 [eva] Done for function f7 [eva] computing for function f8 <- main. Called from reduce_index.i:137. [eva:alarm] reduce_index.i:64: Warning: out of bounds write. assert \valid(&p8->f1); [eva] Recording results for f8 [eva] Done for function f8 [eva] computing for function f9 <- main. Called from reduce_index.i:138. [eva:alarm] reduce_index.i:72: Warning: accessing out of bounds index. assert 0 ≤ c9; [eva:alarm] reduce_index.i:72: Warning: accessing out of bounds index. assert c9 < 10; [eva] Recording results for f9 [eva] Done for function f9 [eva] computing for function f10 <- main. Called from reduce_index.i:139. [eva:alarm] reduce_index.i:86: Warning: accessing out of bounds index. assert 0 ≤ c10; [eva:alarm] reduce_index.i:86: Warning: accessing out of bounds index. assert c10 < 7; [eva] Recording results for f10 [eva] Done for function f10 [eva] computing for function f11 <- main. Called from reduce_index.i:140. [eva:alarm] reduce_index.i:93: Warning: accessing out of bounds index. assert 0 ≤ c11; [eva:alarm] reduce_index.i:93: Warning: accessing out of bounds index. assert c11 < 7; [eva:alarm] reduce_index.i:93: Warning: out of bounds write. assert \valid(&(*p7)[c11]); [eva] Recording results for f11 [eva] Done for function f11 [eva] computing for function f12 <- main. Called from reduce_index.i:141. [eva:alarm] reduce_index.i:100: Warning: accessing out of bounds index. assert 0 ≤ c12; [eva:alarm] reduce_index.i:100: Warning: accessing out of bounds index. assert c12 < 4; [eva] Recording results for f12 [eva] Done for function f12 [eva] computing for function pointer_index <- main. Called from reduce_index.i:143. [eva:alarm] reduce_index.i:110: Warning: out of bounds read. assert \valid_read(p + k1); [eva:alarm] reduce_index.i:113: Warning: out of bounds read. assert \valid_read(p + k2); [eva:alarm] reduce_index.i:116: Warning: out of bounds read. assert \valid_read(p + k3); [eva:alarm] reduce_index.i:119: Warning: out of bounds read. assert \valid_read(p + k4); [eva] Recording results for pointer_index [eva] Done for function pointer_index [eva] computing for function null_index <- main. Called from reduce_index.i:144. [eva:alarm] reduce_index.i:126: Warning: out of bounds write. assert \valid((int *)0 + nulli); [kernel] reduce_index.i:126: Warning: all target addresses were invalid. This path is assumed to be dead. [eva] Recording results for null_index [eva] Done for function null_index [eva] Recording results for main [eva] done for function main [eva] reduce_index.i:126: assertion 'Eva,mem_access' got final status invalid. [eva] ====== VALUES COMPUTED ====== [eva:final-states] Values at end of function f10: c10 ∈ {0; 1; 2; 3; 4; 5; 6} ti_7[0..6] ∈ {0; 10} p7 ∈ {{ &ti_7 }} [eva:final-states] Values at end of function f11: c11 ∈ {0; 1; 2; 3} ti_4[0..3] ∈ {0; 11} p4 ∈ {{ &ti_4 }} p7 ∈ {{ (ti7 *)&ti_4 }} [eva:final-states] Values at end of function f12: c12 ∈ {0; 1; 2; 3} ti_7[0..3] ∈ {0; 10; 12} [4..6] ∈ {0; 10} p7 ∈ {{ &ti_7 }} p4 ∈ {{ (ti4 *)&ti_7 }} [eva:final-states] Values at end of function f1_aux: __retres ∈ {1} [eva:final-states] Values at end of function f1: t[0..9] ∈ {0; 1} c1 ∈ [0..9] [eva:final-states] Values at end of function f2: c2 ∈ [0..9] __retres ∈ {0; 1} [eva:final-states] Values at end of function f3: c3 ∈ [0..9] __retres ∈ {0} [eva:final-states] Values at end of function f4: c4 ∈ [0..9] __retres ∈ {0} [eva:final-states] Values at end of function f5: c5 ∈ [0..9] c ∈ {0; 1} __retres ∈ {0} [eva:final-states] Values at end of function f6: t[0..9] ∈ {0; 1} u[0..10] ∈ {0; 1} c6 ∈ [0..9] [eva:final-states] Values at end of function f7: t[0..9] ∈ {0; 1} u[0..10] ∈ {0; 1} c7 ∈ [0..9] [eva:final-states] Values at end of function f8: c8 ∈ [--..--] ts[0].f1 ∈ {0; 1} [0].f2 ∈ {0; 2} [1].f1 ∈ {0; 1} [1].f2 ∈ {0; 2} [2].f1 ∈ {0; 1} [2].f2 ∈ {0; 2} [3].f1 ∈ {0; 1} [3].f2 ∈ {0; 2} [4].f1 ∈ {0; 1} [4].f2 ∈ {0; 2} [5].f1 ∈ {0; 1} [5].f2 ∈ {0; 2} [6].f1 ∈ {0; 1} [6].f2 ∈ {0; 2} [7].f1 ∈ {0; 1} [7].f2 ∈ {0; 2} [8].f1 ∈ {0; 1} [8].f2 ∈ {0; 2} [9].f1 ∈ {0; 1} [9].f2 ∈ {0; 2} p8 ∈ {{ &ts + [0..72],0%8 }} __retres ∈ {0} [eva:final-states] Values at end of function f9: c9 ∈ [0..9] ts[0].f1 ∈ {0; 1} [0].f2 ∈ {0; 2} [1].f1 ∈ {0; 1} [1].f2 ∈ {0; 2} [2].f1 ∈ {0; 1} [2].f2 ∈ {0; 2} [3].f1 ∈ {0; 1} [3].f2 ∈ {0; 2} [4].f1 ∈ {0; 1} [4].f2 ∈ {0; 2} [5].f1 ∈ {0; 1} [5].f2 ∈ {0; 2} [6].f1 ∈ {0; 1} [6].f2 ∈ {0; 2} [7].f1 ∈ {0; 1} [7].f2 ∈ {0; 2} [8].f1 ∈ {0; 1} [8].f2 ∈ {0; 2} [9].f1 ∈ {0; 1} [9].f2 ∈ {0; 2} __retres ∈ {0} [eva:final-states] Values at end of function null_index: NON TERMINATING FUNCTION [eva:final-states] Values at end of function pointer_index: k1 ∈ [0..10] k2 ∈ [-1..8] k3 ∈ [-2..7] k4 ∈ [-3..7] p ∈ {{ &u[3] }} l ∈ {0; 1} [eva:final-states] Values at end of function main: t[0..9] ∈ {0; 1} u[0..10] ∈ {0; 1} c1 ∈ [0..9] c2 ∈ [0..9] c3 ∈ [0..9] c4 ∈ [0..9] c5 ∈ [0..9] c6 ∈ [0..9] c7 ∈ [0..9] c8 ∈ [--..--] c9 ∈ [0..9] c10 ∈ {0; 1; 2; 3; 4; 5; 6} c11 ∈ {0; 1; 2; 3} c12 ∈ {0; 1; 2; 3} ts[0].f1 ∈ {0; 1} [0].f2 ∈ {0; 2} [1].f1 ∈ {0; 1} [1].f2 ∈ {0; 2} [2].f1 ∈ {0; 1} [2].f2 ∈ {0; 2} [3].f1 ∈ {0; 1} [3].f2 ∈ {0; 2} [4].f1 ∈ {0; 1} [4].f2 ∈ {0; 2} [5].f1 ∈ {0; 1} [5].f2 ∈ {0; 2} [6].f1 ∈ {0; 1} [6].f2 ∈ {0; 2} [7].f1 ∈ {0; 1} [7].f2 ∈ {0; 2} [8].f1 ∈ {0; 1} [8].f2 ∈ {0; 2} [9].f1 ∈ {0; 1} [9].f2 ∈ {0; 2} p8 ∈ {{ &ts + [0..72],0%8 }} ti_4[0..3] ∈ {0; 11} ti_7[0..3] ∈ {0; 10; 12} [4..6] ∈ {0; 10} k1 ∈ [0..10] k2 ∈ [-1..8] k3 ∈ [-2..7] k4 ∈ [-3..7] [from] Computing for function f10 [from] Done for function f10 [from] Computing for function f11 [from] Done for function f11 [from] Computing for function f12 [from] Done for function f12 [from] Computing for function f1_aux [from] Done for function f1_aux [from] Computing for function f1 [from] Done for function f1 [from] Computing for function f2 [from] Done for function f2 [from] Computing for function f3 [from] Done for function f3 [from] Computing for function f4 [from] Done for function f4 [from] Computing for function f5 [from] Done for function f5 [from] Computing for function f6 [from] Done for function f6 [from] Computing for function f7 [from] Done for function f7 [from] Computing for function f8 [from] Done for function f8 [from] Computing for function f9 [from] Done for function f9 [from] Computing for function null_index [from] Non-terminating function null_index (no dependencies) [from] Done for function null_index [from] Computing for function pointer_index [from] Done for function pointer_index [from] Computing for function main [from] Done for function main [from] ====== DEPENDENCIES COMPUTED ====== These dependencies hold at termination for the executions that terminate: [from] Function f10: c10 FROM c10 ti_7[0..6] FROM c10 (and SELF) [from] Function f11: c11 FROM c11 ti_4[0..3] FROM c11 (and SELF) [from] Function f12: c12 FROM c12 ti_7[0..3] FROM c12 (and SELF) [from] Function f1_aux: \result FROM \nothing [from] Function f1: t[0..9] FROM c1 (and SELF) c1 FROM c1 [from] Function f2: c2 FROM c2 \result FROM t[0..9]; c2 [from] Function f3: c3 FROM c3 \result FROM \nothing [from] Function f4: c4 FROM c4 \result FROM \nothing [from] Function f5: c5 FROM c5 \result FROM \nothing [from] Function f6: t[0..9] FROM t[0..9]; u[0..9]; c6 (and SELF) u[0..10] FROM t[0..9]; c6 (and SELF) c6 FROM c6 [from] Function f7: t[0..9] FROM u[0..10]; c7 (and SELF) u[0..9] FROM t[0..9]; u[0..10]; c7 (and SELF) c7 FROM c7 [from] Function f8: c8 FROM c8 ts[0..9] FROM c8 (and SELF) p8 FROM c8 \result FROM \nothing [from] Function f9: c9 FROM c9 ts{[0].f1; [1].f1; [2].f1; [3].f1; [4].f1; [5].f1; [6].f1; [7].f1; [8].f1; [9].f1} FROM c9 (and SELF) \result FROM \nothing [from] Function null_index: NON TERMINATING - NO EFFECTS [from] Function pointer_index: k1 FROM k1 k2 FROM k2 k3 FROM k3 k4 FROM k4 [from] Function main: t[0..9] FROM t[0..9]; u[0..10]; c1; c6; c7 (and SELF) u[0..9] FROM t[0..9]; u[0..10]; c1; c6; c7 (and SELF) [10] FROM t[0..9]; c1; c6 (and SELF) c1 FROM c1 c2 FROM c2 c3 FROM c3 c4 FROM c4 c5 FROM c5 c6 FROM c6 c7 FROM c7 c8 FROM c8 c9 FROM c9 c10 FROM c10 c11 FROM c11 c12 FROM c12 ts{[0].f1; [1].f1; [2].f1; [3].f1; [4].f1; [5].f1; [6].f1; [7].f1; [8].f1; [9].f1} FROM c8; c9 (and SELF) {[0].f2; [1].f2; [2].f2; [3].f2; [4].f2; [5].f2; [6].f2; [7].f2; [8].f2; [9].f2} FROM c8 (and SELF) p8 FROM c8 ti_4[0..3] FROM c11 (and SELF) ti_7[0..3] FROM c10; c12 (and SELF) [4..6] FROM c10 (and SELF) k1 FROM k1 k2 FROM k2 k3 FROM k3 k4 FROM k4 [from] ====== END OF DEPENDENCIES ====== [inout] Out (internal) for function f10: c10; ti_7[0..6]; p7 [inout] Inputs for function f10: c10 [inout] Out (internal) for function f11: c11; ti_4[0..3]; p4; p7 [inout] Inputs for function f11: c11 [inout] Out (internal) for function f12: c12; ti_7[0..3]; p7; p4 [inout] Inputs for function f12: c12 [inout] Out (internal) for function f1_aux: __retres [inout] Inputs for function f1_aux: \nothing [inout] Out (internal) for function f1: t[0..9]; c1 [inout] Inputs for function f1: c1 [inout] Out (internal) for function f2: c2; __retres [inout] Inputs for function f2: t[0..9]; c2 [inout] Out (internal) for function f3: c3; tmp; __retres [inout] Inputs for function f3: t[0..9]; c3 [inout] Out (internal) for function f4: c4; x; __retres [inout] Inputs for function f4: t[0..9]; c4 [inout] Out (internal) for function f5: c5; c; __retres [inout] Inputs for function f5: t[0..9]; c5 [inout] Out (internal) for function f6: t[0..9]; u[0..10]; c6 [inout] Inputs for function f6: t[0..9]; u[0..9]; c6 [inout] Out (internal) for function f7: t[0..9]; u[0..9]; c7 [inout] Inputs for function f7: t[0..9]; u[0..10]; c7 [inout] Out (internal) for function f8: c8; ts[0..9]; p8; __retres [inout] Inputs for function f8: c8; p8 [inout] Out (internal) for function f9: c9; ts{[0].f1; [1].f1; [2].f1; [3].f1; [4].f1; [5].f1; [6].f1; [7].f1; [8].f1; [9].f1}; __retres [inout] Inputs for function f9: c9 [inout] Out (internal) for function null_index: \nothing [inout] Inputs for function null_index: nulli [inout] Out (internal) for function pointer_index: k1; k2; k3; k4; p; l [inout] Inputs for function pointer_index: u[0..10]; k1; k2; k3; k4 [inout] Out (internal) for function main: t[0..9]; u[0..10]; c1; c2; c3; c4; c5; c6; c7; c8; c9; c10; c11; c12; ts[0..9]; p8; ti_4[0..3]; ti_7[0..6]; k1; k2; k3; k4 [inout] Inputs for function main: t[0..9]; u[0..10]; maybe; c1; c2; c3; c4; c5; c6; c7; c8; c9; c10; c11; c12; p8; k1; k2; k3; k4; nulli