DocumentCode
660571
Title
Characterizing and detecting resource leaks in Android applications
Author
Chaorong Guo ; Jian Zhang ; Jun Yan ; Zhiqiang Zhang ; Yanli Zhang
Author_Institution
State Key Lab. of Comput. Sci., Inst. of Software, Beijing, China
fYear
2013
fDate
11-15 Nov. 2013
Firstpage
389
Lastpage
398
Abstract
Android phones come with a host of hardware components embedded in them, such as Camera, Media Player and Sensor. Most of these components are exclusive resources or resources consuming more memory/energy than general. And they should be explicitly released by developers. Missing release operations of these resources might cause serious problems such as performance degradation or system crash. These kinds of defects are called resource leaks. This paper focuses on resource leak problems in Android apps, and presents our lightweight static analysis tool called Relda, which can automatically analyze an application´s resource operations and locate the resource leaks. We propose an automatic method for detecting resource leaks based on a modified Function Call Graph, which handles the features of event-driven mobile programming by analyzing the callbacks defined in Android framework. Our experimental data shows that Relda is effective in detecting resource leaks in real Android apps.
Keywords
Android (operating system); mobile computing; program diagnostics; resource allocation; Android applications; Relda tool; application resource operations; callbacks; camera component; event-driven mobile programming; function call graph; lightweight static analysis tool; media player component; resource leak problems; resource leaks characterization; resource leaks detection; sensor component; Androids; Cameras; Humanoid robots; Java; Media; Mobile communication; Smart phones; Android apps; resource leak; static analysis;
fLanguage
English
Publisher
ieee
Conference_Titel
Automated Software Engineering (ASE), 2013 IEEE/ACM 28th International Conference on
Conference_Location
Silicon Valley, CA
Type
conf
DOI
10.1109/ASE.2013.6693097
Filename
6693097
Link To Document