Computer Engineering and Applications ›› 2016, Vol. 52 ›› Issue (17): 29-35.

Previous Articles     Next Articles

Application code memory leak analysis and detecting technology research in mobile

ZHU Hongjun1,2, HAN Yang1, HUA Baojian2, CHEN Hao1   

  1. 1.School of Software Engineering, University of Science and Technology of China, Hefei 230051, China
    2.Suzhou Institute for Advanced Study, University of Science and Technology of China, Suzhou, Jiangsu 215123, China
  • Online:2016-09-01 Published:2016-09-14

移动应用程序内存泄露机制分析与检测方案设计

朱洪军1,2,韩  洋1,华保健2,陈  灏1   

  1. 1.中国科学技术大学 软件学院,合肥 230051
    2.中国科学技术大学 苏州研究院,江苏 苏州 215123

Abstract: Android development has become a hot field of mobile development, but memory usage problems in Android applications are often overlooked, part of the developers are lack of knowledge of Java garbage collection mechanism, which makes the memory leak become a very important issues in security area of Android application development. In this paper, the harm of memory leaks is expounded, it introduces some scenario of memory leak and sorts them according to the correlation of  four components of Android, finally summarizes characteristics and puts forward a kind of memory leak code static code memory leak detection scheme based on symbolic execution.

Key words: Android, memory leak, symbolic execution

摘要: Android开发已经成为移动开发热门领域,Android应用程序中内存使用的问题却经常容易被忽视,部分开发者对Java垃圾回收机制认识模糊,使得内存泄漏成为Android应用开发中十分隐秘但又确实存在的应用安全问题,对内存泄漏的危害进行了阐述,并根据与Activity、Service、ContentProvider、Broadcast Receiver等Android组件的相关性归类介绍了一些常见的典型内存泄漏情景,最后分析总结内存泄漏代码特征,并设计一种基于符号执行的内存泄漏静态代码检测方案。

关键词: 安卓, 内存泄漏, 符号执行