Towards self-healing smartphone software via automated patching
Authors:
Open Access
- 15 September 2014
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 623-628
Abstract
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.Keywords
Funding Information
- U.S. Army Research Laboratory (W911NF-13-2-0045 (ARL Cyber Security CRA))
- Division of Computer and Network Systems (CNS-1064646)
This publication has 11 references indexed in Scilit:
- Targeted and depth-first exploration for systematic testing of android apps2013
- Automatic workarounds for web applications2010
- Characterizing Failures in Mobile OSes: A Case Study with Android and Symbian2010
- Automated fixing of programs with contracts2010
- Generating Fixes from Object Behavior Anomalies2009
- Automatically patching errors in deployed software2009
- ASSURE2009
- Recovering Internet Service Sessions from Operating System FailuresIEEE Internet Computing, 2005
- Data structure repair using goal-directed reasoning2005
- Helping users avoid bugs in GUI applications2005