Publication | Closed Access
Characterizing and detecting resource leaks in Android applications
93
Citations
12
References
2013
Year
Unknown Venue
Software MaintenanceMobile SecurityFunction Call GraphEngineeringResource LeaksSoftware EngineeringSoftware AnalysisStatic CheckingMobile MalwareApplication AnalysisMobile ComputingComputer ScienceStatic Program AnalysisSoftware DesignData SecurityProgram AnalysisResource Leak ProblemsSoftware TestingSystem Software
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.
| Year | Citations | |
|---|---|---|
Page 1
Page 1