public class CfaUtil
extends java.lang.Object
Cfa
s.Constructor and Description |
---|
CfaUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
addInterproceduralEdgesToCfa(JvmCfa cfa,
CallGraph callGraph)
Adds interprocedural arcs to the given CFA from the call graph.
|
static JvmCfa |
createInterproceduralCfa(ClassPool programClassPool)
Create an interprocedural CFA from the given program class pool.
|
static JvmCfa |
createInterproceduralCfa(ClassPool programClassPool,
CallGraph callGraph)
Create an interprocedural CFA from the given program class pool and call graph.
|
static JvmCfa |
createInterproceduralCfa(ClassPool programClassPool,
ClassPool libraryClassPool)
Create an interprocedural CFA from the given program class pool.
|
static JvmCfa |
createInterproceduralCfaFromClassPool(ClassPool programClassPool)
Deprecated.
|
static JvmCfa |
createInterproceduralCfaFromClassPool(ClassPool programClassPool,
ClassPool libraryClassPool)
Deprecated.
|
static JvmCfa |
createInterproceduralCfaFromClassPoolAndCallGraph(ClassPool programClassPool,
CallGraph callGraph)
Deprecated.
|
static JvmCfa |
createIntraproceduralCfa(ClassPool programClassPool)
Returns a CFA for the given program class pool.
|
static JvmCfa |
createIntraproceduralCfa(ClassPool programClassPool,
java.util.function.Supplier<java.lang.Boolean> shouldAnalyzeNextCodeAttribute)
Returns a CFA for the given program class pool.
|
static JvmCfa |
createIntraproceduralCfaFromClassPool(ClassPool programClassPool)
Deprecated.
|
static JvmCfa |
createIntraproceduralCfaFromClassPool(ClassPool programClassPool,
java.util.function.Supplier<java.lang.Boolean> shouldAnalyzeNextCodeAttribute)
Deprecated.
|
static java.lang.String |
toDot(JvmCfa cfa)
Produces a DOT graph representation of the given JVM control flow automaton.
|
@Deprecated public static JvmCfa createIntraproceduralCfaFromClassPool(ClassPool programClassPool)
programClassPool
- a program class poolpublic static JvmCfa createIntraproceduralCfa(ClassPool programClassPool)
programClassPool
- a program class pool@Deprecated public static JvmCfa createIntraproceduralCfaFromClassPool(ClassPool programClassPool, java.util.function.Supplier<java.lang.Boolean> shouldAnalyzeNextCodeAttribute)
shouldAnalyzeNextCodeAttribute
.programClassPool
- a program class poolpublic static JvmCfa createIntraproceduralCfa(ClassPool programClassPool, java.util.function.Supplier<java.lang.Boolean> shouldAnalyzeNextCodeAttribute)
shouldAnalyzeNextCodeAttribute
.programClassPool
- a program class poolpublic static void addInterproceduralEdgesToCfa(JvmCfa cfa, CallGraph callGraph)
cfa
- a CFAcallGraph
- a call graph@Deprecated public static JvmCfa createInterproceduralCfaFromClassPoolAndCallGraph(ClassPool programClassPool, CallGraph callGraph)
programClassPool
- a program class poolcallGraph
- a call graphpublic static JvmCfa createInterproceduralCfa(ClassPool programClassPool, CallGraph callGraph)
programClassPool
- a program class poolcallGraph
- a call graph@Deprecated public static JvmCfa createInterproceduralCfaFromClassPool(ClassPool programClassPool)
programClassPool
- a program class poolpublic static JvmCfa createInterproceduralCfa(ClassPool programClassPool)
programClassPool
- a program class pool@Deprecated public static JvmCfa createInterproceduralCfaFromClassPool(ClassPool programClassPool, ClassPool libraryClassPool)
programClassPool
- a program class poolpublic static JvmCfa createInterproceduralCfa(ClassPool programClassPool, ClassPool libraryClassPool)
programClassPool
- a program class poolpublic static java.lang.String toDot(JvmCfa cfa)