[kernel] Parsing dyn_dpds.c (with 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 G ∈ {0} [eva:alarm] dyn_dpds.c:20: Warning: signed overflow. assert -2147483648 ≤ a + b; [eva:alarm] dyn_dpds.c:20: Warning: signed overflow. assert a + b ≤ 2147483647; [eva:alarm] dyn_dpds.c:23: Warning: signed overflow. assert -x ≤ 2147483647; [eva:alarm] dyn_dpds.c:24: Warning: assertion got status unknown. [eva] Recording results for main [eva] done for function main [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 main: \result FROM a; b; c [from] ====== END OF DEPENDENCIES ====== /* Generated by Frama-C */ int G; int main(int a, int b, int c) { /* Locals: x, p */ int x; int *p; /* sid:1 */ /*@ assert Eva: signed_overflow: -2147483648 ≤ a + b; */ /*@ assert Eva: signed_overflow: a + b ≤ 2147483647; */ x = a + b; /* sid:2 */ p = & x; /* sid:4 */ if (c < 0) { /* sid:5 */ /*@ assert Eva: signed_overflow: -x ≤ 2147483647; */ x = - x; /* sid:6 */ /*@ assert *p > G; */ ; } else { } /* sid:9 */ return x; } [pdg] computing for function main [pdg] done for function main RESULT for main: {n1}: InCtrl {n2}: VarDecl : a -[a--]-> 3 {n3}: In1 -[a--]-> 2 {n4}: VarDecl : b -[a--]-> 5 {n5}: In2 -[a--]-> 4 {n6}: VarDecl : c -[a--]-> 7 {n7}: In3 -[a--]-> 6 {n8}: VarDecl : x {n9}: VarDecl : p {n10}: x = a + b; -[-c-]-> 1 -[--d]-> 2 -[--d]-> 3 -[--d]-> 4 -[--d]-> 5 -[a--]-> 8 {n11}: p = & x; -[-c-]-> 1 -[--d]-> 8 -[a--]-> 9 {n12}: c < 0 -[-c-]-> 1 -[--d]-> 6 -[--d]-> 7 {n13}: x = - x; -[-c-]-> 1 -[a-d]-> 8 -[--d]-> 10 -[-c-]-> 12 {n14}: ; -[-c-]-> 1 -[-c-]-> 12 {n15}: return x; -[-c-]-> 1 -[--d]-> 8 -[--d]-> 10 -[--d]-> 13 {n16}: OutRet -[--d]-> 15 [pdg] dot file generated in dyn_dpds_0.dot Warning : cannot select G in this function... RESULT for main: {n1}: InCtrl {n2}: VarDecl : a -[a--]-> 3 {n3}: In1 -[a--]-> 2 {n4}: VarDecl : b -[a--]-> 5 {n5}: In2 -[a--]-> 4 {n6}: VarDecl : c -[a--]-> 7 {n7}: In3 -[a--]-> 6 {n8}: VarDecl : x {n9}: VarDecl : p {n10}: x = a + b; -[-c-]-> 1 -[--d]-> 2 -[--d]-> 3 -[--d]-> 4 -[--d]-> 5 -[a--]-> 8 {n11}: p = & x; -[-c-]-> 1 -[--d]-> 8 -[a--]-> 9 {n12}: c < 0 -[-c-]-> 1 -[--d]-> 6 -[--d]-> 7 {n13}: x = - x; -[-c-]-> 1 -[a-d]-> 8 -[--d]-> 10 -[-c-]-> 12 {n14}: ; -[-c-]-> 1 -[-c-]-> 12 {n15}: return x; -[-c-]-> 1 -[--d]-> 8 -[--d]-> 10 -[--d]-> 13 {n16}: OutRet -[--d]-> 15 [pdg] dot file generated in dyn_dpds_1.dot