CodeQL library for C/C++
codeql/cpp-all 0.12.10 (changelog, source)
Search

Predicate mustlockCall

Holds if call is a call that always locks its argument arg.

Import path

import cpp
predicate mustlockCall(Expr arg, FunctionCall call)