Fixing Resource Leaks in Android Apps with Light-Weight Static Analysis and Low-Overhead Instrumentation
2016 IEEE 27th International Symposium on Software Reliability Engineering (ISSRE)(2016)
摘要
Fixing bugs according to bug reports is a labor-intensive work for developers and automatic techniques can effectively decrease the manual efforts. A feasible solution is to fix specific bugs by static analysis and code instrumentation. In this paper, we present a light-weight approach to fixing the resource leak bugs that exist widely in Android apps while guaranteeing the safety that the patches should not interrupt normal execution of the original program. This approach first performs a light-weight static analysis and then carefully designs the concise patch code that will be inserted into the byte-code. When the program is running, the patches will trace the state of leaked resources and release them in a proper place. Our experiments on dozens of real-world apps show that our approach can effectively fix resource leaks in the apps with negligible extra execution time and less than 4% extra code in a few seconds.
更多查看译文
关键词
light-weight static analysis,low-overhead instrumentation,Android application,bug fixing,bug reports,code instrumentation,light-weight approach,resource leak bugs,concise patch code
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络