Better Debugging: Combining Static Analysis and LLMs for Explainable Crashing Fault Localization
Jiwei Yan, Jinhao Huang, Chunrong Fang, Jun Yan, Jian Zhang

TL;DR
This paper presents a novel approach combining static analysis and large language models to improve explainability and accuracy in crashing fault localization, specifically for Android framework crashes.
Contribution
It introduces a method that leverages static analysis to generate summaries and context for LLMs, enhancing fault localization and explanation in crash scenarios.
Findings
Achieved an MRR of 0.91 in fault localization precision.
Improved user satisfaction scores by 67.04% with LLM-powered explanations.
Demonstrated effectiveness on Android framework crash scenarios.
Abstract
Nowadays, many applications do not exist independently but rely on various frameworks or libraries. The frequent evolution and the complex implementation of framework APIs induce many unexpected post-release crashes. Starting from the crash stack traces, existing approaches either perform direct call graph (CG) tracing or construct datasets with similar crash-fixing records to locate buggy methods. However, these approaches are limited by the completeness of CG or dependent on historical fixing records. Moreover, they fail to explain the buggy candidates by revealing their relationship with the crashing point. To fill the gap, we propose an explainable crashing fault localization approach by combining static analysis and LLM techniques. Our primary insight is that understanding the semantics of exception-throwing statements in the framework code can help find and apprehend the buggy…
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.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAnomaly Detection Techniques and Applications · Risk and Safety Analysis
