CodeQL library for JavaScript/TypeScript
codeql/javascript-all 2.5.1-dev (changelog, source)
Search

Module TaintedPath::FlowState

Module containing details of individual flow states.

Import path

import semmle.javascript.security.dataflow.TaintedPathCustomizations

Predicates

fromFlowLabel

Convert the given flow label to the corresponding flow state.

Classes

Normalization

A string indicating if a path is normalized, that is, whether internal ../ components have been removed.

PosixPath

A flow state representing a Posix path.

Relativeness

A string indicating if a path is relative or absolute.

SplitPath

A flow label representing an array of path elements that may include “..”.