CodeQL library for C/C++
codeql/cpp-all 2.0.2-dev (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)