Skip to content
Preprint

HIDE: Hierarchical Isolation via Documentation and Evidence for Rustc Bugs

Oct 2026 · 0 citations · 31 references
Computer Science

TL;DR

HIDE is proposed, a hierarchical LLM-based approach that combines compiler documentation with bug evidence to rank suspicious rustc source files and demonstrates that generating compiler documentation, narrowing candidates hierarchically, and limiting analysis context enable effective rustc bug isolation.

Abstract

Rustc bugs can prevent valid programs from compiling or cause incorrect compilation results, making the identification of responsible source files essential for repair. Using large language models (LLMs) for rustc bug isolation raises three challenges. First, distributed compiler functionality requires understanding both what individual files do and how they work together. Second, a large source file search space makes exhaustive analysis of all files costly. Third, including documentation and source code for many candidate files in LLM prompts leads to context overload, which can reduce bug isolation accuracy. We propose HIDE, a hierarchical LLM-based approach that combines compiler documentation with bug evidence to rank suspicious rustc source files. Given a rustc revision and a bug context, HIDE consists of two stages that generate compiler documentation and narrow the search space. To understand distributed compiler functionality, the Layered Documentation Aggregation stage summarizes what individual files do and how files with similar functions work together. To reduce the large source file search space, the Hierarchical Bug Isolation stage uses hierarchical candidate selection to reduce the number of files requiring detailed analysis. To mitigate context overload, this stage uses Scoped Candidate Competition and Evidence-Guided Code Slicing to limit the number of candidates and the amount of source code included in each prompt, respectively. We evaluate HIDE on 160 reproducible rustc bugs and compare it with Agentless, SoapFL, and GraphLocator. With GPT-5.4, HIDE achieves 42.08% Accuracy@1 and 80.42% Accuracy@10, exceeding the strongest baseline results by 5.83% and 6.04%, respectively. These results demonstrate that generating compiler documentation, narrowing candidates hierarchically, and limiting analysis context enable effective rustc bug isolation.

View source

Similar papers

Open access Oct 2026

RICE: Harnessing LLMs and Historical Issues to Discover Internal Rust Compiler Errors

Rust is a modern system-level programming language that emphasizes safety, concurrency, and performance. Ensuring the reliability of the Rust compiler is critical, as undetected compiler defects, particularly internal compiler errors (ICEs), can lead to runtime crashes or undefined behavior in system software. Existing...

Lang-Yi Lu, Wei You, Bin Liang et al. · 0 citations
Open access Oct 2026

Enhancing LLM-Based Bug Reproduction via Code Entity Retrieval and Test Case Repair

Experimental results on the widely-used Defects4J benchmark show that LTER substantially outperforms the best performance in automated bug reproduction, increasing the reproduction success rate to 46.2% with successfully identifying a valid reproduction test as the top candidate in 38.1% of the cases.

Hao Ding, Yan-Jie Jiang, Yu-Xia Zhang et al. · 0 citations
Preprint Oct 2026

Who Broke Me? Execution-Guided Repair of Behavioral Dependency Breaks

BBCFixer is presented, a repair method that runs the failing test under the old and new library versions, ranks the calls whose return value differs to identify a candidate root API, and filters the library diff with that candidate.

Jun-Tao Chen, Ting-Ting Bi, Yan-Lin Wang et al. · 0 citations
Open access Sep 2026

Understanding Bugs in Model Context Protocol Development Frameworks: An Empirical Study

This study investigates bug symptoms, root causes, bug fixing challenges and patterns, and the effectiveness of LLM-based automated repair in MCP development frameworks, presenting the first large-scale empirical study of bugs in MCP development frameworks.

Si-Cheng He, Chang Li, Jia-Ming Liu et al. · 0 citations
#machine learning Preprint Oct 2026

CuraLoc: Repository-Level Fault Localization via Planned Code Inspection

CuraLoc is introduced, which first selects candidate files and represents their symbols using compact behavioral and structural descriptions and supports different model backbones, with strong localization accuracy demonstrated using both GPT-5.2 and GPT-6 Astra.

S. Warrier, A. Sankaran, Ryen W. White · 0 citations
Book Open access Oct 2026

Toward Trace-Guided Automated Program Repair

The concept of an APR approach that is guided by tracing data and which is therefore capable of fixing bugs in huge codebases is described and a proof of concept is shown that in the bug dataset defects4j, location information achieves an absolute increase of up to 22.4 % in fixed bugs with Gemma-4-31B compared to a ba...

D. Reichelt, Shinhyung Yang, Wilhelm Hasselbring · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.