Back to Search Start Over

<sc>IntRepair</sc>: Informed Repairing of Integer Overflows

Authors :
Muntean, Paul
Monperrus, Martin
Sun, Hao
Grossklags, Jens
Eckert, Claudia
Source :
IEEE Transactions on Software Engineering; October 2021, Vol. 47 Issue: 10 p2225-2241, 17p
Publication Year :
2021

Abstract

Integer overflows have threatened software applications for decades. Thus, in this paper, we propose a novel technique to provide automatic repairs of integer overflows in &lt;monospace&gt;C&lt;/monospace&gt; source code. Our technique, based on static symbolic execution, fuses detection, repair generation and validation. This technique is implemented in a prototype named &lt;sc&gt;IntRepair&lt;/sc&gt;. We applied &lt;sc&gt;IntRepair&lt;/sc&gt; to 2,052 &lt;monospace&gt;C&lt;/monospace&gt; programs (approx. 1 million lines of code) contained in SAMATE&#39;s Juliet test suite and 50 synthesized programs that range up to 20 KLOC. Our experimental results show that &lt;sc&gt;IntRepair&lt;/sc&gt; is able to effectively detect integer overflows and successfully repair them, while only increasing the source code (LOC) and binary (Kb) size by around 1 percent, respectively. Further, we present the results of a user study with 30 participants which shows that &lt;sc&gt;IntRepair&lt;/sc&gt; repairs are more than 10x efficient as compared to manually generated code repairs.

Details

Language :
English
ISSN :
00985589
Volume :
47
Issue :
10
Database :
Supplemental Index
Journal :
IEEE Transactions on Software Engineering
Publication Type :
Periodical
Accession number :
ejs58067813
Full Text :
https://doi.org/10.1109/TSE.2019.2946148