ContextSensitiveDataflow

class ContextSensitiveDataflow(start: Node, end: Node, var granularity: Granularity = default(), val callingContext: CallingContext) : Dataflow

This edge class defines a flow of data between start and end. The flow must have a callingContext which allows for a context-sensitive dataflow analysis. This edge can also have a certain granularity.

Constructors

Link copied to clipboard
constructor(start: Node, end: Node, granularity: Granularity = default(), callingContext: CallingContext)

Properties

Link copied to clipboard
Link copied to clipboard

The type of dependence (e.g. control or data or none). This field is intentionally nullable, because not all Edge edges are selected in the PDG. This selection is performed in the ProgramDependenceGraphPass.

Link copied to clipboard
var end: Node
Link copied to clipboard

The granularity of this dataflow.

Link copied to clipboard
var index: Int?

The index of this node, if it is stored in an de.fraunhofer.aisec.cpg.graph.edges.collections.EdgeList.

Link copied to clipboard
open override var labels: Set<String>
Link copied to clipboard
var name: String?

An optional name.

Link copied to clipboard
var start: Node

Functions

Link copied to clipboard
open override fun clone(): Edge<Node>
Link copied to clipboard
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard

Returns the Persistable's properties. This DOES NOT include relationships, but only properties directly attached to the node/edge.

Link copied to clipboard
Link copied to clipboard
open override fun toString(): String