Lune

ASE2021Top-tier venue

Automated Verification of Go Programs via Bounded Model Checking

Nicolas Dilley, Julien Lange

Abstract

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.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

6 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Dynamic Partial Deadlock Detection and Recovery via Garbage Collection cites Detecting Blocking Errors in Go Programs using Localized Abstract Interpretation
  • Dynamic Partial Deadlock Detection and Recovery via Garbage Collection cites Automatically detecting and fixing concurrency bugs in go software systems
  • Detecting Blocking Errors in Go Programs using Localized Abstract Interpretation cites Automatically detecting and fixing concurrency bugs in go software systems
  • Effective Concurrency Testing for Go via Directional Primitive-Constrained Interleaving Exploration cites Detecting Blocking Errors in Go Programs using Localized Abstract Interpretation
  • Effective Concurrency Testing for Go via Directional Primitive-Constrained Interleaving Exploration cites Automatically detecting and fixing concurrency bugs in go software systems
  • The Complexity of Testing Message-Passing Concurrency cites Dynamic Partial Deadlock Detection and Recovery via Garbage Collection
  • The Complexity of Testing Message-Passing Concurrency cites Effective Concurrency Testing for Go via Directional Primitive-Constrained Interleaving Exploration
  • Automated Verification of Parametric Channel-Based Process Communication cites Detecting Blocking Errors in Go Programs using Localized Abstract Interpretation
  • Automated Verification of Parametric Channel-Based Process Communication cites Automatically detecting and fixing concurrency bugs in go software systems
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers6

  1. Detecting Blocking Errors in Go Programs using Localized Abstract InterpretationOskar Haarklou Veileborg, Georgian-Vlad Saioc, Anders MøllerASE 2022 · 12 citations
  2. Effective Concurrency Testing for Go via Directional Primitive-Constrained Interleaving ExplorationZongze Jiang, Ming Wen, Yixin Yang, Chao Peng et al.ASE 2023 · 6 citations
  3. Dynamic Partial Deadlock Detection and Recovery via Garbage CollectionGeorgian-Vlad Saioc, I-Ting Angelina Lee, Anders Møller, Milind ChabbiASPLOS 2025 · 3 citations
  4. The Complexity of Testing Message-Passing ConcurrencyZheng Shi, Lasse Møldrup, Umang Mathur, Andreas PavlogiannisPOPL 2026 · 2 citations
  5. Automated Verification of Parametric Channel-Based Process CommunicationGeorgian-Vlad Saioc, Julien Lange, Anders MøllerOOPSLA 2024 · 2 citations

Builds on1

  1. Automatically detecting and fixing concurrency bugs in go software systemsZiheng Liu, Shuofei Zhu, Boqin Qin, Hao Chen et al.ASPLOS 2021 · 32 citations

Related papers

  1. GoPV: Detecting Blocking Concurrency Bugs Related to Shared-Memory Synchronization in GoWei Song, Xiaofan Xu, Jeff HuangISSTA 2025
  2. Who goes first? detecting go concurrency bugs via message reorderingZiheng Liu, Shihao Xia, Yu Liang, Linhai Song et al.ASPLOS 2022 · 21 citations
  3. Fuzzing channel-based concurrency runtimes using types and effectsQuentin Stiévenart, Magnus MadsenOOPSLA 2020 · 2 citations
  4. Canary: practical static detection of inter-thread value-flow bugsYuandao Cai, Peisen Yao, Charles ZhangPLDI 2021 · 25 citations
  5. RELINCHE: Automatically Checking Linearizability under Relaxed Memory ConsistencyPavel Golovin, Michalis Kokologiannakis, Viktor VafeiadisPOPL 2025 · 4 citations
Dusk over the sea between two cliffs drawn in fine vertical lines