Package sootup.codepropertygraph.cpg
Class CpgCreator
java.lang.Object
sootup.codepropertygraph.cpg.CpgCreator
This class is responsible for creating the Code Property Graph (CPG) for a given Soot method.
-
Constructor Summary
ConstructorDescriptionCpgCreator
(AstCreator astCreator, CfgCreator cfgCreator, CdgCreator cdgCreator, DdgCreator ddgCreator) Constructs a CPG creator with the specified creators for AST, CFG, CDG, and DDG. -
Method Summary
Modifier and TypeMethodDescriptioncreateCpg
(SootMethod method) Creates the CPG for the 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 creatorcfgCreator
- the CFG creatorcdgCreator
- the CDG creatorddgCreator
- the DDG creator
-
-
Method Details
-
createCpg
Creates the CPG for the given Soot method.- Parameters:
method
- the Soot method- Returns:
- the CPG
-