Class CpgCreator

java.lang.Object
sootup.codepropertygraph.cpg.CpgCreator

public class CpgCreator extends Object
This class is responsible for creating the Code Property Graph (CPG) for a given Soot method.
  • Constructor Details

    • CpgCreator

      public CpgCreator(AstCreator astCreator, CfgCreator cfgCreator, CdgCreator cdgCreator, DdgCreator ddgCreator)
      Constructs a CPG creator with the specified creators for AST, CFG, CDG, and DDG.
      Parameters:
      astCreator - the AST creator
      cfgCreator - the CFG creator
      cdgCreator - the CDG creator
      ddgCreator - the DDG creator
  • Method Details

    • createCpg

      public PropertyGraph createCpg(SootMethod method)
      Creates the CPG for the given Soot method.
      Parameters:
      method - the Soot method
      Returns:
      the CPG