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

Predicate Make::noCfg

Holds if no CFG nodes exist in the callable of a on the same line as a, and a is the first AST node on that line.

Import path

import codeql.controlflow.test.TestCfg
predicate noCfg(AstNode a)