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

Predicate SsaSource::exception_capture

Holds if v is defined by assignment of the captured exception.

Import path

import python
predicate exception_capture(Variable v, NameNode defn)