[kernel] Parsing func_ptr.c (with preprocessing) [kernel:typing:implicit-function-declaration] func_ptr.c:29: Warning: Calling undeclared function exit. Old style K&R code? [metrics] Defined functions (4) ===================== baz (address taken) (0 call); foo (address taken) (0 call); foobar (0 call); main (0 call); Specified-only functions (0) ============================ Undefined and unspecified functions (1) ======================================= exit (1 call); 'Extern' global variables (1) ============================= bar_extern Potential entry points (2) ========================== foobar; main; Global metrics ============== Sloc = 20 Decision point = 2 Global variables = 2 If = 2 Loop = 0 Goto = 2 Assignment = 7 Exit point = 4 Function = 5 Function call = 3 Pointer dereferencing = 2 Cyclomatic complexity = 6 [metrics] Functions syntactically reachable from foobar: 2 ------------------------------------------------ : baz; foobar; Functions syntactically unreachable from foobar: 3 -------------------------------------------------- : exit; foo; main; [eva] Analyzing a complete application starting at foobar [eva] Computing initial state [eva] Initial state computed [eva:initial-state] Values of globals at initialization bar ∈ {0} bar_extern ∈ {0} [eva] done for function foobar [eva:summary] ====== ANALYSIS SUMMARY ====== ---------------------------------------------------------------------------- 2 functions analyzed (out of 4): 50% coverage. In these functions, 5 statements reached (out of 5): 100% coverage. ---------------------------------------------------------------------------- Some errors and warnings have been raised during the analysis: by the Eva analyzer: 0 errors 0 warnings by the Frama-C kernel: 0 errors 1 warning ---------------------------------------------------------------------------- 0 alarms generated by the analysis. ---------------------------------------------------------------------------- No logical properties have been reached by the analysis. ---------------------------------------------------------------------------- [metrics] Eva coverage statistics ======================= Syntactically reachable functions = 2 (out of 5) Semantically reached functions = 2 Coverage estimation = 100.0% [metrics] Statements analyzed by Eva -------------------------- 5 stmts in analyzed functions, 5 stmts analyzed (100.0%) baz: 1 stmts out of 1 (100.0%) foobar: 4 stmts out of 4 (100.0%)