Automated Verification of Go Programs via Bounded Model Checking. / Dilley, Nicolas; Lange, Julien.

In: IEEE/ACM International Conference on Automated Software Engineering, 08.07.2021.

Research output: Contribution to journalConference articlepeer-review



  • main

    Accepted author manuscript, 452 KB, PDF document

    Licence: Not specified


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.
Original languageEnglish
JournalIEEE/ACM International Conference on Automated Software Engineering
Publication statusAccepted/In press - 8 Jul 2021
This open access research output is licenced under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License.

ID: 43117603