2014 · 38 citations · 16 references
ComputingComputer EngineeringComputer ScienceFault-tolerant SystemsMobile SystemsSoftware EngineeringMobile Application DevelopmentPatch ManagementSelf-healing SystemsSoftware Fault ToleranceSoftware MaintenanceAndroid Application AnalysisApplication PatchingBytecode DecompilationBytecode RepresentationEarly Failure DetectionExceptional ScenariosSelf Healing
Frequent app bugs and low tolerance for loss of functionality create an impetus for self-healing smartphone software. We take a step towards this via on-the-fly error detection and automated patching. Specifically, we add failure detection and recovery to Android by detecting crashes and ``sealing off'' the crashing part of the app to avoid future crashes. In the detection stage, our system dynamically analyzes app execution to detect certain exceptional situations. In the recovery stage, we use bytecode rewriting to alter app behavior as to avoid such situations in the future. When using our implementation, apps can resume operation (albeit with limited functionality) instead of repeatedly crashing. Our approach does not require access to app source code or any system (e.g., kernel-level) modification. Experiments on several real-world, popular Android apps and bugs show that our approach manages to recover the apps from crashes effectively, timely, and without introducing overhead.
16
Automatically finding patches using genetic programming
Westley Weimer, ThanhVu Nguyen, Claire Le Goues et al. · 2009 · 772 citations
Automatic patch generation learned from human-written patches
2013 · 457 citations
Automatically patching errors in deployed software
Jeff Perkins, Sunghun Kim, Sam Larsen et al. · 2009 · 416 citations
Microreboot -- A Technique for Cheap Recovery
George Candea, Shinichi Kawamoto, Yuichi Fujiki et al. · ArXiv.org · 2004 · 369 citations · Full text