首页> 外文会议>Engineering secure software and systems >Idea: Measuring the Effect of Code Complexity on Static Analysis Results
【24h】

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

机译:想法:测量代码复杂度对静态分析结果的影响

获取原文
获取原文并翻译 | 示例

摘要

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.
机译:为了了解代码复杂性对静态分析的影响,研究了35种格式的字符串漏洞。我们为每个漏洞分析了两个代码示例,一个包含漏洞,一个修复了漏洞。我们检查了代码复杂性对静态分析结果质量的影响,包括成功检测和误报率。静态分析检测到63%的格式字符串漏洞,检测率随着代码复杂度的增加而降低。当该工具未能检测到错误时,其原因有两个:缺少指定易受攻击的功能的安全规则或静态分析工具中存在错误。复杂的代码更有可能包含复杂的代码构造和晦涩的格式字符串函数,从而导致较低的检测率。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号