ACDC: Altering Control Dependence Chains for Automated Patch Generation
Rawad Abou Assi, Chadi Trad, and Wes Masri

TL;DR
ACDC is an automated patch generation method that identifies minimal control dependence chains causing failures, then creates classifiers to selectively negate predicates, effectively repairing faulty Java programs with high accuracy.
Contribution
It introduces a novel approach combining control dependence analysis with predicate classifiers to generate patches that fix failures in Java programs.
Findings
Generated 56 full patches and 46 partial patches.
Achieved an average classifier accuracy of 84%.
Effectively repaired defects in Java benchmarks.
Abstract
Once a failure is observed, the primary concern of the developer is to identify what caused it in order to repair the code that induced the incorrect behavior. Until a permanent repair is afforded, code repair patches are invaluable. The aim of this work is to devise an automated patch generation technique that proceeds as follows: Step1) It identifies a set of failure-causing control dependence chains that are minimal in terms of number and length. Step2) It identifies a set of predicates within the chains along with associated execution instances, such that negating the predicates at the given instances would exhibit correct behavior. Step3) For each candidate predicate, it creates a classifier that dictates when the predicate should be negated to yield correct program behavior. Step4) Prior to each candidate predicate, the faulty program is injected with a call to its corresponding…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsParallel Computing and Optimization Techniques · Advanced Malware Detection Techniques · Embedded Systems Design Techniques
