As-if Infinitely Ranged Integer Model

Integer overflow and wraparound are major causes of software vulnerabilities in the C and C++ programming languages. In this paper we present the as-if infinitely ranged (AIR) integer model, which provides a largely automated mechanism for eliminating integer overflow and integer truncation. The AIR integer model either produces a value equivalent to one that would have been obtained using infinitely ranged integers or results in a runtime constraint violation. Unlike previous integer models, AIR integers do not require precise traps, and consequently do not break or inhibit most existing optimizations.

Prototype
GCC 4.5.0

View Complete Report

Authors

David Keaton

Thomas Plum

Robert C. Seacord

David Svoboda

Alex Volkovitsky

Timothy Wilson

This report is related to the following area(s) of work:

Security and Survivability
Tools & Methods

Technical Note
CMU/SEI-2009-TN-023
July 2009

find us here

share this page

Share on Facebook  Send to your Twitter page  Save to del.ico.us  Save to LinkedIn  Digg this  Stumble this page.  Add to Technorati favorites  Save this page on your Google Home Page 

For more information

Contact Us

info@sei.cmu.edu

412-268-5800