Title :
Overflow and Roundoff Error Analysis via Model Checking
Author :
Ngoc, Do Thi Bich ; Ogawa, Mizuhito
Author_Institution :
Sch. of Inf. Sci., Japan Adv. Inst. of Sci. & Technol., Ishikawa, Japan
Abstract :
This paper proposes a framework for statically analyzing overflow and roundoff errors of C programs. First, a new range representation, "extended affine interval", is proposed to estimate overflow and roundoff errors. Second, the overflow and roundoff error analysis problem is encoded as a weighted model checking problem. To avoid widening, currently we focus on programs with bounded loops, which typically appear in encoder/decoder reference algorithms. Last, we implement the proposed framework as a static analysis tool CANA. Experimental results on small programs show that the extended affine interval is much more precise than classical interval.
Keywords :
C language; error analysis; formal specification; program diagnostics; roundoff errors; C programs; CANA; bounded loops; classical interval; encoder/decoder reference algorithms; extended affine interval; range representation; roundoff error analysis; roundoff errors; static analaysis; static analysis tool; weighted model checking problem; Algorithm design and analysis; Arithmetic; Artificial intelligence; Decoding; Error analysis; Hardware; Information analysis; Ores; Roundoff errors; Signal processing algorithms; affine interval; model checking; overflow error; program analysis; roundoff error;
Conference_Titel :
Software Engineering and Formal Methods, 2009 Seventh IEEE International Conference on
Conference_Location :
Hanoi
Print_ISBN :
978-0-7695-3870-9
DOI :
10.1109/SEFM.2009.32