CodeQL library for Python
codeql/python-all 0.6.4 (changelog, source)
Search

Predicate is_callable

Holds if c is a call to callable(obj).

Import path

import semmle.python.pointsto.Filters
predicate is_callable(CallNode c, ControlFlowNode obj)