Avoiding Program Failures Through Safe Execution Perturbations

  • Authors:
  • Sriraman Tallam;Chen Tian;Rajiv Gupta;Xiangyu Zhang

  • Affiliations:
  • -;-;-;-

  • Venue:
  • COMPSAC '08 Proceedings of the 2008 32nd Annual IEEE International Computer Software and Applications Conference
  • Year:
  • 2008

Quantified Score

Hi-index 0.00

Visualization

Abstract

We present an online framework to capture and recover from program failures and prevent them from occurring in the future through safe execution perturbations. The perturbations are safe as they respect the semantics of the program. We use a checkpointing/logging mechanism to capture a program execution to an event log. If the execution results in a failure, the framework automatically searches for perturbation of the execution by altering the event log and replaying the execution using the altered log to avoid the failure. If found, the perturbation is recorded as a dynamic patch, which is later applied by all future executions of this application to prevent the failure from occurring again. Our experiments show that the proposed framework is very effective in avoiding concurrency faults, heap memory overflow faults, and malicious requests. The entailed overhead for normal execution is very low (2-18%).