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

Predicate unlockCall

Holds if call is a call that unlocks its argument arg.

Import path

import cpp
predicate unlockCall(Expr arg, FunctionCall call)