JAIST Repository >
School of Information Science >
JAIST Research Reports >
Research Report - School of Information Science : ISSN 0918-7553 >
IS-RR-2010 >
Please use this identifier to cite or link to this item:
http://hdl.handle.net/10119/9018
|
Title: | Combining Testing and Static Analysis to Overflow and Roundoff Error Detection |
Authors: | Do, Ngoc Thi Bich Ogawa, Mizuhito |
Keywords: | Software verification Static analysis Testing Roundoff error Overflow error Affine interval Classical interval |
Issue Date: | 2010-06-21 |
Publisher: | 北陸先端科学技術大学院大学情報科学研究科 |
Magazine name: | Research report (School of Information Science, Japan Advanced Institute of Science and Technology) |
Volume: | IS-RR-2010-004 |
Start page: | 1 |
End page: | 27 |
Abstract: | This paper proposes a technique for automaticdetection of overflow and roundoff errors, causedby the floating-point number to fixed-point number conversion. First, a new range representation, “extended affine interval”, is proposed to overapproximate overflow and roundoff errors. Second, the overflow and roundoff error analysis problem is encoded as a weighted model checking, which is implemented as a static analyzer CANA. Last, we propose a new testing refinement loop, called “counterexample-guided narrowing”, by combining the static analysis and testing. They arecomposed and implemented in a prototype tool, CANAT, in which analysis results are used not only for possible roundoff error detection, but also for finding dominant error factors in input parameters. To avoid widening, currently we focus on programs with bounded loops and arrays with fixed length, which typically appear in encoder/decoder reference algorithms. Experimental results on small programs show that the extended affine interval is much more precise than classical interval, andthe counterexample-guided narrowing approach outperforms the random testing technique. |
URI: | http://hdl.handle.net/10119/9018 |
Material Type: | publisher |
Appears in Collections: | IS-RR-2010
|
Files in This Item:
File |
Description |
Size | Format |
IS-RR-2010-004.pdf | | 799Kb | Adobe PDF | View/Open |
|
All items in DSpace are protected by copyright, with all rights reserved.
|