Detailed Information

Cited 6 time in webofscience Cited 6 time in scopus
Metadata Downloads

A lightweight approach to component-level exception mechanism for robust android apps

Authors
Choi, KwanghoonChang, Byeong-Mo
Issue Date
Dec-2015
Publisher
PERGAMON-ELSEVIER SCIENCE LTD
Keywords
Android; Java; Exception; Component; Semantics
Citation
COMPUTER LANGUAGES SYSTEMS & STRUCTURES, v.44, pp 283 - 298
Pages
16
Journal Title
COMPUTER LANGUAGES SYSTEMS & STRUCTURES
Volume
44
Start Page
283
End Page
298
URI
https://scholarworks.sookmyung.ac.kr/handle/2020.sw.sookmyung/10151
DOI
10.1016/j.cl.2015.08.010
ISSN
1477-8424
1873-6866
Abstract
Recent researches have reported that Android programs are vulnerable to unexpected exceptions. One reason is that the current design of Android platform solely depends on Java exception mechanism, which is unaware of the component-based structure of Android programs. This paper proposes a component-level exception mechanism for programmers to build robust Android programs with. With the mechanism, they can define an intra-component handler for each component to recover from exceptions, and they can propagate uncaught exceptions to caller component along the reverse of component activation flow. Theoretically, we have formalized an Android semantics with exceptions to prove the robustness property of the mechanism. In practice, we have implemented the mechanism with a domain-specific library that extends existing Android components. This lightweight approach does not demand the change of the Android platform. In our experiment with Android benchmark programs, the library is found to catch a number of runtime exceptions that would otherwise get the programs terminated abnormally. We also measure the overhead of using the library to show that it is very small. Our proposal is a new mechanism for defending Android programs from unexpected exceptions. (C) 2015 Elsevier Ltd. All rights reserved.
Files in This Item
Go to Link
Appears in
Collections
공과대학 > 소프트웨어학부 > 1. Journal Articles

qrcode

Items in ScholarWorks are protected by copyright, with all rights reserved, unless otherwise indicated.

Related Researcher

Researcher Chang, Byeong Mo photo

Chang, Byeong Mo
공과대학 (소프트웨어학부(첨단))
Read more

Altmetrics

Total Views & Downloads

BROWSE