1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114
|
[kernel] Parsing share/libc/__fc_builtin_for_normalization.i (no preprocessing)
[kernel] Parsing tests/sparecode/bts324_bis.i (no preprocessing)
[sparecode] remove unused code...
[sparecode] selecting function main_bis outputs and entry point
[value] Analyzing a complete application starting at main_bis
[value] Computing initial state
[value] Initial state computed
[value:initial-state] Values of globals at initialization
ki[0..1] ∈ {0}
k ∈ {0}
e0 ∈ [--..--]
e1 ∈ [--..--]
s0 ∈ {0}
s1 ∈ {0}
is_ok ∈ {0}
si[0..1] ∈ {0}
so[0..1] ∈ {0}
[value] computing for function init <- main_bis.
Called from tests/sparecode/bts324_bis.i:51.
[value] Recording results for init
[value] Done for function init
tests/sparecode/bts324_bis.i:53:[value] entering loop for the first time
[value] computing for function loop_body <- main_bis.
Called from tests/sparecode/bts324_bis.i:54.
[value] computing for function f <- loop_body <- main_bis.
Called from tests/sparecode/bts324_bis.i:22.
tests/sparecode/bts324_bis.i:10:[value] warning: signed overflow. assert -2147483648 ≤ ki[i] * (int)(vi - si[i]);
tests/sparecode/bts324_bis.i:10:[value] warning: signed overflow. assert ki[i] * (int)(vi - si[i]) ≤ 2147483647;
[value] Recording results for f
[value] Done for function f
[value] computing for function f <- loop_body <- main_bis.
Called from tests/sparecode/bts324_bis.i:23.
[value] Recording results for f
[value] Done for function f
[value] Recording results for loop_body
[value] Done for function loop_body
[value] computing for function loop_body <- main_bis.
Called from tests/sparecode/bts324_bis.i:54.
[value] computing for function f <- loop_body <- main_bis.
Called from tests/sparecode/bts324_bis.i:22.
tests/sparecode/bts324_bis.i:10:[value] warning: signed overflow. assert -2147483648 ≤ vi - si[i];
tests/sparecode/bts324_bis.i:10:[value] warning: signed overflow. assert vi - si[i] ≤ 2147483647;
tests/sparecode/bts324_bis.i:10:[value] warning: signed overflow.
assert -2147483648 ≤ (int)(so[i] / k) + (int)(ki[i] * (int)(vi - si[i]));
tests/sparecode/bts324_bis.i:10:[value] warning: signed overflow.
assert (int)(so[i] / k) + (int)(ki[i] * (int)(vi - si[i])) ≤ 2147483647;
[value] Recording results for f
[value] Done for function f
[value] computing for function f <- loop_body <- main_bis.
Called from tests/sparecode/bts324_bis.i:23.
[value] Recording results for f
[value] Done for function f
[value] Recording results for loop_body
[value] Done for function loop_body
[value] computing for function loop_body <- main_bis.
Called from tests/sparecode/bts324_bis.i:54.
[value] computing for function f <- loop_body <- main_bis.
Called from tests/sparecode/bts324_bis.i:22.
[value] Recording results for f
[value] Done for function f
[value] computing for function f <- loop_body <- main_bis.
Called from tests/sparecode/bts324_bis.i:23.
[value] Recording results for f
[value] Done for function f
[value] Recording results for loop_body
[value] Done for function loop_body
[value] Recording results for main_bis
[value] done for function main_bis
[pdg] computing for function main_bis
[from] Computing for function init
[from] Done for function init
[from] Computing for function loop_body
[from] Computing for function f <-loop_body
[from] Done for function f
[from] Done for function loop_body
tests/sparecode/bts324_bis.i:57:[pdg] warning: no final state. Probably unreachable...
[pdg] done for function main_bis
[sparecode] add selection in function 'main_bis'
[sparecode] selecting output zones ki[0..1]; k; s0; s1; is_ok; si[0..1]; so[0..1]
[sparecode] look for annotations in function Frama_C_bzero
[pdg] computing for function Frama_C_bzero
[from] Computing for function Frama_C_bzero
[from] Done for function Frama_C_bzero
[pdg] done for function Frama_C_bzero
[sparecode] look for annotations in function Frama_C_copy_block
[pdg] computing for function Frama_C_copy_block
[from] Computing for function Frama_C_copy_block
[from] Done for function Frama_C_copy_block
[pdg] done for function Frama_C_copy_block
[sparecode] look for annotations in function f
[pdg] computing for function f
[pdg] done for function f
[sparecode] look for annotations in function init
[pdg] computing for function init
[pdg] done for function init
[sparecode] look for annotations in function loop_body
[pdg] computing for function loop_body
[pdg] done for function loop_body
[sparecode] look for annotations in function main
[pdg] computing for function main
[pdg] warning: unreachable entry point (sid:24, function main)
[pdg] Bottom for function main
[sparecode] pdg bottom: skip annotations
[sparecode] look for annotations in function main_bis
[sparecode] finalize call input propagation
[sparecode] remove unused global declarations...
[sparecode] result in new project 'default without sparecode'.
/* Generated by Frama-C */
void main_bis(void)
{
return;
}
|