Reproduce “Statistical Program Slicing: a Hybrid Slicing Technique for Analyzing Deployed Software” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Bogdan Alexandru Stoica, Swarup K. Sahoo, James R. Larus, Vikram S. Adve

A hybrid program slicing technique called Statistical Program Slicing enables the efficient diagnosis of complex production failures by combining low-overhead runtime monitoring with offline static analysis. It recovers approximately 94% of dynamic slice statements and critical failure path instructions with only a 5% average runtime overhead, eliminating the need to reproduce faulty inputs.

Key insights

  • Integrating modern hardware features, such as Intel Processor Trace, enables highly efficient and precise control flow collection in deployed software.
  • Statistical sampling of data dependencies through "pointer poisoning" across multiple program executions can reconstruct an accurate view of data flow with low average overhead.
  • Focusing static alias analysis solely on the code paths observed during execution drastically improves its practicality and precision for hybrid slicing.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.