Title of article :
Filtering false alarms of buffer overflow analysis using SMT solvers
Author/Authors :
Kim، نويسنده , , Youil and Lee، نويسنده , , Jooyong and Han، نويسنده , , Hwansoo and Choe، نويسنده , , Kwang-Moo Choe، نويسنده ,
Issue Information :
ماهنامه با شماره پیاپی سال 2010
Abstract :
Buffer overflow detection using static analysis can provide a powerful tool for software programmers to find difficult bugs in C programs. Sound static analysis based on abstract interpretation, however, often suffers from false alarm problem. Although more precise abstraction can reduce the number of the false alarms in general, the cost to perform such analysis is often too high to be practical for large software. On the other hand, less precise abstraction is likely to be scalable in exchange for the increased false alarms. In order to attain both precision and scalability, we present a method that first applies less precise abstraction to find buffer overflow alarms fast, and selectively applies a more precise analysis only to the limited areas of code around the potential false alarms. In an attempt to develop the precise analysis of alarm filtering for large C programs, we perform a symbolic execution over the potential alarms found in the previous analysis, which is based on the abstract interpretation. Taking advantage of a state-of-art SMT solver, our precise analysis efficiently filters out a substantial number of false alarms. Our experiment with the test cases from three open source programs shows that our filtering method can reduce about 68% of false alarms on average.
Keywords :
false alarm , SMT solver , Program analysis , BUFFER OVERFLOW
Journal title :
Information and Software Technology
Journal title :
Information and Software Technology