Lune

ASE2022顶会

Detecting Blocking Errors in Go Programs using Localized Abstract Interpretation

Oskar Haarklou Veileborg, Georgian-Vlad Saioc, Anders Møller

摘要

Channel-based concurrency is a widely used alternative to sharedmemory concurrency but is difficult to use correctly. Common programming errors may result in blocked threads that wait indefinitely. Recent work exposes this as a considerable problem in Go programs and shows that many such errors can be detected automatically using SMT encoding and dynamic analysis techniques. In this paper, we present an alternative approach to detect such errors based on abstract interpretation. To curb the large state spaces of real-world multi-threaded programs, our static program analysis leverages standard pre-analyses to divide the given program into individually analyzable fragments. Experimental results on 6 large real-world Go programs show that the abstract interpretation achieves good scalability and finds 104 blocking errors that are missed by the state-of-the-art tool GCatch.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • Dynamic Partial Deadlock Detection and Recovery via Garbage Collection 引用了 Who goes first? detecting go concurrency bugs via message reordering
  • Dynamic Partial Deadlock Detection and Recovery via Garbage Collection 引用了 Automated Verification of Go Programs via Bounded Model Checking
  • Dynamic Partial Deadlock Detection and Recovery via Garbage Collection 引用了 Automatically detecting and fixing concurrency bugs in go software systems
  • Who goes first? detecting go concurrency bugs via message reordering 引用了 Automatically detecting and fixing concurrency bugs in go software systems
  • Automated Verification of Go Programs via Bounded Model Checking 引用了 Automatically detecting and fixing concurrency bugs in go software systems
  • Effective Concurrency Testing for Go via Directional Primitive-Constrained Interleaving Exploration 引用了 Who goes first? detecting go concurrency bugs via message reordering
  • Effective Concurrency Testing for Go via Directional Primitive-Constrained Interleaving Exploration 引用了 Automated Verification of Go Programs via Bounded Model Checking
  • Effective Concurrency Testing for Go via Directional Primitive-Constrained Interleaving Exploration 引用了 Automatically detecting and fixing concurrency bugs in go software systems
  • Efficient Abstract Interpretation via Selective Widening 引用了 Precise Sparse Abstract Execution via Cross-Domain Interaction
  • Automated Verification of Parametric Channel-Based Process Communication 引用了 Who goes first? detecting go concurrency bugs via message reordering
  • Automated Verification of Parametric Channel-Based Process Communication 引用了 Automated Verification of Go Programs via Bounded Model Checking
  • Automated Verification of Parametric Channel-Based Process Communication 引用了 Automatically detecting and fixing concurrency bugs in go software systems
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper5

  1. Precise Sparse Abstract Execution via Cross-Domain InteractionXiao Cheng, Jiawei Wang, Yulei SuiICSE 2024 · 6 次引用
  2. Effective Concurrency Testing for Go via Directional Primitive-Constrained Interleaving ExplorationZongze Jiang, Ming Wen, Yixin Yang, Chao Peng 等ASE 2023 · 6 次引用
  3. Dynamic Partial Deadlock Detection and Recovery via Garbage CollectionGeorgian-Vlad Saioc, I-Ting Angelina Lee, Anders Møller, Milind ChabbiASPLOS 2025 · 3 次引用
  4. Automated Verification of Parametric Channel-Based Process CommunicationGeorgian-Vlad Saioc, Julien Lange, Anders MøllerOOPSLA 2024 · 2 次引用
  5. Efficient Abstract Interpretation via Selective WideningJiawei Wang, Xiao Cheng, Yulei SuiOOPSLA 2025

它引用的 Paper3

  1. Automatically detecting and fixing concurrency bugs in go software systemsZiheng Liu, Shuofei Zhu, Boqin Qin, Hao Chen 等ASPLOS 2021 · 32 次引用
  2. Who goes first? detecting go concurrency bugs via message reorderingZiheng Liu, Shihao Xia, Yu Liang, Linhai Song 等ASPLOS 2022 · 21 次引用
  3. Automated Verification of Go Programs via Bounded Model CheckingNicolas Dilley, Julien LangeASE 2021 · 21 次引用

相关 Paper

  1. GoPV: Detecting Blocking Concurrency Bugs Related to Shared-Memory Synchronization in GoWei Song, Xiaofan Xu, Jeff HuangISSTA 2025
  2. Canary: practical static detection of inter-thread value-flow bugsYuandao Cai, Peisen Yao, Charles ZhangPLDI 2021 · 25 次引用
  3. A Predictive Analysis for Detecting Deadlock in MPI ProgramsYu Huang, Benjamin Ogles, Eric MercerASE 2020 · 3 次引用
  4. Accurate Static Data Race Detection for CEmerson Sales, Omar Inverso, Emilio TuostoFM 2024 · 1 次引用
  5. The Complexity of Testing Message-Passing ConcurrencyZheng Shi, Lasse Møldrup, Umang Mathur, Andreas PavlogiannisPOPL 2026 · 2 次引用
黄昏的海面,两侧是细线勾勒的悬崖