[kernel] Parsing merge.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 G1 ∈ {0} G2 ∈ {0} G3 ∈ {0} [eva] computing for function g <- main. Called from merge.i:26. [eva] computing for function init <- g <- main. Called from merge.i:21. [eva] Recording results for init [eva] Done for function init [eva] computing for function add <- g <- main. Called from merge.i:22. [eva:alarm] merge.i:17: Warning: signed overflow. assert -2147483648 ≤ G1 + a1; [eva:alarm] merge.i:17: Warning: signed overflow. assert G1 + a1 ≤ 2147483647; [eva:alarm] merge.i:17: Warning: signed overflow. assert -2147483648 ≤ G2 + a2; [eva:alarm] merge.i:17: Warning: signed overflow. assert G2 + a2 ≤ 2147483647; [eva:alarm] merge.i:17: Warning: signed overflow. assert -2147483648 ≤ G3 + a3; [eva:alarm] merge.i:17: Warning: signed overflow. assert G3 + a3 ≤ 2147483647; [eva] Recording results for add [eva] Done for function add [eva] Recording results for g [eva] Done for function g [eva] Recording results for main [eva] done for function main [from] Computing for function add [from] Done for function add [from] Computing for function init [from] Done for function init [from] Computing for function g [from] Done for function g [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 add: G1 FROM G1; a1 G2 FROM G2; a2 G3 FROM G3; a3 [from] Function init: G1 FROM a1 G2 FROM a2 G3 FROM a3 [from] Function g: G1 FROM a1 G2 FROM a2 G3 FROM a3 [from] Function main: G1 FROM x G2 FROM y G3 FROM z [from] ====== END OF DEPENDENCIES ====== [slicing] initializing slicing ... [pdg] computing for function init [pdg] done for function init Processing slicing_merge : ... [pdg] computing for function g [pdg] done for function g Processing slicing_merge : ...[pdg] computing for function add [pdg] done for function add ......... [slicing] applying all slicing requests... [slicing] applying 1 actions... [slicing] applying actions: 1/1... [slicing] applying all slicing requests... [slicing] applying 1 actions... [slicing] applying actions: 1/1... [slicing] applying all slicing requests... [slicing] applying 2 actions... [slicing] applying actions: 1/2... [slicing] applying actions: 2/2... Processing slicing_merge : ...... [slicing] exporting project to 'Sliced code'... [slicing] applying all slicing requests... [slicing] applying 0 actions... [sparecode] remove unused global declarations from project 'Sliced code tmp' [sparecode] removed unused global declarations in new project 'Sliced code' /* Generated by Frama-C */ int G1; int G2; int G3; void init_slice_4(int a1, int a2); void init_slice_3(int a3); void add_slice_3(int a2); void add_slice_2(int a3); void add_slice_1(int a1); void g_slice_4(int a3); void g_slice_3(int a3); void g_slice_2(int a1, int a2); void g_slice_1(int a1, int a2); void init_slice_4(int a1, int a2) { G1 = a1; G2 = a2; return; } void init_slice_3(int a3) { G3 = a3; return; } void add_slice_3(int a2) { G2 += a2; return; } void add_slice_2(int a3) { G3 += a3; return; } void add_slice_1(int a1) { G1 += a1; return; } void g_slice_4(int a3) { init_slice_3(a3); add_slice_2(a3); return; } void g_slice_3(int a3) { init_slice_3(a3); add_slice_2(a3); return; } void g_slice_2(int a1, int a2) { init_slice_4(a1,a2); add_slice_3(a2); return; } void g_slice_1(int a1, int a2) { init_slice_4(a1,a2); add_slice_1(a1); return; } removing generated .jpg files