Developer Tools

DRReduce cuts bug programs 52% smaller with dependency reconstruction

New tool makes programs 52% smaller by fixing broken dependencies automatically.

Deep Dive

DRReduce is a framework that enhances syntax-guided program reduction by adding a lightweight dependency reconstruction layer. It repairs program dependencies broken by deletions to preserve semantic validity, increasing acceptance by the property checker. In evaluation, DRReduce achieved average size reductions of 51.9%, 14.9%, and 19.8% over Perses, WDD, and CDD respectively, while completing reduction faster on most programs. An ablation study confirmed that dependency reconstruction reduced query invocations by 80.2%, reduction time by 58.7%, and final token count by over 55.1%. The framework is language-agnostic and implemented for C and Java.

Key Points
  • DRReduce achieves 51.9% average size reduction over Perses on real-world bug programs
  • Dependency reconstruction cuts query invocations by 80.2% and reduction time by 58.7%
  • Language-agnostic; comparable to CReduce but runs 3.3x faster without language-specific rules

Why It Matters

Faster, better bug isolation for developers without needing language-specific expertise—works on any grammar.