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

Predicate MakeImpl::Impl::MkStage::Stage::Graph::Public::PathGraph::subpaths

Holds if (arg, par, ret, out) forms a subpath-tuple, that is, flow through a subpath between par and ret with the connecting edges arg -> par and ret -> out is summarized as the edge arg -> out.

Import path

import codeql.dataflow.internal.DataFlowImpl
predicate subpaths(PathNode arg, PathNode par, PathNode ret, PathNode out)