Lune

OOPSLA2022顶会

Finding real bugs in big programs with incorrectness logic

Quang Loc Le, Azalea Raad, Jules Villard, Josh Berdine, Derek Dreyer, Peter W. O'Hearn

摘要

Incorrectness Logic (IL) has recently been advanced as a logical theory for compositionally proving the presence of bugsÐdual to Hoare Logic, which is used to compositionally prove their absence. Though IL was motivated in large part by the aim of providing a logical foundation for bug-catching program analyses, it has remained an open question: is IL useful only retrospectively (to explain existing analyses), or can it actually be useful in developing new analyses which can catch real bugs in big programs?

In this work, we develop Pulse-X, a new, automatic program analysis for catching memory errors, based on ISL, a recent synthesis of IL and separation logic. Using Pulse-X, we have found 15 new real bugs in OpenSSL, which we have reported to OpenSSL maintainers and have since been fixed. In order not to be overwhelmed with potential but false error reports, we develop a compositional bug-reporting criterion based on a distinction between latent and manifest errors, which references the under-approximate ISL abstractions computed by Pulse-X, and we investigate the fix rate resulting from application of this criterion. Finally, to probe the potential practicality of our bug-finding method, we conduct a comparison to Infer, a widely used analyzer which has proven useful in industrial engineering practice.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • Concurrent incorrectness separation logic 引用了 Incorrectness logic
  • Concurrent incorrectness separation logic 引用了 Local Reasoning About the Presence of Bugs: Incorrectness Separation Logic
  • Hyper Hoare Logic: (Dis-)Proving Program Hyperproperties 引用了 Concurrent incorrectness separation logic
  • Hyper Hoare Logic: (Dis-)Proving Program Hyperproperties 引用了 Incorrectness logic
  • Hyper Hoare Logic: (Dis-)Proving Program Hyperproperties 引用了 Local Reasoning About the Presence of Bugs: Incorrectness Separation Logic
  • Hyper Hoare Logic: (Dis-)Proving Program Hyperproperties 引用了 Outcome Logic: A Unifying Foundation for Correctness and Incorrectness Reasoning
  • Outcome Logic: A Unifying Foundation for Correctness and Incorrectness Reasoning 引用了 Hyper Hoare Logic: (Dis-)Proving Program Hyperproperties
  • Local Reasoning About the Presence of Bugs: Incorrectness Separation Logic 引用了 Incorrectness logic
  • Local Reasoning About the Presence of Bugs: Incorrectness Separation Logic 引用了 Gillian, part i: a multi-language platform for symbolic execution
  • 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 引用了 Hyper Hoare Logic: (Dis-)Proving Program Hyperproperties
  • 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 引用了 Gillian, part i: a multi-language platform for symbolic execution
  • Outcome Separation Logic: Local Reasoning for Correctness and Incorrectness with Computational Effects 引用了 Outcome Logic: A Unifying Foundation for Correctness and Incorrectness Reasoning
  • Gillian, part i: a multi-language platform for symbolic execution 引用了 Incorrectness 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 引用了 Outcome Logic: A Unifying Foundation for Correctness and Incorrectness Reasoning
  • Calculational Design of [In]Correctness Transformational Program Logics by Abstract Interpretation 引用了 Concurrent incorrectness separation logic
  • Calculational Design of [In]Correctness Transformational Program Logics by Abstract Interpretation 引用了 Local Reasoning About the Presence of Bugs: Incorrectness Separation Logic
  • Calculational Design of [In]Correctness Transformational Program Logics by Abstract Interpretation 引用了 Outcome Logic: A Unifying Foundation for Correctness and Incorrectness Reasoning
  • Calculational Design of [In]Correctness Transformational Program Logics by Abstract Interpretation 引用了 Polynomial reachability witnesses via Stellensätze
  • 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
  • Polynomial reachability witnesses via Stellensätze 引用了 Incorrectness logic
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper37

  1. Outcome Logic: A Unifying Foundation for Correctness and Incorrectness ReasoningNoam Zilberstein, Derek Dreyer, Alexandra SilvaOOPSLA 2023 · 39 次引用
  2. Hyper Hoare Logic: (Dis-)Proving Program HyperpropertiesThibault Dardinier, Peter MüllerPLDI 2024 · 28 次引用
  3. Outcome Separation Logic: Local Reasoning for Correctness and Incorrectness with Computational EffectsNoam Zilberstein, Angelina Saliling, Alexandra SilvaOOPSLA 2024 · 16 次引用
  4. Calculational Design of [In]Correctness Transformational Program Logics by Abstract InterpretationPatrick CousotPOPL 2024 · 11 次引用
  5. Non-termination Proving at ScaleAzalea Raad, Julien Vanegue, Peter W. O'HearnOOPSLA 2024 · 10 次引用

它引用的 Paper6

  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. Gillian, part i: a multi-language platform for symbolic executionJosé Fragoso Santos, Petar Maksimovic, Sacha-Élie Ayoun, Philippa GardnerPLDI 2020 · 38 次引用
  4. Polynomial reachability witnesses via StellensätzeAli Asadi, Krishnendu Chatterjee, Hongfei Fu, Amir Kafshdar Goharshady 等PLDI 2021 · 28 次引用
  5. Concurrent incorrectness separation logicAzalea Raad, Josh Berdine, Derek Dreyer, Peter W. O'HearnPOPL 2022 · 24 次引用

相关 Paper

  1. Revealing Sources of (Memory) Errors via Backward AnalysisFlavio Ascari, Roberto Bruni, Roberta Gori, Francesco LogozzoOOPSLA 2025 · 4 次引用
  2. U-Turn: Enhancing Incorrectness Analysis by Reversing DirectionFlavio Ascari, Roberto Bruni, Roberta Gori, Azalea RaadPOPL 2026 · 2 次引用
  3. On incorrectness logic for Quantum programsPeng Yan, Hanru Jiang, Nengkun YuOOPSLA 2022 · 27 次引用
  4. Compositional Symbolic Execution for the Next 700 Memory ModelsAndreas Lööw, Seung Hoon Park, Daniele Nantes-Sobrinho, Sacha-Élie Ayoun 等OOPSLA 2025 · 4 次引用
  5. CULPA: Universal Detection of Memory-Safety Bugs in Unsafe Rust Through the Lens of Safety RequirementsHung-Mao Chen, Bo Lu, Xu He, Xiaokuan Zhang 等USENIX Security 2026
黄昏的海面,两侧是细线勾勒的悬崖