首页> 外文会议>Information Security for South Africa Conference >SMT-constrained symbolic execution engine for integer overflow detection in C code
【24h】

SMT-constrained symbolic execution engine for integer overflow detection in C code

机译:受SMT约束的符号执行引擎,用于C代码中的整数溢出检测

获取原文

摘要

Integer overflow errors in C programs are difficult to detect since the C language specification rules which govern how one can cast or promote integer types are not accompanied by any unambiguous set of formal rules. Thus, making it difficult for the programmer to understand and use the rules correctly causing vulnerabilities or costly errors. Although there are many static and dynamic tools used for integer overflow detection, the tools lack the capacity of efficiently filtering out false positives and false negatives. Better tools are needed to be constructed which are more precise in regard to bug detection and filtering out false positives. In this paper, we present an integer overflow checker which is based on precise modeling of C language semantics and symbolic function models. We developed our checker as an Eclipse plug-in and tested it on the open source C/C++ test case CWE-190 contained in the National Institute of Standards and Technology (NIST) Juliet test suite for C/C++. We ran our checker systematically on 2592 programs having in total 340 KLOC with a true positive rate of 95.49% for the contained C programs and with no false positives. We think our approach is effective to be applied in future to C++ programs as well, in order to detect other kinds of vulnerabilities related to integers.
机译:由于C语言规范规则,C程序中的整数溢出错误难以检测到控制如何施法或促进整数类型的C语言规范规则,而不是伴随着任何明确的正式规则。因此,程序员难以正确地理解和使用规则,从而正确地引起漏洞或昂贵的错误。虽然有许多用于整数溢出检测的静态和动态工具,但该工具缺乏有效过滤误报和假底片的能力。需要构建更好的工具,这在错误检测和过滤误报方面更精确。在本文中,我们介绍了一个整数溢出检查器,它基于C语言语义和符号函数模型的精确建模。我们将Checker开发为Eclipse插件,并在国家标准和技术研究所(NIST)朱丽叶测试套件中的开源C / C ++测试案例CWE-190上进行了测试。我们系统地在3592节方案上运行了340 kLoc的计划,该计划的真正阳性率为95.49%,而没有误报。我们认为我们的方法也有效地应用于C ++程序,以便检测与整数相关的其他类型的漏洞。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号