[kernel] Parsing mark_all_slices.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 A ∈ {0} B ∈ {0} C ∈ {0} D ∈ {0} A2 ∈ {0} B2 ∈ {0} C2 ∈ {0} D2 ∈ {0} [eva] computing for function fA <- main. Called from mark_all_slices.i:23. [eva] computing for function all <- fA <- main. Called from mark_all_slices.i:17. [eva] Recording results for all [eva] Done for function all [eva] Recording results for fA [eva] Done for function fA [eva] computing for function fB <- main. Called from mark_all_slices.i:24. [eva] mark_all_slices.i:18: Reusing old results for call to all [eva] Recording results for fB [eva] Done for function fB [eva] computing for function fC <- main. Called from mark_all_slices.i:25. [eva] mark_all_slices.i:19: Reusing old results for call to all [eva] Recording results for fC [eva] Done for function fC [eva] computing for function fD <- main. Called from mark_all_slices.i:26. [eva] mark_all_slices.i:20: Reusing old results for call to all [eva] Recording results for fD [eva] Done for function fD [eva] computing for function all <- main. Called from mark_all_slices.i:27. [eva] Recording results for all [eva] Done for function all [eva] Recording results for main [eva] done for function main [from] Computing for function all [from] Done for function all [from] Computing for function fA [from] Done for function fA [from] Computing for function fB [from] Done for function fB [from] Computing for function fC [from] Done for function fC [from] Computing for function fD [from] Done for function fD [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 all: A FROM x B FROM x C FROM x D FROM x \result FROM x [from] Function fA: A FROM \nothing B FROM \nothing C FROM \nothing D FROM \nothing \result FROM \nothing [from] Function fB: A FROM \nothing B FROM \nothing C FROM \nothing D FROM \nothing \result FROM \nothing [from] Function fC: A FROM \nothing B FROM \nothing C FROM \nothing D FROM \nothing \result FROM \nothing [from] Function fD: A FROM \nothing B FROM \nothing C FROM \nothing D FROM \nothing \result FROM \nothing [from] Function main: A FROM \nothing B FROM \nothing C FROM \nothing D FROM \nothing A2 FROM \nothing B2 FROM \nothing C2 FROM \nothing D2 FROM \nothing \result FROM \nothing [from] ====== END OF DEPENDENCIES ====== [slicing] initializing slicing ... [pdg] computing for function main [pdg] done for function main [slicing] applying all slicing requests... [slicing] applying 1 actions... [slicing] applying actions: 1/1... [pdg] computing for function fA [pdg] done for function fA [pdg] computing for function all [pdg] done for function all [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 A; int A2; void all_slice_1(int x) { A = x; return; } int fA_slice_1(void) { all_slice_1(1); return A; } void main(void) { A2 = fA_slice_1(); return; } Slicing project worklist [default] = [all_slice_1 = (n:54(restrict to __retres) ,<[--d], [---]>)] [slicing] applying all slicing requests... [slicing] applying 1 actions... [slicing] applying actions: 1/1... [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 A; int A2; int all_slice_1(int x) { int __retres; A = x; __retres = x + 1; return __retres; } int fA_slice_1(void) { all_slice_1(1); return A; } void main(void) { A2 = fA_slice_1(); return; } Slicing project worklist [default] = [main_slice_1 = examine_calls] [slicing] applying all slicing requests... [slicing] applying 1 actions... [slicing] applying actions: 1/1... [pdg] computing for function fB [pdg] done for function fB [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 A; int B; int A2; int B2; int all_slice_2(int x) { int __retres; B = x; __retres = x + 1; return __retres; } int all_slice_1(int x) { int __retres; A = x; __retres = x + 1; return __retres; } int fA_slice_1(void) { all_slice_1(1); return A; } int fB_slice_1(void) { all_slice_2(1); return B; } void main(void) { A2 = fA_slice_1(); B2 = fB_slice_1(); return; } [slicing] reinitializing slicing ... Slicing project worklist [default] = [slicing] applying all slicing requests... [slicing] applying 0 actions... [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 all_slice_1(int x) { int __retres; __retres = x + 1; return __retres; } [slicing] applying all slicing requests... [slicing] applying 1 actions... [slicing] applying actions: 1/1... [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 A; int A2; int all_slice_2(int x) { int __retres; A = x; __retres = x + 1; return __retres; } int all_slice_1(int x) { int __retres; __retres = x + 1; return __retres; } int fA_slice_1(void) { all_slice_2(1); return A; } void main(void) { A2 = fA_slice_1(); return; }