Assignment
class Assignment(val value: Expression, val target: HasType, val holder: AssignmentHolder) : Edge<Node>
An assignment assigns a certain value (usually an Expression) to a certain target.
Properties
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
The holder of this assignment
Link copied to clipboard
The index of this node, if it is stored in an de.fraunhofer.aisec.cpg.graph.edges.collections.EdgeList.
Link copied to clipboard
The value expression that is assigned to the target.