arXiv AI By George Granberry, Wolfgang Ahrendt, Andy Gordon, Moa Johansson

Bug Finding With Agentic Symbolic Execution

Read the original on arXiv AI →

The paper introduces an agentic harness that combines the symbolic execution tool CrossHair with an AI coding agent to automatically instrument Python code, synthesize a symbolic environment for external dependencies, and generate concrete tests for bugs. Applied to over a million lines of code in popular open‑source Python web applications, the system enabled CrossHair to execute 81% of contracted functions and uncovered 1,050 bugs, many of which were not detected by a baseline inspection approach. The results show that symbolic execution can complement AI‑based code inspection by finding distinct classes of bugs, such as input‑domain corner‑case crashes versus incorrect outputs.

Machine-generated by The Flow from the publisher's headline and feed description — not written or checked by a human. The full article lives at arXiv AI.

arXiv AI
Aug 10

Agentic Planning for Symbolic Execution

arXiv:2608. 06397v1 Announce Type: cross Abstract: Symbolic execution seeks to explore feasible program paths, yet a practical run may exhaust its resources while much program behaviour remains unreached.

By Daniel Koh Ji Yang, Yannic Noller, Corina S. Pasareanu, Youcheng Sun
arXiv AI
3d ago

Spec-Driven PBT: Deriving Semantic Invariants from Code Specifications for Agentic Property-based Testing

Spec-Driven PBT is a testing approach that derives invariant properties from a natural‑language specification before inspecting the implementation to generate concrete tests. In a study of 25 ViBench applications, it uncovered a unique set of bugs that Code‑driven PBT missed, using 2.4× fewer property tests and finding roughly the same total number of bugs with little overlap between the two methods. The approach highlights how specifications can reveal bugs related to documented product workflows, complementing implementation‑focused testing.

By Aditya Shukla, Kartik Gupta, Ali Alavi, Pashootan Vaezipoor