arrow
Return

State-Taint Analysis for Detecting Resource Bugs

delete2016-07-01
delete4
PRE
AI
Z
Zhiwu Xu *
D
Dongxiao Fan
S
Shengchao Qin
DOI:10.1109/TASE.2016.17delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
To verify whether a program uses resources in a valid manner is vital for program correctness. A number of solutions have been proposed to ensure such a property for resource usage. But most of them are sophisticated to use for resource bugs detection in practice and do not concern about the issue that an opened resource should be used. This open-but-not-used problem can cause resource starvation in some case as well. In particular, resources of smartphones are not only scarce but also energy-hungry. The misuse of resources could not only cause the system to run out of resources but also lead to a shorter battery life. That is the so-call energy leak problem. Aiming to provide a lightweight method and to detect as many resource bugs as possible, we propose a statetaint analysis in this paper. First, take the open-but-not-used problem into account, we specify the appropriate usage of resources as resource protocols. Then we propose a taint-like analysis which takes resource protocols as a guide to detect resource bugs. As an application, we enrich the resource usage protocols by taking into account energy leaks and use the refined protocols to guide the analysis for energy leak detection. We implement the analysis as a prototype tool called statedroid. Using this tool, we conduct experiments on several real Android applications and find several energy leaks.
AI Summary

AI Summary

Key information extracted from the uploaded paper, including a brief overview, abstract, background, key highlights, visual analysis, and future outlook.

Journal

I
International Symposium on Theoretical Aspects of Software Engineering
IF:
0
Papers:
2
Citations:
0

Organization

S
shenzhen university
Scholars:
4.6W
Papers: 3.4W
Citations: 72
Cited Papers

Cited Papers

Metal contaminations in sediment and associated ecological risk assessment of river Mahanadi, India
err2021-01-14
err0
PREAI
errS. Samanta; Vikas Kumar; S. K. Nag; R. K. Raman; K. Saha; S. Bandyopadhyay; B. P. Mohanty; B. K. Das
errShare
errSave
Non-white noise in fMRI: Does modelling have an impact?
err2006-01-01
err0
PREAI
errTorben E. Lund; Kristoffer H. Madsen; Karam Sidaros; Wen-Lin Luo; Thomas E. Nichols
errShare
errSave
Stair ascent and descent at different inclinations
err2002-02-01
err0
PREAI
errRobert Riener; Marco Rabuffetti; Carlo Frigo
errShare
errSave
Heavy metal contamination status in Greek surface waters: A review with application and evaluation of pollution indices
err2021-01-01
err0
PREAI
errIoannis Karaouzas; Natalia Kapetanaki; Angeliki Mentzafou; Theodore D. Kanellopoulos; Nikolaos Skoulikidis
errShare
errSave
researcher View more