摘要
针对安卓应用中服务泄露问题,采用了首先分析服务使用模式,根据三类不同模式的特点分别判断是否存在相应的服务泄露的方法,设计并实现了一个静态分析工具SLeakDroid。通过使用该工具对真实世界中来自维基百科下载量最高的45个安卓应用进行实验,得出45个应用中总服务的35.1%均涉及服务泄露的结论。实验结果表明该工具可以有效且高效地检测出Android应用中存在的服务泄露问题。
Aiming at the problem of service leakage in Android application,a static detection tool which named SLeakDroid was designed and implemented by the method which first analyzed the service usage mode,and then judged whether there was a corresponding service leakage based on the characteristics of the three different modes.The tool was applied to 45 Android apps with the highest downloads on Wikipedia in the real world,it was concluded that 35.1% of the total services in 45 applications were related to service leaks.The experimental results show that the tool can detect service leaks in Android applications effectively and efficiently.
作者
张静
宋巍
张炽华
ZHANG Jing;SONG Wei;ZHANG Chi-hua(School of Computer Science and Engineering,Nanjing University of Science and Technology,Nanjing 210094,China)
出处
《电子设计工程》
2019年第13期1-6,共6页
Electronic Design Engineering
基金
国家自然科学基金项目(61761136003)