Automatic Repair for Network Programs
Open Access
- 30 March 2022
- book chapter
- Published by Springer Nature
- p. 353-372
Abstract
Debugging imperative network programs is a difficult task for operators as it requires understanding various network modules and complicated data structures. For this purpose, this paper presents an automated technique for repairing network programs with respect to unit tests. Given as input a faulty network program and a set of unit tests, our approach localizes the fault through symbolic reasoning, and synthesizes a patch ensuring that the repaired program passes all unit tests. It applies domain-specific abstraction to simplify network data structures and exploits function summary reuse for modular symbolic analysis. We have implemented the proposed techniques in a tool called NetRep and evaluated it on 10 benchmarks adapted from real-world software-defined network controllers. The evaluation results demonstrate the effectiveness and efficiency of NetRep for repairing network programs.Keywords
All Related Versions
This publication has 45 references indexed in Scilit:
- Decentralizing SDN PoliciesACM SIGPLAN Notices, 2015
- A lightweight symbolic virtual machine for solver-aided host languagesACM SIGPLAN Notices, 2014
- Code completion with statistical language modelsACM SIGPLAN Notices, 2014
- VeriConACM SIGPLAN Notices, 2014
- Cause clue clausesACM SIGPLAN Notices, 2011
- Automating string processing in spreadsheets using input-output examplesACM SIGPLAN Notices, 2011
- Bug-Assist: Assisting Fault Localization in ANSI-C Programs2011
- Automated patching techniquesCommunications of the ACM, 2010
- Repair of Boolean Programs with an Application to C2006
- Lightweight Defect Localization for Java2005