Module DataFlow2

Import path

import semmle.code.java.dataflow.TaintTracking

Predicates

flowsTo

Holds if data can flow (inter-procedurally) from source to sink.

Classes

Configuration

A configuration of interprocedural data flow analysis. This defines sources, sinks, and any other configurable aspect of the analysis. Each use of the global data flow library must define its own unique extension of this abstract class. To create a configuration, extend this class with a subclass whose characteristic predicate is a unique singleton string. For example, write

PartialPathNode

A Node augmented with a call context, an access path, and a configuration.

PathNode

A Node augmented with a call context (except for sinks), an access path, and a configuration. Only those PathNodes that are reachable from a source are generated.

Modules

PartialPathGraph

Provides the query predicates needed to include a graph in a path-problem query.

PathGraph

Provides the query predicates needed to include a graph in a path-problem query.