Automated Verification of Go Programs via Bounded Model Checking
Nicolas Dilley, Julien Lange
摘要
The Go programming language offers a wide range of primitives to coordinate lightweight threads, e.g., channels, waitgroups, and mutexes — all of which may cause concurrency bugs. Static checkers that guarantee the absence of bugs are essential to help programmers avoid these costly errors before their code is executed. However existing tools either miss too many bugs or cannot handle large programs. To address these limitations, we propose a static checker for Go programs which relies on performing bounded model checking of their concurrent behaviours. In contrast to previous works, our approach deals with large codebases, supports programs that have statically unknown parameters, and is extensible to additional concurrency primitives. Our work includes a detailed presentation of the extraction algorithm from Go programs to models, an algorithm to automatically check programs with statically unknown parameters, and a large scale evaluation of our approach. The latter shows that our approach outperforms the state-of-the-art.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 6 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Dynamic Partial Deadlock Detection and Recovery via Garbage Collection 引用了 Detecting Blocking Errors in Go Programs using Localized Abstract Interpretation
- Dynamic Partial Deadlock Detection and Recovery via Garbage Collection 引用了 Automatically detecting and fixing concurrency bugs in go software systems
- Detecting Blocking Errors in Go Programs using Localized Abstract Interpretation 引用了 Automatically detecting and fixing concurrency bugs in go software systems
- Effective Concurrency Testing for Go via Directional Primitive-Constrained Interleaving Exploration 引用了 Detecting Blocking Errors in Go Programs using Localized Abstract Interpretation
- Effective Concurrency Testing for Go via Directional Primitive-Constrained Interleaving Exploration 引用了 Automatically detecting and fixing concurrency bugs in go software systems
- The Complexity of Testing Message-Passing Concurrency 引用了 Dynamic Partial Deadlock Detection and Recovery via Garbage Collection
- The Complexity of Testing Message-Passing Concurrency 引用了 Effective Concurrency Testing for Go via Directional Primitive-Constrained Interleaving Exploration
- Automated Verification of Parametric Channel-Based Process Communication 引用了 Detecting Blocking Errors in Go Programs using Localized Abstract Interpretation
- Automated Verification of Parametric Channel-Based Process Communication 引用了 Automatically detecting and fixing concurrency bugs in go software systems
引用它的顶会 Paper6
- Detecting Blocking Errors in Go Programs using Localized Abstract InterpretationOskar Haarklou Veileborg, Georgian-Vlad Saioc, Anders MøllerASE 2022 · 12 次引用
- Effective Concurrency Testing for Go via Directional Primitive-Constrained Interleaving ExplorationZongze Jiang, Ming Wen, Yixin Yang, Chao Peng 等ASE 2023 · 6 次引用
- Dynamic Partial Deadlock Detection and Recovery via Garbage CollectionGeorgian-Vlad Saioc, I-Ting Angelina Lee, Anders Møller, Milind ChabbiASPLOS 2025 · 3 次引用
- The Complexity of Testing Message-Passing ConcurrencyZheng Shi, Lasse Møldrup, Umang Mathur, Andreas PavlogiannisPOPL 2026 · 2 次引用
- Automated Verification of Parametric Channel-Based Process CommunicationGeorgian-Vlad Saioc, Julien Lange, Anders MøllerOOPSLA 2024 · 2 次引用
它引用的 Paper1
相关 Paper
- GoPV: Detecting Blocking Concurrency Bugs Related to Shared-Memory Synchronization in GoWei Song, Xiaofan Xu, Jeff HuangISSTA 2025
- Who goes first? detecting go concurrency bugs via message reorderingZiheng Liu, Shihao Xia, Yu Liang, Linhai Song 等ASPLOS 2022 · 21 次引用
- Fuzzing channel-based concurrency runtimes using types and effectsQuentin Stiévenart, Magnus MadsenOOPSLA 2020 · 2 次引用
- Canary: practical static detection of inter-thread value-flow bugsYuandao Cai, Peisen Yao, Charles ZhangPLDI 2021 · 25 次引用
- RELINCHE: Automatically Checking Linearizability under Relaxed Memory ConsistencyPavel Golovin, Michalis Kokologiannakis, Viktor VafeiadisPOPL 2025 · 4 次引用
