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

Member predicate CustomMutexType::mustlockAccess

Holds if fc is a call that always locks mutex arg of this type.

predicate mustlockAccess(FunctionCall fc, Expr arg)