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

Module Make::BlockSlices

Provides a query for dumping every line-based slice of a basic block.

Import path

import codeql.controlflow.test.TestCfg

Predicates

blockSlice

Holds if blockSlice is a string representation of a line slice of a basic block. first is the first node in the slice.