The Android framework provides a rich set of APIs that can be exploited by developers to build their apps. However, the rapid evolution of these APIs jointly with the specific characteristics of the lifecycle of the Android components challenge developers, who may release apps that use APIs incorrectly.In this demo, we present Proactive Libraries, a tool that can be used to decorate regular libraries with the capability of proactively detecting and healing API misuses at runtime. Proactive Libraries blend libraries with multiple proactive modules that collect data, check the compliance of API usages with correctness policies, and heal executions as soon as the possible violation of a policy is detected. The results of our evaluation with 27 possible API misuses show the effectiveness of Proactive Libraries in correcting API misuses with negligible runtime overhead.Video: https://youtu.be/rkfZ38mPgV0Repo: https://gitlab.com/learnERC/proactivelibrary

Riganelli, O., Daniel Fagadau, I., Micucci, D., Mariani, L. (2022). Proactive Libraries: Enforcing Correct Behaviors in Android Apps. In Proceedings - International Conference on Software Engineering (pp.159-163). IEEE Computer Society [10.1109/ICSE-Companion55297.2022.9793763].

Proactive Libraries: Enforcing Correct Behaviors in Android Apps

Riganelli, O;Micucci, D;Mariani, L
2022

Abstract

The Android framework provides a rich set of APIs that can be exploited by developers to build their apps. However, the rapid evolution of these APIs jointly with the specific characteristics of the lifecycle of the Android components challenge developers, who may release apps that use APIs incorrectly.In this demo, we present Proactive Libraries, a tool that can be used to decorate regular libraries with the capability of proactively detecting and healing API misuses at runtime. Proactive Libraries blend libraries with multiple proactive modules that collect data, check the compliance of API usages with correctness policies, and heal executions as soon as the possible violation of a policy is detected. The results of our evaluation with 27 possible API misuses show the effectiveness of Proactive Libraries in correcting API misuses with negligible runtime overhead.Video: https://youtu.be/rkfZ38mPgV0Repo: https://gitlab.com/learnERC/proactivelibrary
paper
Android; API misuse; proactive library; runtime enforcement; self-healing;
English
44th ACM/IEEE International Conference on Software Engineering: Companion, ICSE-Companion 2022 - 22 May 2022 through 27 May 2022
2022
Proceedings - International Conference on Software Engineering
9781665495981
2022
159
163
https://ieeexplore.ieee.org/document/9793763
none
Riganelli, O., Daniel Fagadau, I., Micucci, D., Mariani, L. (2022). Proactive Libraries: Enforcing Correct Behaviors in Android Apps. In Proceedings - International Conference on Software Engineering (pp.159-163). IEEE Computer Society [10.1109/ICSE-Companion55297.2022.9793763].
File in questo prodotto:
Non ci sono file associati a questo prodotto.

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/10281/394071
Citazioni
  • Scopus 0
  • ???jsp.display-item.citation.isi??? 0
Social impact