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

Member predicate MutexType::lockAccess

Holds if fc is n call that locks or tries to lock mutex arg of this type.

predicate lockAccess(FunctionCall fc, Expr arg)