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