Sciweavers

ESSOS
2009
Springer

Idea: Measuring the Effect of Code Complexity on Static Analysis Results

14 years 3 months ago
Idea: Measuring the Effect of Code Complexity on Static Analysis Results
Abstract. To understand the effect of code complexity on static analysis, thirty-five format string vulnerabilities were studied. We analyzed two code samples for each vulnerability, one containing the vulnerability and one in which the vulnerability was fixed. We examined the effect of code complexity on the quality of static analysis results, including successful detection and false positive rates. Static analysis detected 63% of the format string vulnerabilities, with detection rates decreasing with increasing code complexity. When the tool failed to detect a bug, it was for one of two reasons: the absence of security rules specifying the vulnerable function or the presence of a bug in the static analysis tool. Complex code is more likely to contain complicated code constructs and obscure format string functions, resulting in lower detection rates. Key words: static analysis, code complexity
James Walden, Adam Messer, Alex Kuhl
Added 16 Aug 2010
Updated 16 Aug 2010
Type Conference
Year 2009
Where ESSOS
Authors James Walden, Adam Messer, Alex Kuhl
Comments (0)