整数(计算机科学)
操作数
假阳性悖论
计算机科学
整数规划
仪表(计算机编程)
算法
数据流分析
数据挖掘
可靠性工程
实时计算
数据流图
工程类
人工智能
程序设计语言
计算机硬件
数据库
作者
Hao Sun,Chao Su,Yue Wang,Qingkai Zeng
标识
DOI:10.18293/seke2015-123
摘要
Integer signedness errors can be exploited by adversaries to cause severe damages to computer systems. Despite the significant advances in automating the detection of integer signedness errors, accurately differentiating exploitable and harmful signedness errors from unharmful ones is an important challenge. In this paper, we present the design and implementation of SignFlow, an instrumentation-based integer signedness error detector to reduce the reports for unharmful signedness errors. SignFlow first utilizes static data flow analysis to identify unharmful integer sign conversions from the view of where the source operands originate and whether the conversion results can propagate to security-related program points, and then inserts security checks for the remaining conversions so as to accomplish runtime protection. We evaluated SignFlow on 8 real-world harmful integer signedness bugs, SPECint 2006 benchmarks together with 5 real-world applications. The experimental results show that SignFlow correctly detected all harmful integer signedness bugs (i.e. no false negatives) and achieved a reduction of 41% in false positives over IntFlow, the state of the art.
科研通智能强力驱动
Strongly Powered by AbleSci AI