2008 Eighth IEEE International Working Conference on Source Code Analysis and Manipulation (2008)
Sept. 28, 2008 to Sept. 29, 2008
DOI Bookmark: http://doi.ieeecomputersociety.org/10.1109/SCAM.2008.22
Bug-checking tools have been used with some success in recent years to find bugs in software.??For finding bugs that can cause security vulnerabilities, bug checking tools require a program analysis which determines whether a software bug can be controlled by user-input. In this paper we introduce a static program analysis for computing user-input dependencies.??This analysis can be used as a pre-processing filter to a static bug checking tool for identifying bugs that can potentially be exploited as security vulnerabilities. In order for the analysis to be applicable to large commercial software in the millions of lines of code, runtime speed and scalability of the user-input dependence analysis is of key importance. Our user-input dependence analysis takes both data and control dependencies into account. We extend Static Single Assignment (SSA) form by augmenting phi-nodes with control dependencies.??A formal definition of user-input dependence is expressed in a dataflow analysis framework as a Meet-Over-all-Paths (MOP) solution. We reduce the equation system to a sparse equation system exploiting the properties of SSA. The sparse equation system is solved as a reachability problem that results in a fast algorithm for computing user-input dependencies. We have implemented a call-insensitive and a call-sensitive analysis.??The paper gives preliminary results on the comparison of their efficiency for various benchmarks.
Static single assignment form, static taint analysis
C. Cifuentes, C. Zhang and B. Scholz, "User-Input Dependence Analysis via Graph Reachability," 2008 Eighth IEEE International Working Conference on Source Code Analysis and Manipulation(SCAM), vol. 00, no. , pp. 25-34, 2008.