数组元素上的数据竞争可满足性
Data Race Satisfiability on Array Elements
AI总结:
针对 OpenMP 数据竞争检测中动态分析耗时、静态分析易误报的问题,提出 DRS-oNE,利用 Z3 SMT 求解器求解数组元素的竞争约束。
摘要:
数据竞争检测是验证 OpenMP 并行代码正确性的最重要任务之一。目前已提出两类主要的分析工具模型用于检测数据竞争:动态分析和静态分析。诸如 Intel Inspector、ThreadSanitizer 和 Helgrind+ 等动态分析工具可以通过执行源代码来检测数据竞争。然而,在分析计算密集型程序时,源代码执行可能非常耗时。此外还存在诸如 LLOV 和 OpenRace 等静态分析工具。这些工具使用通常不需要执行源代码的算法来静态检测数据竞争。尽管这两种检测技术都能帮助程序员分析 OpenMP 程序的正确行为,但它们仍会产生误报,而这些误报往往使自动分析的应用失去意义。因此,我们提出了 DRS-oNE(Data Race Satisfiability on aNy Element,任意元素上的数据竞争可满足性),这是一种通过使用 Z3 SMT 求解器求解竞争约束来检测数组元素上数据竞争的数据竞争检测器。
英文摘要:
Detection of data races is one of the most important tasks for verifying the correctness of OpenMP parallel codes. Two main models of analysis tools have been proposed for detecting data races: dynamic analysis and static analysis. Dynamic analysis tools such as Intel Inspector, ThreadSanitizer, and Helgrind+ can detect data races through the execution of the source code. However, source code execution can be quite time-consuming when analyzing computation-intensive programs. There are also static analysis tools such as LLOV, and OpenRace. These tools statically detect data races using algorithms that often do not require the execution of the source code. Although both detection techniques assist programmers in analyzing the correct behavior of OpenMP programs, they still produce false positives that often defeat the purpose of applying automatic analysis. Therefore, we present DRS-oNE (Data Race Satisfiability on aNy Element), a data race detector that detects data races on array elements by solving for race constraints with the Z3 SMT solver.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。