Anchor: Locating Android Framework-specific Crashing Faults
Pingfan Kong, Li Li, Jun Gao, Timoth\'ee Riom, Yanjie Zhao,, Tegawend\'e F. Bissyand\'e, Jacques Klein

TL;DR
This paper introduces Anchor, a lightweight tool for locating Android framework-specific crashing faults, especially those outside the stack trace, using only crash messages and APK files, improving debugging accuracy.
Contribution
Anchor is a novel, source code independent tool that effectively locates Android crash faults outside stack traces, addressing a key debugging challenge.
Findings
37% of crashes are outside stack traces
Anchor achieves high accuracy in fault localization
Effective on in-the-wild datasets
Abstract
Android framework-specific app crashes are hard to debug. Indeed, the callback-based event-driven mechanism of Android challenges crash localization techniques that are developed for traditional Java programs. The key challenge stems from the fact that the buggy code location may not even be listed within the stack trace. For example, our empirical study on 500 framework-specific crashes from an open benchmark has revealed that 37 percent of the crash types are related to bugs that are outside the stack traces. Moreover, Android programs are a mixture of code and extra-code artifacts such as the Manifest file. The fact that any artifact can lead to failures in the app execution creates the need to position the localization target beyond the code realm. In this paper, we propose Anchor, a two-phase suspicious bug location suggestion tool. Anchor specializes in finding crash-inducing bugs…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Malware Detection Techniques · Software Testing and Debugging Techniques · Software Engineering Research
