CodeQL library for C#
codeql/csharp-all 0.5.1 (changelog, source)
Search

Predicate 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 semmle.code.csharp.security.dataflow.XSSQuery
predicate subpaths(XssNode arg, XssNode par, XssNode ret, XssNode out)