[kernel] Parsing precond2.c (with preprocessing) /* Generated by Frama-C */ int global = 15; /*@ requires x > 0; requires (int)(x + y) ≢ 0; */ int f(int x, int y, float z) { int __retres; __retres = (x + y) - (int)z; return __retres; } int g(int a, int b) { int __retres; __retres = a / b; return __retres; } int main(void) { int tmp_0; int tmp; int a = 2; int b = 3; tmp = g(a,b); ; tmp_0 = f(b - a,tmp,(float)1.0); return tmp_0; } [kernel] ================================ [kernel] printing status [kernel] kf = f rte_gen_status = false [kernel] kf = g rte_gen_status = false [kernel] kf = main rte_gen_status = false [kernel] computing rte-div annotations [rte:annot] annotating function f [rte:annot] annotating function g [rte:annot] annotating function main /* Generated by Frama-C */ int global = 15; /*@ requires x > 0; requires (int)(x + y) ≢ 0; */ int f(int x, int y, float z) { int __retres; __retres = (x + y) - (int)z; return __retres; } int g(int a, int b) { int __retres; /*@ assert rte: division_by_zero: b ≢ 0; */ __retres = a / b; return __retres; } int main(void) { int tmp_0; int tmp; int a = 2; int b = 3; tmp = g(a,b); ; tmp_0 = f(b - a,tmp,(float)1.0); return tmp_0; } [kernel] ================================ [kernel] printing status [kernel] kf = f rte_gen_status = false [kernel] kf = g rte_gen_status = false [kernel] kf = main rte_gen_status = false [kernel] removing rte-div alarms /* Generated by Frama-C */ int global = 15; /*@ requires x > 0; requires (int)(x + y) ≢ 0; */ int f(int x, int y, float z) { int __retres; __retres = (x + y) - (int)z; return __retres; } int g(int a, int b) { int __retres; __retres = a / b; return __retres; } int main(void) { int tmp_0; int tmp; int a = 2; int b = 3; tmp = g(a,b); ; tmp_0 = f(b - a,tmp,(float)1.0); return tmp_0; } [kernel] ================================ [kernel] printing status [kernel] kf = f rte_gen_status = false [kernel] kf = g rte_gen_status = false [kernel] kf = main rte_gen_status = false