Passer à la navigation principale Passer à la recherche Passer au contenu principal

DROIDStar: Callback typestates for Android classes

  • Arjun Radhakrishna
  • , Nicholas V. Lewchenko
  • , Shawn Meier
  • , Sergio Mover
  • , Krishna Chaitanya Sripada
  • , Damien Zufferey
  • , Bor Yuh Evan Chang
  • , Pavol Černý
  • Microsoft Corporation
  • University of Colorado Boulder
  • Max Planck Institute for Software Systems

Résultats de recherche: Le chapitre dans un livre, un rapport, une anthologie ou une collectionContribution à une conférenceRevue par des pairs

8 Citations (Scopus)

Résumé

Event-driven programming frameworks, such as Android, are based on components with asynchronous interfaces. The protocols for interacting with these components can often be described by finite-state machines we dub callback typestates. Callback typestates are akin to classical typestates, with the difference that their outputs (callbacks) are produced asynchronously. While useful, these specifications are not commonly available, because writing them is difficult and error-prone. Our goal is to make the task of producing callback typestates significantly easier. We present a callback typestate assistant tool, DroidStar, that requires only limited user interaction to produce a callback typestate. Our approach is based on an active learning algorithm, L∗. We improved the scalability of equivalence queries (a key component of L∗), thus making active learning tractable on the Android system. We use DroidStar to learn callback typestates for Android classes both for cases where one is already provided by the documentation, and for cases where the documentation is unclear. The results show that DROIDSTAR learns callback typestates accurately and efficiently. Moreover, in several cases, the synthesized callback typestates uncovered surprising and undocumented behaviors.

langue originaleAnglais
titreProceedings of the 40th International Conference on Software Engineering, ICSE 2018
EditeurIEEE Computer Society
Pages1160-1170
Nombre de pages11
ISBN (Electronique)9781450356381
Les DOIs
étatPublié - 27 mai 2018
Modification externeOui
Evénement40th International Conference on Software Engineering, ICSE 2018 - Gothenburg, Sucde
Durée: 27 mai 20183 juin 2018

Série de publications

NomProceedings - International Conference on Software Engineering
ISSN (imprimé)0270-5257

Une conférence

Une conférence40th International Conference on Software Engineering, ICSE 2018
Pays/TerritoireSucde
La villeGothenburg
période27/05/183/06/18

Empreinte digitale

Examiner les sujets de recherche de « DROIDStar: Callback typestates for Android classes ». Ensemble, ils forment une empreinte digitale unique.

Contient cette citation