计算机科学 > 软件工程
[提交于 2022年7月6日]
标题:Static Deadlock Detection in Low-Level C Code
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:We present a novel scalable deadlock analyser L2D2 capable of handling C code with low-level unstructured lock manipulation. L2D2 runs along the call tree of a program, starting from its leaves, and analyses each function just once, without any knowledge of the call context. L2D2 builds function summaries recording information about locks that are assumed or known to be locked or unlocked at the entry, inside, and at the exit of functions, together with lock dependencies, and reports warnings about possible deadlocks when cycles in the lock dependencies are detected. We implemented L2D2 as a plugin of the Facebook/Meta Infer framework and report results of experiments on a large body of C as well as C++ code illustrating the effectiveness and efficiency of L2D2.
提交历史
来自:Tomáš Vojnar[v1] 2022年7月6日 星期三 00:00:00 UTC