Publication: Systematic asynchrony bug exploration for android apps
Program
KU-Authors
KU Authors
Co-Authors
Emmi, Michael
Advisor
Publication Date
2015
Language
English
Type
Conference proceeding
Journal Title
Journal ISSN
Volume Title
Abstract
Smartphone and tablet “apps” are particularly susceptible to asynchrony bugs. In order to maintain responsive user interfaces, events are handled asynchronously. Unexpected schedules of event handlers can result in apparently-random bugs which are notoriously difficult to reproduce, even given the user-event sequences that trigger them. We develop the AsyncDroid tool for the systematic discovery and reproduction of asynchrony bugs in Android apps. Given an app and a user-event sequence, AsyncDroid systematically executes alternate schedules of the same asynchronous event handlers, according to a programmable schedule enumerator. The input user-event sequence is given either by user interaction, or can be generated by automated UI “monkeys”. By exposing and controlling the factors which influence the scheduling order of asynchronous handlers, our programmable enumerators can explicate reproducible schedules harboring bugs. By enumerating all schedules within a limited threshold of reordering, we maximize the likelihood of encountering asynchrony bugs, according to prevailing hypotheses in the literature, and discover several bugs in Android apps found in the wild.
Description
Source:
Computer Aided Verification, Pt I
Publisher:
Springer-Verlag Berlin
Keywords:
Subject
Computer science, Hardware and architecture, Software engineering, Logic