Lune

PLDI2021Top-tier venue

Logical bytecode reduction

Christian Gram Kalhauge, Jens Palsberg

Abstract

Reducing a failure-inducing input to a smaller one is challenging for input with internal dependencies because most sub-inputs are invalid. Kalhauge and Palsberg made progress on this problem by mapping the task to a reduction problem for dependency graphs that avoids invalid inputs entirely. Their tool J-Reduce efficiently reduces Java bytecode to 24 percent of its original size, which made it the most effective tool until now. However, the output from their tool is often too large to be helpful in a bug report. In this paper, we show that more fine-grained modeling of dependencies leads to much more reduction. Specifically, we use propositional logic for specifying dependencies and we show how this works for Java bytecode. Once we have a propositional formula that specifies all valid sub-inputs, we run an algorithm that finds a small, valid, failure-inducing input. Our algorithm interleaves runs of the buggy program and calls to a procedure that finds a minimal satisfying assignment. Our experiments show that we can reduce Java bytecode to 4.6 percent of its original size, which is 5.3 times better than the 24.3 percent achieved by J-Reduce. The much smaller output is more suitable for bug reports.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

7 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • LPR: Large Language Models-Aided Program Reduction cites Pushing the Limit of 1-Minimality of Language-Agnostic Program Reduction
  • LPR: Large Language Models-Aided Program Reduction cites PPR: Pairwise Program Reduction
  • LPR: Large Language Models-Aided Program Reduction cites Effective Program Debloating via Reinforcement Learning
  • WDD: Weighted Delta Debugging cites LPR: Large Language Models-Aided Program Reduction
  • WDD: Weighted Delta Debugging cites Pushing the Limit of 1-Minimality of Language-Agnostic Program Reduction
  • WDD: Weighted Delta Debugging cites PPR: Pairwise Program Reduction
  • WDD: Weighted Delta Debugging cites Toward a Better Understanding of Probabilistic Delta Debugging
  • Toward a Better Understanding of Probabilistic Delta Debugging cites WDD: Weighted Delta Debugging
  • WDD: Weighted Delta Debugging cites Effective Program Debloating via Reinforcement Learning
  • Pushing the Limit of 1-Minimality of Language-Agnostic Program Reduction cites Effective Program Debloating via Reinforcement Learning
  • JShrink: in-depth investigation into debloating modern Java applications cites Effective Program Debloating via Reinforcement Learning
  • Toward a Better Understanding of Probabilistic Delta Debugging cites LPR: Large Language Models-Aided Program Reduction
  • Toward a Better Understanding of Probabilistic Delta Debugging cites Pushing the Limit of 1-Minimality of Language-Agnostic Program Reduction
  • Toward a Better Understanding of Probabilistic Delta Debugging cites Effective Program Debloating via Reinforcement Learning
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers7

  1. Pushing the Limit of 1-Minimality of Language-Agnostic Program ReductionZhenyang Xu, Yongqiang Tian, Mengxiao Zhang, Gaosen Zhao et al.OOPSLA 2023 · 21 citations
  2. LPR: Large Language Models-Aided Program ReductionMengxiao Zhang, Yongqiang Tian, Zhenyang Xu, Yiwen Dong et al.ISSTA 2024 · 13 citations
  3. PPR: Pairwise Program ReductionMengxiao Zhang, Zhenyang Xu, Yongqiang Tian, Yu Jiang et al.FSE 2023 · 13 citations
  4. WDD: Weighted Delta DebuggingXintong Zhou, Zhenyang Xu, Mengxiao Zhang, Yongqiang Tian et al.ICSE 2025 · 5 citations
  5. Toward a Better Understanding of Probabilistic Delta DebuggingMengxiao Zhang, Zhenyang Xu, Yongqiang Tian, Xinru Cheng et al.ICSE 2025 · 4 citations

Builds on3

  1. Effective Program Debloating via Reinforcement LearningKihong Heo, Woosuk Lee, Pardis Pashakhanloo, Mayur NaikCCS 2018 · 175 citations
  2. JShrink: in-depth investigation into debloating modern Java applicationsBobby R. Bruce, Tianyi Zhang, Jaspreet Arora, Guoqing Harry Xu et al.FSE 2020 · 46 citations
  3. BlankIt library debloating: getting what you want instead of cutting what you don'tChris Porter, Girish Mururu, Prithayan Barua, Santosh PandePLDI 2020 · 31 citations

Related papers

  1. Understanding and Finding Java Decompiler BugsYifei Lu, Weidong Hou, Minxue Pan, Xuandong Li et al.OOPSLA 2024 · 5 citations
  2. Pisco: An Isolation Bug Case Reduction and Deduplication FrameworkSiyang Weng, Hongyu Yang, Zirui Hu, Rong Zhang et al.VLDB 2026
  3. Prosecutor: Bayesian Counterfactual Fault LocalizationSara Baradaran, Yifei Huang, Wei Le, Mukund RaghothamanOOPSLA 2026
  4. Responsibility in Context: On Applicability of Slicing in Semantic Regression AnalysisSahar Badihi, Khaled Ahmed, Yi Li, Julia RubinICSE 2023 · 2 citations
  5. Static Program Reduction via Type-Directed SlicingLoi Ngo Duc Nguyen, Tahiatul Islam, Theron Wang, Sam Lenz et al.ISSTA 2025
Dusk over the sea between two cliffs drawn in fine vertical lines