Programming and Computer Software · 2018 · 13 citations · 4 references
ComputingComputer EngineeringComputer ScienceApplication SecurityComputer SecurityVulnerability AnalysisControl-flow AnalysisData-flow AnalysisStatic AnalysisStatic Code AnalysisStatic Vulnerability AnalysisType CheckingHybrid Static AnalysisStatic Analysis Of Obfuscated CodeStatic Attack Surface AnalysisStatic Race DetectionTainted Data Analysis
Currently, one of the most efficient ways to detect software security flaws is taint analysis. It can be based on static code analysis, and it helps detect bugs that lead to vulnerabilities, such as code injection or leaks of private data. Two approaches to the implementation of tainted data propagation over the program intermediate representation are proposed and compared. One of them is based on dataflow analysis (IFDS), and the other is based on symbolic execution. In this paper, the implementation of both approaches in the framework of the existing static analyzer infrastructure for detecting bugs in C# programs are described. These approaches are compared from the viewpoint of the scope of application, quality of results, performance, and resource requirements. Since both approaches use a common infrastructure for accessing information about the program and are implemented by the same team of developers, the results of the comparison are more significant and accurate than usual, and they can be used to select the best option in the context of the specific program and task. Our experiments show that it is possible to achieve the same completeness regardless of the chosen approach. The IFDS-based implementation has higher performance comparing with the symbolic execution for detectors with a small amount of tainted data sources. In the case of multiple detectors and a large number of sources, the scalability of the IFDS approach is worse than the scalability of the symbolic execution.
4
Steven Arzt, Siegfried Rasthofer, Christian Fritz et al. · 2014 · 1.4K citations
Precise interprocedural dataflow analysis via graph reachability
Thomas Reps, Susan Horwitz, Mooly Sagiv · 1995 · 1.2K citations
Steven Arzt, Siegfried Rasthofer, Christian Fritz et al. · ACM SIGPLAN Notices · 2014 · 916 citations