作者
Will Dietz, Peng Li, John Regehr, Vikram Adve
发表日期
2015/12/2
期刊
ACM Transactions on Software Engineering and Methodology (TOSEM)
卷号
25
期号
1
页码范围
1-29
出版商
ACM
简介
Integer overflow bugs in C and C++ programs are difficult to track down and may lead to fatal errors or exploitable vulnerabilities. Although a number of tools for finding these bugs exist, the situation is complicated because not all overflows are bugs. Better tools need to be constructed, but a thorough understanding of the issues behind these errors does not yet exist. We developed IOC, a dynamic checking tool for integer overflows, and used it to conduct the first detailed empirical study of the prevalence and patterns of occurrence of integer overflows in C and C++ code. Our results show that intentional uses of wraparound behaviors are more common than is widely believed; for example, there are over 200 distinct locations in the SPEC CINT2000 benchmarks where overflow occurs. Although many overflows are intentional, a large number of accidental overflows also occur. Orthogonal to programmers' intent …
引用总数
20122013201420152016201720182019202020212022202320248161637222523262319221113
学术搜索中的文章
W Dietz, P Li, J Regehr, V Adve - ACM Transactions on Software Engineering and …, 2015