English

IntRepair: Informed Repairing of Integer Overflows

Software Engineering 2019-10-15 v3

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 C source code. Our technique, based on static symbolic execution, fuses detection, repair generation and validation. This technique is implemented in a prototype named IntRepair. We applied IntRepair to 2,052C programs (approx. 1 million lines of code) contained in SAMATE's Juliet test suite and 50 synthesized programs that range up to 20KLOC. Our experimental results show that IntRepair 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%, respectively. Further, we present the results of a user study with 30 participants which shows that IntRepair repairs are more than 10x efficient as compared to manually generated code repairs

Keywords

Cite

@article{arxiv.1807.05092,
  title  = {IntRepair: Informed Repairing of Integer Overflows},
  author = {Paul Muntean and Martin Monperrus and Hao Sun and Jens Grossklags and Claudia Eckert},
  journal= {arXiv preprint arXiv:1807.05092},
  year   = {2019}
}

Comments

Accepted for publication at the IEEE TSE journal. arXiv admin note: text overlap with arXiv:1710.03720

R2 v1 2026-06-23T03:00:29.009Z