Package sootup.spark

Class NodeFactory

java.lang.Object
sootup.spark.NodeFactory

public class NodeFactory extends Object
It is responsible for creating a SPARK representative nodes (nodes present in SPARK, AllocNode, FieldRef Node, and VarNode)
  • Constructor Details

    • NodeFactory

      public NodeFactory()
  • Method Details

    • createNode

      @NonNull public @NonNull Optional<Node> createNode(@NonNull @NonNull Value value)
      creates a PAG node for a given Jimple value
      Parameters:
      value - a jimple value, typically a local, field ref, or an allocation expression
      Returns:
      a PAG node