ClozeMaster: Fuzzing Rust Compiler by Harnessing LLMs for Infilling Masked Real Programs

Hongyan Gao, Yibiao Yang † , Maolin Sun, Jiangchang Wu, Yuming Zhou, Baowen Xu · 2026

Read ClozeMaster: Fuzzing Rust Compiler by Harnessing LLMs for Infilling Masked Real Programs by Hongyan Gao, Yibiao Yang † , Maolin Sun, Jiangchang Wu, Yuming Zhou, Baowen Xu (2026) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2605-00413.txt.

Description

Hongyan Gao and 5 co-authors fuzz the Rust compiler by asking a language model to complete masked pieces of real, historically buggy programs. Rust is prized for memory and thread safety in critical systems, so its compiler must be trustworthy. Yet Rust's strict syntax means model-generated test programs are usually invalid, and blind generation wastes effort.

Their strategy, clozeMask, mines test code from past compiler bug reports, masks out snippets with particular structures, and has the model fill the blanks. The results stay close to programs that once triggered real bugs, which makes them sharp test material. Their prototype found twenty-seven confirmed bugs across two Rust compilers, ten already fixed by developers. It also beat existing fuzzers on code coverage and bug-finding effectiveness in their experiments.

Catalog record

CREATORHongyan Gao, Yibiao Yang † , Maolin Sun, Jiangchang Wu, Yuming Zhou, Baowen Xu
YEAR2026
COLLECTIONPAPERS
FORMATTXT
FILE SIZE60 KB
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2605.00413

Browse the full library · About the Tower of Babel