Transcription of Understanding Integer Overflow in C/C++
{{id}} {{{paragraph}}}
Appeared inProceedings of the 34th International Conference on Software Engineering (ICSE), Zurich, Switzerland, June Integer Overflow in C/C++ Will Dietz, Peng Li, John Regehr, and Vikram Adve Department of Computer ScienceUniversity of Illinois at School of ComputingUniversity of Integer overflow bugs in C and C++ programsare difficult to track down and may lead to fatal errors orexploitable vulnerabilities. Although a number of tools forfinding these bugs exist, the situation is complicated becausenot all overflows are bugs.
CINT2000 benchmarks had over 200 distinct occurrences of intentional wraparound behavior, for a wide range of different purposes. Some uses for intentional overflows are well-known, such as hashing, cryptography, random number generation, and finding the largest representable value for a type. Others are less obvious, e.g., inexpensive floating
Domain:
Source:
Link to this page:
Please notify us if you found a problem with this document:
{{id}} {{{paragraph}}}