arrow
返回

Understanding Integer Overflow in C/C plus

了解C/C plus中的整数溢出

delete2015-12-02
delete44
PRE
AI
W
Will Dietz
P
Peng Li
J
John Regehr *
V
Vikram Adve
DOI:10.1145/2743019delete
delete原文链接
delete分享
delete收藏
摘要

摘要

En 中文
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, overflows are found in both well-defined and undefined flavors. Applications executing undefined operations can be, and have been, broken by improvements in compiler optimizations. Looking beyond SPEC, we found and reported undefined integer overflows in SQLite, PostgreSQL, SafeInt, GNU MPC and GMP, Firefox, LLVM, Python, BIND, and OpenSSL; many of these have since been fixed.
Keyword:
Experimentation
Languages
Measurement
Performance
Integer overflow
integer wraparound
undefined behavior
AI总结

AI总结

对已上传原文的论文进行重点信息的提取,主要内容包括:简要概述、研究摘要、背景介绍、关键亮点、图文解析、展望与总结。

Mutation Testing for Integer Overflow in Ethereum Smart Contracts以太坊智能合约中整数溢出的变异测试
err2022-02-01
err26
errOAAI
errSun, Jinlei; Huang, Song; Zheng, Changyou; Wang, Tingyong; Zong, Cheng; Hui, Zhanwei
err分享
err收藏
Integer multiplication with overflow detection or saturation
err2000-07-01
err7
PREAI
errSchulte, MJ; Balzola, PI; Akkas, A; Brocato, RW
err分享
err收藏
err分享
err收藏
Tolerating C Integer Error via Precision Elevation
err2019-02-01
err1
PREAI
errCheng, Xi; Zhou, Min; Song, Xiaoyu; Gu, Ming; Sun, Jiaguang
err分享
err收藏
IntRepair: Informed Repairing of Integer Overflows
err2021-10-01
err17
errOAAI
errMuntean, Paul; Monperrus, Martin; Sun, Hao; Grossklags, Jens; Eckert, Claudia
err分享
err收藏

期刊

A
ACM Transactions on Software Engineering and Methodology
IF:
6.2
论文数:
1.4K
被引数:
4.5K

机构

U
University of Illinois Urbana-Champaign
学者数:
1.9K
论文数: 776
被引数: 1.9W
University of Illinois System 封面图
University of Illinois System
学者数:
6.9W
论文数: 6.2W
被引数: 8.4W
引用论文

引用论文