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