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
|
[kernel] Parsing share/libc/__fc_builtin_for_normalization.i (no preprocessing)
[kernel] Parsing tests/sparecode/bts324.i (no preprocessing)
[sparecode] remove unused code...
[sparecode] selecting function main outputs and entry point
[value] Analyzing a complete application starting at main
[value] Computing initial state
[value] Initial state computed
[value:initial-state] Values of globals at initialization
i0 ∈ {0}
o0 ∈ {0}
is_ko ∈ {-1}
[value] computing for function init <- main.
Called from tests/sparecode/bts324.i:19.
[value] using specification for function init
tests/sparecode/bts324.i:14:[value] warning: no \from part for clause 'assigns *p_res;' of function init
[value] Done for function init
tests/sparecode/bts324.i:21:[value] entering loop for the first time
[value] computing for function loop_body <- main.
Called from tests/sparecode/bts324.i:22.
[value] using specification for function loop_body
tests/sparecode/bts324.i:11:[value] warning: no \from part for clause 'assigns i0, o0;' of function loop_body
[value] Done for function loop_body
[value] computing for function loop_body <- main.
Called from tests/sparecode/bts324.i:22.
[value] Done for function loop_body
[value] Recording results for main
[value] done for function main
[pdg] computing for function main
[from] Computing for function init
[from] Done for function init
[from] Computing for function loop_body
[from] Done for function loop_body
[pdg] done for function main
[sparecode] add selection in function 'main'
[sparecode] selecting output zones i0; o0; is_ko
[sparecode] add selection in function 'main'
[pdg] computing for function init
[pdg] done for function init
[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 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
[sparecode] look for annotations in function main_bis
[pdg] computing for function main_bis
[pdg] warning: unreachable entry point (sid:9, function main_bis)
[pdg] Bottom for function main_bis
[sparecode] pdg bottom: skip annotations
[sparecode] look for annotations in function main_ter
[pdg] computing for function main_ter
[pdg] warning: unreachable entry point (sid:19, function main_ter)
[pdg] Bottom for function main_ter
[sparecode] pdg bottom: skip annotations
[sparecode] finalize call input propagation
[sparecode] add selection in function 'main'
[sparecode] remove unused global declarations...
[sparecode] result in new project 'default without sparecode'.
/* Generated by Frama-C */
/*@ assigns *p_res; */
extern void init(int *p_res);
int is_ko = -1;
void main(void)
{
init(& is_ko);
return;
}
|