IEEE Transactions on Software Engineering · 2016 · 58 citations · 48 references
ComputingComputer EngineeringComputer ScienceMobile ComputingMobile SystemsSoftware EngineeringApplication Programming InterfacesApplication Security TestingLeak DetectionMobile Application DevelopmentMobile Application VulnerabilitiesStatic Application Security TestingAndroid Application AnalysisAndroid Application Security TestingCall Graph ConstructionPerformance DegradationPerformance Degradation DetectionRelease OperationsResource Leak DetectionUser-defined Functions
Android devices include many embedded resources such as Camera, Media Player and Sensors. These resources require programmers to explicitly request and release them. Missing release operations might cause serious problems such as performance degradation or system crash. This kind of defects is called resource leak. Despite a large body of existing works on testing and analyzing Android apps, there still remain several challenging problems. In this work, we present Relda2, a light-weight and precise static resource leak detection tool. We first systematically collected a resource table, which includes the resources that the Android reference requires developers release manually. Based on this table, we designed a general approach to automatically detect resource leaks. To make a more precise inter-procedural analysis, we construct a Function Call Graph for each Android application, which handles function calls of user-defined methods and the callbacks invoked by the Android framework at the same time. To evaluate Relda2's effectiveness and practical applicability, we downloaded 103 apps from popular app stores and an open source community, and found 67 real resource leaks, which we have confirmed manually.
48
Thomas J. McCabe · IEEE Transactions on Software Engineering · 1976 · 5.8K citations
Symbolic model checking: 1020 States and beyond
Jerry R. Burch, E. M. Clarke, Kenneth L. McMillan et al. · Information and Computation · 1992 · 2.7K citations
TaintDroid: an information-flow tracking system for realtime privacy monitoring on smartphones
William Enck, Peter Gilbert, Byung-Gon Chun et al. · 2010 · 2.3K citations
Steven Arzt, Siegfried Rasthofer, Christian Fritz et al. · 2014 · 1.4K citations