A Flow Sensitive Algorithm for Buffer Overrun Detection

KIA Yi-min,CAO Hong-jia,LUO Jun,ZHANG Min-xuan
DOI: https://doi.org/10.3969/j.issn.1007-130x.2007.01.027
2007-01-01
Abstract:This paper proposes a flow-sensitive algorithm to detect buffer overruns statically. Using control flow and data flow analysis with demand-driven techniques, it builds the linear constraints of statements that access memory or call a function, and transforms the problem of buffer overrun detection into the problem of linear constraint resolution. Based on the algorithm, we implement a prototype. Experimental results show the prototype is accurate and efficient in identifying vulnerabilities.
What problem does this paper attempt to address?