mlsanityData to 24 Nov 2026

Defusing Logic Bombs in Symbolic Execution with LLM-Generated Ghost Code

arXiv 2603.19239 ↗Submitted 31 Jan 2026cs.PL cs.SEcited by 1

Not on the map. Why?

Abstract (arXiv)

Symbolic execution is a powerful program analysis technique, but its effectiveness is fundamentally limited by solver-hostile program fragments, complex numerical reasoning, and unbounded heap structures. Recent work proposed replacing constraint solvers with large language models (LLMs) to bypass these limitations, but such approaches struggle to analyze real-world codebases, where deep execution paths require globally consistent reasoning across many interacting constraints. We present Gordian, a hybrid symbolic execution framework that uses LLMs selectively to generate lightweight ghost code that aids an SMT solver in handling solver-hostile code fragments, while preserving its precise, global reasoning capability. In particular, we propose three types of ghost code: (1) inversion of difficult code fragments with iterative bidirectional constraint propagation, (2) modeling via solver-friendly surrogates while preserving relevant behavior, and (3) semantic partitioning of unbounded heap spaces. We implemented Gordian on top of the KLEE symbolic execution engine and evaluated it on synthetic "logic bombs" capturing distinct symbolic reasoning challenges, a popular mathematical library FDLibM, and four structured-input programs (libexpat, jq, bc and libyaml). Across benchmarks, Gordian improves coverage by 28.5-115.2% over traditional symbolic execution baseline and by 74.1-189.8% over LLM-based symbolic execution baselines, while reducing LLM token usage by an average of 91-96%. This highlights the practicality and effectiveness of this approach in real-world settings.

Key facts. Cited by 1 paper in the map (data through 24 Nov 2026). Submitted 31 Jan 2026.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 24 Nov)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2025Integrating Symbolic Execution with LLMs for Automated Generation of Program Specifications
  2. 2026ReaComp: Compiling LLM Reasoning into Symbolic Solvers for Efficient Program Synthesis
  3. 2026Teaching LLMs Program Semantics via Symbolic Execution Traces
  4. 2025Loop Invariant Generation: A Hybrid Framework of Reasoning optimised LLMs and SMT Solvers
  5. 2026Agentic Planning for Symbolic Execution
  6. 2026Guiding Symbolic Execution with Static Analysis and LLMs for Vulnerability Discovery
  7. 2025A Tool for In-depth Analysis of Code Execution Reasoning of Large Language Models
  8. 2025Worst-Case Symbolic Constraints Analysis and Generalisation with Large Language Models