mlsanityData to 14 Oct 2026

LLMs are All You Need? Improving Fuzz Testing for MOJO with Large Language Models

arXiv 2510.10179 ↗First posted 11 Oct 2025cs.SE cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

The rapid development of large language models (LLMs) has revolutionized software testing, particularly fuzz testing, by automating the generation of diverse and effective test inputs. This advancement holds great promise for improving software reliability. Meanwhile, the introduction of MOJO, a high-performance AI programming language blending Python's usability with the efficiency of C and C++, presents new opportunities to enhance AI model scalability and programmability. However, as a new language, MOJO lacks comprehensive testing frameworks and a sufficient corpus for LLM-based testing, which exacerbates model hallucination. In this case, LLMs will generate syntactically valid but semantically incorrect code, significantly reducing the effectiveness of fuzz testing. To address this challenge, we propose MOJOFuzzer, the first adaptive LLM-based fuzzing framework designed for zero-shot learning environments of emerging programming languages. MOJOFuzzer integrates a mutil-phase framework that systematically eliminates low-quality generated inputs before execution, significantly improving test case validity. Furthermore, MOJOFuzzer dynamically adapts LLM prompts based on runtime feedback for test case mutation, enabling an iterative learning process that continuously enhances fuzzing efficiency and bug detection performance. Our experimental results demonstrate that MOJOFuzzer significantly enhances test validity, API coverage, and bug detection performance, outperforming traditional fuzz testing and state-of-the-art LLM-based fuzzing approaches. Using MOJOFuzzer, we have conducted a first large-scale fuzz testing evaluation of MOJO, uncorvering 13 previous unknown bugs. This study not only advances the field of LLM-driven software testing but also establishes a foundational methodology for leveraging LLMs in the testing of emerging programming languages.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 32 of its 58 references that are in the map. First posted on arXiv 11 Oct 2025.

Builds on

32 of 58 references.

References · 32

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
  4. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
  5. 2024GPT-4o System Cardcited by 4,588
  6. 2023A Survey of Large Language Modelscited by 2,576
  7. 2024Qwen2 Technical Reportcited by 2,120
  8. 2022CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesiscited by 885
  9. 2022InCoder: A Generative Model for Code Infilling and Synthesiscited by 498
  10. 2024A Systematic Survey of Prompt Engineering in Large Language Models: Techniques and Applicationscited by 431
  11. 2023DoReMi: Optimizing Data Mixtures Speeds Up Language Model Pretrainingcited by 399
  12. 2023Better Zero-Shot Reasoning with Role-Play Promptingcited by 223
20 more
  1. 2023A Pretrainer's Guide to Training Data: Measuring the Effects of Data Age, Domain Coverage, Quality, & Toxicitycited by 182
  2. 2023Software Testing with Large Language Models: Survey, Landscape, and Visioncited by 166
  3. 2020A Review of Generalized Zero-Shot Learning Methodscited by 159
  4. 2022On the Effectiveness of Parameter-Efficient Fine-Tuningcited by 141
  5. 2022Large Language Models are Zero-Shot Fuzzers: Fuzzing Deep-Learning Libraries via Large Language Modelscited by 103
  6. 2023Fuzz4All: Universal Fuzzing with Large Language Modelscited by 88
  7. 2024From LLMs to LLM-based Agents for Software Engineering: A Survey of Current, Challenges and Futurecited by 86
  8. 2023Unleashing the potential of prompt engineering for large language modelscited by 72
  9. 2018The Art, Science, and Engineering of Fuzzing: A Surveycited by 62
  10. 2023Decoder-Only or Encoder-Decoder? Interpreting Language Model as a Regularized Encoder-Decodercited by 44
  11. 2023WhiteFox: White-Box Compiler Fuzzing Empowered by Large Language Modelscited by 37
  12. 2018Evaluating Fuzz Testingcited by 32
  13. 2023ParaFuzz: An Interpretability-Driven Technique for Detecting Poisoned Samples in NLPcited by 19
  14. 2023Augmenting Greybox Fuzzing with Generative AIcited by 18
  15. 2023Testing the Limits: Unusual Text Inputs Generation for Mobile App Crash Detection with Large Language Modelcited by 10
  16. 2024When Fuzzing Meets LLMs: Challenges and Opportunitiescited by 8
  17. 2023BertRLFuzzer: A BERT and Reinforcement Learning Based Fuzzercited by 5
  18. 2024MojoBench: Language Modeling and Benchmarks for Mojocited by 4
  19. 2023Smart Fuzzing of 5G Wireless Software Implementationcited by 3
  20. 2022Systematic Assessment of Fuzzers using Mutation Analysiscited by 1

Built on by

Not cited yet.