Lune

OOPSLA2025顶会

Revealing Sources of (Memory) Errors via Backward Analysis

Flavio Ascari, Roberto Bruni, Roberta Gori, Francesco Logozzo

摘要

Sound over-approximation methods have been proved effective for guaranteeing the absence of errors, but inevitably they produce false alarms that can hamper the programmers. Conversely, under-approximation methods are aimed at bug finding and are free from false alarms. We introduce Sufficient Incorrectness Logic (SIL), a new under-approximating, triple-based program logic to reason about program errors. SIL is designed to set apart the initial states leading to errors. We prove that SIL is correct and complete for a minimal set of rules, and we study additional rules that can facilitate program analyses. We formally compare SIL to existing triple-based program logics. Incorrectness Logic and SIL both perform under-approximations, but while the former exposes only true errors, the latter locates the set of initial states that lead to such errors. Hoare Logic performs over-approximations and as such cannot capture the set of initial states leading to errors in nondeterministic programs -for deterministic and terminating programs, Hoare Logic and SIL coincide. Finally, we instantiate SIL with Separation Logic formulae (Separation SIL) to handle pointers and dynamic allocation and we prove its correctness and, for loop-free programs, also its completeness. We argue that in some cases Separation SIL can yield more succinct postconditions and provide stronger guarantees than Incorrectness Separation Logic and can support effective backward reasoning.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 8 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Concurrent incorrectness separation logic 引用了 Incorrectness logic
  • Concurrent incorrectness separation logic 引用了 Local Reasoning About the Presence of Bugs: Incorrectness Separation Logic
  • A Taxonomy of Hoare-Like Logics: Towards a Holistic View using Predicate Transformers and Kleene Algebras with Top and Tests 引用了 Incorrectness logic
  • A Taxonomy of Hoare-Like Logics: Towards a Holistic View using Predicate Transformers and Kleene Algebras with Top and Tests 引用了 Non-termination Proving at Scale
  • A Taxonomy of Hoare-Like Logics: Towards a Holistic View using Predicate Transformers and Kleene Algebras with Top and Tests 引用了 Outcome Logic: A Unifying Foundation for Correctness and Incorrectness Reasoning
  • U-Turn: Enhancing Incorrectness Analysis by Reversing Direction 引用了 Local Reasoning About the Presence of Bugs: Incorrectness Separation Logic
  • U-Turn: Enhancing Incorrectness Analysis by Reversing Direction 引用了 Finding real bugs in big programs with incorrectness logic
  • U-Turn: Enhancing Incorrectness Analysis by Reversing Direction 引用了 Non-termination Proving at Scale
  • U-Turn: Enhancing Incorrectness Analysis by Reversing Direction 引用了 Outcome Logic: A Unifying Foundation for Correctness and Incorrectness Reasoning
  • Local Reasoning About the Presence of Bugs: Incorrectness Separation Logic 引用了 Incorrectness logic
  • Outcome Separation Logic: Local Reasoning for Correctness and Incorrectness with Computational Effects 引用了 Concurrent incorrectness separation logic
  • Outcome Separation Logic: Local Reasoning for Correctness and Incorrectness with Computational Effects 引用了 Incorrectness logic
  • Outcome Separation Logic: Local Reasoning for Correctness and Incorrectness with Computational Effects 引用了 Local Reasoning About the Presence of Bugs: Incorrectness Separation Logic
  • Outcome Separation Logic: Local Reasoning for Correctness and Incorrectness with Computational Effects 引用了 Finding real bugs in big programs with incorrectness logic
  • Outcome Separation Logic: Local Reasoning for Correctness and Incorrectness with Computational Effects 引用了 Outcome Logic: A Unifying Foundation for Correctness and Incorrectness Reasoning
  • Finding real bugs in big programs with incorrectness logic 引用了 Concurrent incorrectness separation logic
  • Finding real bugs in big programs with incorrectness logic 引用了 Incorrectness logic
  • Finding real bugs in big programs with incorrectness logic 引用了 Local Reasoning About the Presence of Bugs: Incorrectness Separation Logic
  • Non-termination Proving at Scale 引用了 Concurrent incorrectness separation logic
  • Non-termination Proving at Scale 引用了 Incorrectness logic
  • Non-termination Proving at Scale 引用了 Local Reasoning About the Presence of Bugs: Incorrectness Separation Logic
  • Non-termination Proving at Scale 引用了 Outcome Separation Logic: Local Reasoning for Correctness and Incorrectness with Computational Effects
  • Non-termination Proving at Scale 引用了 Finding real bugs in big programs with incorrectness logic
  • Non-termination Proving at Scale 引用了 Outcome Logic: A Unifying Foundation for Correctness and Incorrectness Reasoning
  • Outcome Logic: A Unifying Foundation for Correctness and Incorrectness Reasoning 引用了 Concurrent incorrectness separation logic
  • Outcome Logic: A Unifying Foundation for Correctness and Incorrectness Reasoning 引用了 Incorrectness logic
  • Outcome Logic: A Unifying Foundation for Correctness and Incorrectness Reasoning 引用了 Local Reasoning About the Presence of Bugs: Incorrectness Separation Logic
  • Outcome Logic: A Unifying Foundation for Correctness and Incorrectness Reasoning 引用了 Finding real bugs in big programs with incorrectness logic
  • Quantitative Weakest Hyper Pre: Unifying Correctness and Incorrectness Hyperproperties via Predicate Transformers 引用了 Incorrectness logic
  • Quantitative Weakest Hyper Pre: Unifying Correctness and Incorrectness Hyperproperties via Predicate Transformers 引用了 Local Reasoning About the Presence of Bugs: Incorrectness Separation Logic
  • Quantitative Weakest Hyper Pre: Unifying Correctness and Incorrectness Hyperproperties via Predicate Transformers 引用了 Outcome Separation Logic: Local Reasoning for Correctness and Incorrectness with Computational Effects
  • Quantitative Weakest Hyper Pre: Unifying Correctness and Incorrectness Hyperproperties via Predicate Transformers 引用了 Outcome Logic: A Unifying Foundation for Correctness and Incorrectness Reasoning
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper8

  1. Outcome Separation Logic: Local Reasoning for Correctness and Incorrectness with Computational EffectsNoam Zilberstein, Angelina Saliling, Alexandra SilvaOOPSLA 2024 · 16 次引用
  2. Non-termination Proving at ScaleAzalea Raad, Julien Vanegue, Peter W. O'HearnOOPSLA 2024 · 10 次引用
  3. Quantitative Weakest Hyper Pre: Unifying Correctness and Incorrectness Hyperproperties via Predicate TransformersLinpeng Zhang, Noam Zilberstein, Benjamin Lucien Kaminski, Alexandra SilvaOOPSLA 2024 · 5 次引用
  4. A Taxonomy of Hoare-Like Logics: Towards a Holistic View using Predicate Transformers and Kleene Algebras with Top and TestsLena Verscht, Benjamin Lucien KaminskiPOPL 2025 · 3 次引用
  5. U-Turn: Enhancing Incorrectness Analysis by Reversing DirectionFlavio Ascari, Roberto Bruni, Roberta Gori, Azalea RaadPOPL 2026 · 2 次引用

它引用的 Paper8

  1. Incorrectness logicPeter W. O'HearnPOPL 2020 · 122 次引用
  2. Local Reasoning About the Presence of Bugs: Incorrectness Separation LogicAzalea Raad, Josh Berdine, Hoang-Hai Dang, Derek Dreyer 等CAV 2020 · 70 次引用
  3. Finding real bugs in big programs with incorrectness logicQuang Loc Le, Azalea Raad, Jules Villard, Josh Berdine 等OOPSLA 2022 · 52 次引用
  4. Outcome Logic: A Unifying Foundation for Correctness and Incorrectness ReasoningNoam Zilberstein, Derek Dreyer, Alexandra SilvaOOPSLA 2023 · 39 次引用
  5. Concurrent incorrectness separation logicAzalea Raad, Josh Berdine, Derek Dreyer, Peter W. O'HearnPOPL 2022 · 24 次引用

相关 Paper

  1. On Extending Incorrectness Logic with Backwards ReasoningFreek Verbeek, Md Syadus Sefat, Zhoulai Fu, Binoy RavindranPOPL 2025 · 1 次引用
  2. On incorrectness logic for Quantum programsPeng Yan, Hanru Jiang, Nengkun YuOOPSLA 2022 · 27 次引用
  3. Systematic Design of Separation LogicsRoberto Bruni, Lorenzo Gazzella, Roberta GoriOOPSLA 2026
  4. Hyper Hoare Logic: (Dis-)Proving Program HyperpropertiesThibault Dardinier, Peter MüllerPLDI 2024 · 28 次引用
  5. On incorrectness logic and Kleene algebra with top and testsCheng Zhang, Arthur Azevedo de Amorim, Marco GaboardiPOPL 2022 · 9 次引用
黄昏的海面,两侧是细线勾勒的悬崖