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
|
[kernel] Parsing issue_157.i (no preprocessing)
[sparecode] remove unused code...
[sparecode] selecting function main outputs and entry point
[eva] Analyzing a complete application starting at main
[eva] Computing initial state
[eva] Initial state computed
[eva:initial-state] Values of globals at initialization
X ∈ {0}
[eva] computing for function g <- main.
Called from issue_157.i:16.
[eva] computing for function f <- g <- main.
Called from issue_157.i:11.
[eva] Recording results for f
[eva] Done for function f
[eva] Recording results for g
[eva] Done for function g
[eva] issue_157.i:17: Reusing old results for call to f
[eva] Recording results for main
[eva] done for function main
[pdg] computing for function main
[from] Computing for function g
[from] Computing for function f <-g
[from] Done for function f
[from] Done for function g
[pdg] done for function main
[sparecode] add selection in function 'main'
[sparecode] selecting output zones \nothing
[sparecode] add selection in function 'main'
[pdg] computing for function f
[pdg] done for function f
[pdg] computing for function g
[pdg] done for function g
[sparecode] look for annotations in function f
[sparecode] look for annotations in function g
[sparecode] look for annotations in function main
[sparecode] finalize call input propagation
[sparecode] the caller 'g' is a spare function
[sparecode] add selection in function 'main'
[sparecode] the caller 'g' is a spare function
[sparecode] remove unused global declarations...
[sparecode] result in new project 'default without sparecode'.
/* Generated by Frama-C */
int f(void)
{
int __retres;
__retres = 0;
return __retres;
}
int main(void)
{
int x;
x = f();
return x;
}
|