Lune

ICSE2024顶会

Constraint Based Program Repair for Persistent Memory Bugs

Zunchen Huang, Chao Wang

摘要

We propose a constraint based method for repairing bugs associated with the use of persistent memory (PM) in application software. Our method takes a program execution trace and the violated property as input and returns a suggested repair, which is a combination of inserting new PM instructions and reordering these instructions to eliminate the property violation. Compared with the state-of-the-art approach, our method has three advantages. First, it can repair both durability and crash consistency bugs whereas the state-of-the-art approach can only repair the relatively-simple durability bugs. Second, our method can discover new repair strategies instead of relying on repair strategies hard-coded into the repair tool. Third, our method uses a novel symbolic encoding to model PM semantics, which allows our symbolic analysis to be more efficient than the explicit enumeration of possible scenarios and thus explore a large number of repairs quickly. We have evaluated our method on benchmark programs from the well-known Intel PMDK library as well as real applications such as Memcached, Recipe, and Redis. The results show that our method can repair all of the 41 known bugs in these benchmarks, while the state-of-the-art approach cannot repair any of the crash consistency bugs.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • Automated Insertion of Flushes and Fences for Persistency 引用了 Jaaru: efficiently model checking persistent memory programs
  • Automated Insertion of Flushes and Fences for Persistency 引用了 Fast, flexible, and comprehensive bug detection for persistent memory programs
  • Automated Insertion of Flushes and Fences for Persistency 引用了 Cross-Failure Bug Detection in Persistent Memory Programs
  • Automated Insertion of Flushes and Fences for Persistency 引用了 Discovering Likely Program Invariants for Persistent Memory
  • Automated Insertion of Flushes and Fences for Persistency 引用了 AGAMOTTO: How Persistent is your Persistent Memory Application?
  • Jaaru: efficiently model checking persistent memory programs 引用了 Cross-Failure Bug Detection in Persistent Memory Programs
  • Jaaru: efficiently model checking persistent memory programs 引用了 AGAMOTTO: How Persistent is your Persistent Memory Application?
  • Fast, flexible, and comprehensive bug detection for persistent memory programs 引用了 Cross-Failure Bug Detection in Persistent Memory Programs
  • Fast, flexible, and comprehensive bug detection for persistent memory programs 引用了 AGAMOTTO: How Persistent is your Persistent Memory Application?
  • PMFuzz: test case generation for persistent memory programs 引用了 Cross-Failure Bug Detection in Persistent Memory Programs
  • PMFuzz: test case generation for persistent memory programs 引用了 AGAMOTTO: How Persistent is your Persistent Memory Application?
  • Discovering Likely Program Invariants for Persistent Memory 引用了 Jaaru: efficiently model checking persistent memory programs
  • Discovering Likely Program Invariants for Persistent Memory 引用了 PMFuzz: test case generation for persistent memory programs
  • Discovering Likely Program Invariants for Persistent Memory 引用了 AGAMOTTO: How Persistent is your Persistent Memory Application?
  • AGAMOTTO: How Persistent is your Persistent Memory Application? 引用了 Cross-Failure Bug Detection in Persistent Memory Programs
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper3

  1. Mystique: Automated Vulnerability Patch Porting with Semantic and Syntactic-Enhanced LLMSusheng Wu, Ruisi Wang, Yiheng Cao, Bihuan Chen 等FSE 2025 · 2 次引用
  2. Automated Insertion of Flushes and Fences for PersistencyYutong Guo, Weiyu Luo, Brian DemskyASE 2025 · 1 次引用
  3. Discovering Likely Program Invariants for Persistent MemoryZunchen Huang, Srivatsan Ravi, Chao WangASE 2024 · 1 次引用

它引用的 Paper15

  1. Cross-Failure Bug Detection in Persistent Memory ProgramsSihang Liu, Korakit Seemakhupt, Yizhou Wei, Thomas F. Wenisch 等ASPLOS 2020 · 60 次引用
  2. AGAMOTTO: How Persistent is your Persistent Memory Application?Ian Neal, Ben Reeves, Ben Stoler, Andrew Quinn 等OSDI 2020 · 43 次引用
  3. Fast, flexible, and comprehensive bug detection for persistent memory programsBang Di, Jiawen Liu, Hao Chen, Dong LiASPLOS 2021 · 37 次引用
  4. PMFuzz: test case generation for persistent memory programsSihang Liu, Suyash Mahar, Baishakhi Ray, Samira Manabi KhanASPLOS 2021 · 36 次引用
  5. Jaaru: efficiently model checking persistent memory programsHamed Gorjiara, Guoqing Harry Xu, Brian DemskyASPLOS 2021 · 34 次引用

相关 Paper

  1. Mumak: Efficient and Black-Box Bug Detection for Persistent MemoryJoão Gonçalves, Miguel Matos, Rodrigo RodriguesEuroSys 2023 · 5 次引用
  2. Efficiently detecting concurrency bugs in persistent memory programsZhangyu Chen, Yu Hua, Yongle Zhang, Luochangqi DingASPLOS 2022 · 11 次引用
  3. Hippocrates: healing persistent memory bugs without doing any harmIan Neal, Andrew Quinn, Baris KasikciASPLOS 2021 · 24 次引用
  4. HybridPersist: A Compiler Support for User-Friendly and Efficient PM ProgrammingYiyu Zhang, Yongzhi Wang, Yanfeng Gao, Xuandong Li 等OOPSLA 2025
  5. Chipmunk: Investigating Crash-Consistency in Persistent-Memory File SystemsHayley LeBlanc, Shankara Pailoor, Om Saran K. R. E., Isil Dillig 等EuroSys 2023 · 11 次引用
黄昏的海面,两侧是细线勾勒的悬崖