Class Util
java.lang.Object
com.ibm.wala.ipa.callgraph.impl.Util
Call graph utilities
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddBypassLogic(AnalysisOptions options, AnalysisScope scope, ClassLoader cl, XMLMethodSummaryReader summary, IClassHierarchy cha) Deprecated, for removal: This API element is subject to removal in a future version.Method will be replaced.static voidaddBypassLogic(AnalysisOptions options, AnalysisScope scope, ClassLoader cl, String xmlFile, IClassHierarchy cha) Deprecated, for removal: This API element is subject to removal in a future version.This method is being replaced.static voidaddBypassLogic(AnalysisOptions options, ClassLoader cl, XMLMethodSummaryReader summary, IClassHierarchy cha) static voidaddBypassLogic(AnalysisOptions options, ClassLoader cl, String xmlFile, IClassHierarchy cha) Modify an options object to include bypass logic as specified by a an XML file.static voidaddDefaultBypassLogic(AnalysisOptions options, AnalysisScope scope, ClassLoader cl, IClassHierarchy cha) Deprecated, for removal: This API element is subject to removal in a future version.static voidaddDefaultBypassLogic(AnalysisOptions options, ClassLoader cl, IClassHierarchy cha) static voidaddDefaultSelectors(AnalysisOptions options, IClassHierarchy cha) Set up an AnalysisOptions object with default selectors, corresponding to class hierarchy lookupstatic <T> voidcheckGraphSubset(Graph<T> supG, Graph<T> subG) static Stringstatic Iterable<Entrypoint> makeMainEntrypoints(AnalysisScope scope, IClassHierarchy cha) Deprecated, for removal: This API element is subject to removal in a future version.UsemakeMainEntrypoints(IClassHierarchy)insteadstatic Iterable<Entrypoint> makeMainEntrypoints(AnalysisScope scope, IClassHierarchy cha, String className) Deprecated, for removal: This API element is subject to removal in a future version.static Iterable<Entrypoint> makeMainEntrypoints(AnalysisScope scope, IClassHierarchy cha, String[] classNames) Deprecated, for removal: This API element is subject to removal in a future version.Pleasestatic Iterable<Entrypoint> static Iterable<Entrypoint> makeMainEntrypoints(IClassHierarchy cha, String className) static Iterable<Entrypoint> makeMainEntrypoints(IClassHierarchy cha, String[] classNames) static Iterable<Entrypoint> static Iterable<Entrypoint> makeMainEntrypoints(ClassLoaderReference loaderRef, IClassHierarchy cha, String[] classNames) makeNCFABuilder(int n, Language l, AnalysisOptions options, IAnalysisCacheView cache, IClassHierarchy cha) make aCallGraphBuilderthat uses call-string context sensitivity, with call-string length limited to n, and a context-sensitive allocation-site-based heap abstraction.makeNCFABuilder(int n, AnalysisOptions options, IAnalysisCacheView cache, IClassHierarchy cha, AnalysisScope scope) Deprecated, for removal: This API element is subject to removal in a future version.makeNObjBuilder(int n, AnalysisOptions options, IAnalysisCacheView cache, IClassHierarchy cha) make aCallGraphBuilderthat uses object context sensitivity, with allocation-string length limited to nmakeNObjBuilder(int n, AnalysisOptions options, IAnalysisCacheView cache, IClassHierarchy cha, AnalysisScope scope) Deprecated, for removal: This API element is subject to removal in a future version.static CallGraphBuilder<InstanceKey> makeRTABuilder(AnalysisOptions options, IAnalysisCacheView cache, IClassHierarchy cha) static CallGraphBuilder<InstanceKey> makeRTABuilder(AnalysisOptions options, IAnalysisCacheView cache, IClassHierarchy cha, AnalysisScope scope) Deprecated, for removal: This API element is subject to removal in a future version.makeVanillaNCFABuilder(int n, AnalysisOptions options, IAnalysisCacheView cache, IClassHierarchy cha) make aCallGraphBuilderthat uses call-string context sensitivity, with call-string length limited to n, and a context-sensitive allocation-site-based heap abstraction.makeVanillaNCFABuilder(int n, AnalysisOptions options, IAnalysisCacheView cache, IClassHierarchy cha, AnalysisScope scope) Deprecated, for removal: This API element is subject to removal in a future version.makeVanillaNObjBuilder(int n, AnalysisOptions options, IAnalysisCacheView cache, IClassHierarchy cha) make aCallGraphBuilderthat uses object context sensitivity, with allocation-string length limited to nmakeVanillaNObjBuilder(int n, AnalysisOptions options, IAnalysisCacheView cache, IClassHierarchy cha, AnalysisScope scope) Deprecated, for removal: This API element is subject to removal in a future version.makeVanillaZeroOneCFABuilder(Language l, AnalysisOptions options, IAnalysisCacheView analysisCache, IClassHierarchy cha) makeVanillaZeroOneCFABuilder(Language l, AnalysisOptions options, IAnalysisCacheView analysisCache, IClassHierarchy cha, AnalysisScope scope) Deprecated, for removal: This API element is subject to removal in a future version.makeVanillaZeroOneCFABuilder(Language l, AnalysisOptions options, IAnalysisCacheView analysisCache, IClassHierarchy cha, AnalysisScope scope, ContextSelector customSelector, SSAContextInterpreter customInterpreter) Deprecated, for removal: This API element is subject to removal in a future version.makeVanillaZeroOneCFABuilder(Language l, AnalysisOptions options, IAnalysisCacheView analysisCache, IClassHierarchy cha, ContextSelector customSelector, SSAContextInterpreter customInterpreter) makeVanillaZeroOneContainerCFABuilder(AnalysisOptions options, IAnalysisCacheView cache, IClassHierarchy cha) makeVanillaZeroOneContainerCFABuilder(AnalysisOptions options, IAnalysisCacheView cache, IClassHierarchy cha, AnalysisScope scope) Deprecated, for removal: This API element is subject to removal in a future version.makeZeroCFABuilder(Language l, AnalysisOptions options, IAnalysisCacheView cache, IClassHierarchy cha) makeZeroCFABuilder(Language l, AnalysisOptions options, IAnalysisCacheView cache, IClassHierarchy cha, AnalysisScope scope) Deprecated, for removal: This API element is subject to removal in a future version.makeZeroCFABuilder(Language l, AnalysisOptions options, IAnalysisCacheView cache, IClassHierarchy cha, AnalysisScope scope, ContextSelector customSelector, SSAContextInterpreter customInterpreter) Deprecated, for removal: This API element is subject to removal in a future version.makeZeroCFABuilder(Language l, AnalysisOptions options, IAnalysisCacheView cache, IClassHierarchy cha, ContextSelector customSelector, SSAContextInterpreter customInterpreter) makeZeroContainerCFABuilder(AnalysisOptions options, IAnalysisCacheView cache, IClassHierarchy cha) makeZeroContainerCFABuilder(AnalysisOptions options, IAnalysisCacheView cache, IClassHierarchy cha, AnalysisScope scope) Deprecated, for removal: This API element is subject to removal in a future version.makeZeroOneCFABuilder(Language l, AnalysisOptions options, IAnalysisCacheView cache, IClassHierarchy cha) makeZeroOneCFABuilder(Language l, AnalysisOptions options, IAnalysisCacheView cache, IClassHierarchy cha, AnalysisScope scope) Deprecated, for removal: This API element is subject to removal in a future version.makeZeroOneCFABuilder(Language l, AnalysisOptions options, IAnalysisCacheView cache, IClassHierarchy cha, AnalysisScope scope, ContextSelector customSelector, SSAContextInterpreter customInterpreter) Deprecated, for removal: This API element is subject to removal in a future version.makeZeroOneCFABuilder(Language l, AnalysisOptions options, IAnalysisCacheView cache, IClassHierarchy cha, ContextSelector customSelector, SSAContextInterpreter customInterpreter) makeZeroOneContainerCFABuilder(AnalysisOptions options, IAnalysisCacheView cache, IClassHierarchy cha) makeZeroOneContainerCFABuilder(AnalysisOptions options, IAnalysisCacheView cache, IClassHierarchy cha, AnalysisScope scope) Deprecated, for removal: This API element is subject to removal in a future version.makeZeroOneContainerCFABuilder(AnalysisOptions options, IAnalysisCacheView cache, IClassHierarchy cha, AnalysisScope scope, ContextSelector appSelector, SSAContextInterpreter appInterpreter) Deprecated, for removal: This API element is subject to removal in a future version.makeZeroOneContainerCFABuilder(AnalysisOptions options, IAnalysisCacheView cache, IClassHierarchy cha, ContextSelector appSelector, SSAContextInterpreter appInterpreter) static <T> Set<T> create a set holding the contents of anIteratorstatic voidsetNativeSpec(String xmlFile)
-
Field Details
-
nativeSpec
TODO: Make these properties?
-
-
Constructor Details
-
Util
public Util()
-
-
Method Details
-
setNativeSpec
-
getNativeSpec
-
addDefaultSelectors
Set up an AnalysisOptions object with default selectors, corresponding to class hierarchy lookup- Throws:
IllegalArgumentException- if options is null
-
addBypassLogic
@Deprecated(forRemoval=true, since="1.7.2") public static void addBypassLogic(AnalysisOptions options, AnalysisScope scope, ClassLoader cl, String xmlFile, IClassHierarchy cha) throws IllegalArgumentException Deprecated, for removal: This API element is subject to removal in a future version.This method is being replaced. PleaseUse
addBypassLogic(AnalysisOptions, ClassLoader, String, IClassHierarchy)insteadModify an options object to include bypass logic as specified by a an XML file.- Throws:
IllegalArgumentException- if scope is nullIllegalArgumentException- if cl is nullIllegalArgumentException- if options is nullIllegalArgumentException- if scope is null
-
addBypassLogic
public static void addBypassLogic(AnalysisOptions options, ClassLoader cl, String xmlFile, IClassHierarchy cha) throws IllegalArgumentException Modify an options object to include bypass logic as specified by a an XML file.- Throws:
IllegalArgumentException- if scope is nullIllegalArgumentException- if cl is nullIllegalArgumentException- if options is nullIllegalArgumentException- if scope is null
-
addBypassLogic
@Deprecated(forRemoval=true, since="1.7.2") public static void addBypassLogic(AnalysisOptions options, AnalysisScope scope, ClassLoader cl, XMLMethodSummaryReader summary, IClassHierarchy cha) throws IllegalArgumentException Deprecated, for removal: This API element is subject to removal in a future version.Method will be replaced. PleaseUse
addBypassLogic(AnalysisOptions, ClassLoader, XMLMethodSummaryReader, IClassHierarchy)instead- Throws:
IllegalArgumentException
-
addBypassLogic
public static void addBypassLogic(AnalysisOptions options, ClassLoader cl, XMLMethodSummaryReader summary, IClassHierarchy cha) throws IllegalArgumentException - Throws:
IllegalArgumentException
-
makeMainEntrypoints
@Deprecated(forRemoval=true, since="1.7.2") public static Iterable<Entrypoint> makeMainEntrypoints(AnalysisScope scope, IClassHierarchy cha) Deprecated, for removal: This API element is subject to removal in a future version.Use
makeMainEntrypoints(IClassHierarchy)instead- Returns:
- set of all eligible Main classes in the class hierarchy
- Throws:
IllegalArgumentException- if scope is null
-
makeMainEntrypoints
- Returns:
- set of all eligible Main classes in the class hierarchy
- Throws:
IllegalArgumentException- if scope is null
-
makeMainEntrypoints
public static Iterable<Entrypoint> makeMainEntrypoints(ClassLoaderReference clr, IClassHierarchy cha) -
makeMainEntrypoints
@Deprecated(forRemoval=true, since="1.7.2") public static Iterable<Entrypoint> makeMainEntrypoints(AnalysisScope scope, IClassHierarchy cha, String className) Deprecated, for removal: This API element is subject to removal in a future version. -
makeMainEntrypoints
- Returns:
- Entrypoints for a set of J2SE Main classes
-
makeMainEntrypoints
@Deprecated(forRemoval=true, since="1.7.2") public static Iterable<Entrypoint> makeMainEntrypoints(AnalysisScope scope, IClassHierarchy cha, String[] classNames) Deprecated, for removal: This API element is subject to removal in a future version. -
makeMainEntrypoints
- Returns:
- Entrypoints for a set of J2SE Main classes
-
makeMainEntrypoints
public static Iterable<Entrypoint> makeMainEntrypoints(ClassLoaderReference loaderRef, IClassHierarchy cha, String[] classNames) throws IllegalArgumentException - Returns:
- Entrypoints for a set of J2SE Main classes
- Throws:
IllegalArgumentException- if classNames == nullIllegalArgumentException- if (classNames != null) and (0 < classNames.length) and (classNames[0] == null)IllegalArgumentException- if classNames.length == 0
-
setify
-
checkGraphSubset
- Throws:
IllegalArgumentException- if subG is nullIllegalArgumentException- if supG is null
-
makeRTABuilder
@Deprecated(forRemoval=true, since="1.7.2") public static CallGraphBuilder<InstanceKey> makeRTABuilder(AnalysisOptions options, IAnalysisCacheView cache, IClassHierarchy cha, AnalysisScope scope) Deprecated, for removal: This API element is subject to removal in a future version.- Parameters:
options- options that govern call graph constructioncha- governing class hierarchyscope- representation of the analysis scope- Returns:
- an RTA Call Graph builder.
-
makeRTABuilder
public static CallGraphBuilder<InstanceKey> makeRTABuilder(AnalysisOptions options, IAnalysisCacheView cache, IClassHierarchy cha) - Parameters:
options- options that govern call graph constructioncha- governing class hierarchy- Returns:
- an RTA Call Graph builder.
-
makeZeroCFABuilder
@Deprecated(forRemoval=true, since="1.7.2") public static SSAPropagationCallGraphBuilder makeZeroCFABuilder(Language l, AnalysisOptions options, IAnalysisCacheView cache, IClassHierarchy cha, AnalysisScope scope) Deprecated, for removal: This API element is subject to removal in a future version.- Parameters:
options- options that govern call graph constructioncha- governing class hierarchyscope- representation of the analysis scope- Returns:
- a 0-CFA Call Graph Builder.
-
makeZeroCFABuilder
public static SSAPropagationCallGraphBuilder makeZeroCFABuilder(Language l, AnalysisOptions options, IAnalysisCacheView cache, IClassHierarchy cha) - Parameters:
options- options that govern call graph constructioncha- governing class hierarchy- Returns:
- a 0-CFA Call Graph Builder.
-
makeZeroCFABuilder
@Deprecated(forRemoval=true, since="1.7.2") public static SSAPropagationCallGraphBuilder makeZeroCFABuilder(Language l, AnalysisOptions options, IAnalysisCacheView cache, IClassHierarchy cha, AnalysisScope scope, ContextSelector customSelector, SSAContextInterpreter customInterpreter) Deprecated, for removal: This API element is subject to removal in a future version.- Parameters:
options- options that govern call graph constructioncha- governing class hierarchyscope- representation of the analysis scopecustomSelector- user-defined context selector, or null if nonecustomInterpreter- user-defined context interpreter, or null if none- Returns:
- a 0-CFA Call Graph Builder.
- Throws:
IllegalArgumentException- if options is null
-
makeZeroCFABuilder
public static SSAPropagationCallGraphBuilder makeZeroCFABuilder(Language l, AnalysisOptions options, IAnalysisCacheView cache, IClassHierarchy cha, ContextSelector customSelector, SSAContextInterpreter customInterpreter) - Parameters:
options- options that govern call graph constructioncha- governing class hierarchycustomSelector- user-defined context selector, or null if nonecustomInterpreter- user-defined context interpreter, or null if none- Returns:
- a 0-CFA Call Graph Builder.
- Throws:
IllegalArgumentException- if options is null
-
makeZeroOneCFABuilder
@Deprecated(forRemoval=true, since="1.7.2") public static SSAPropagationCallGraphBuilder makeZeroOneCFABuilder(Language l, AnalysisOptions options, IAnalysisCacheView cache, IClassHierarchy cha, AnalysisScope scope) Deprecated, for removal: This API element is subject to removal in a future version.- Parameters:
options- options that govern call graph constructioncha- governing class hierarchyscope- representation of the analysis scope- Returns:
- a 0-1-CFA Call Graph Builder.
-
makeZeroOneCFABuilder
public static SSAPropagationCallGraphBuilder makeZeroOneCFABuilder(Language l, AnalysisOptions options, IAnalysisCacheView cache, IClassHierarchy cha) - Parameters:
options- options that govern call graph constructioncha- governing class hierarchy- Returns:
- a 0-1-CFA Call Graph Builder.
-
makeVanillaZeroOneCFABuilder
@Deprecated(forRemoval=true, since="1.7.2") public static SSAPropagationCallGraphBuilder makeVanillaZeroOneCFABuilder(Language l, AnalysisOptions options, IAnalysisCacheView analysisCache, IClassHierarchy cha, AnalysisScope scope, ContextSelector customSelector, SSAContextInterpreter customInterpreter) Deprecated, for removal: This API element is subject to removal in a future version.- Parameters:
options- options that govern call graph constructioncha- governing class hierarchyscope- representation of the analysis scopecustomSelector- user-defined context selector, or null if nonecustomInterpreter- user-defined context interpreter, or null if none- Returns:
- a 0-1-CFA Call Graph Builder.
- Throws:
IllegalArgumentException- if options is null
-
makeVanillaZeroOneCFABuilder
public static SSAPropagationCallGraphBuilder makeVanillaZeroOneCFABuilder(Language l, AnalysisOptions options, IAnalysisCacheView analysisCache, IClassHierarchy cha, ContextSelector customSelector, SSAContextInterpreter customInterpreter) - Parameters:
options- options that govern call graph constructioncha- governing class hierarchycustomSelector- user-defined context selector, or null if nonecustomInterpreter- user-defined context interpreter, or null if none- Returns:
- a 0-1-CFA Call Graph Builder.
- Throws:
IllegalArgumentException- if options is null
-
makeVanillaZeroOneCFABuilder
@Deprecated(forRemoval=true, since="1.7.2") public static SSAPropagationCallGraphBuilder makeVanillaZeroOneCFABuilder(Language l, AnalysisOptions options, IAnalysisCacheView analysisCache, IClassHierarchy cha, AnalysisScope scope) Deprecated, for removal: This API element is subject to removal in a future version.- Parameters:
options- options that govern call graph constructioncha- governing class hierarchyscope- representation of the analysis scope- Returns:
- a 0-1-CFA Call Graph Builder.
-
makeVanillaZeroOneCFABuilder
public static SSAPropagationCallGraphBuilder makeVanillaZeroOneCFABuilder(Language l, AnalysisOptions options, IAnalysisCacheView analysisCache, IClassHierarchy cha) - Parameters:
options- options that govern call graph constructioncha- governing class hierarchy- Returns:
- a 0-1-CFA Call Graph Builder.
-
makeZeroOneCFABuilder
@Deprecated(forRemoval=true, since="1.7.2") public static SSAPropagationCallGraphBuilder makeZeroOneCFABuilder(Language l, AnalysisOptions options, IAnalysisCacheView cache, IClassHierarchy cha, AnalysisScope scope, ContextSelector customSelector, SSAContextInterpreter customInterpreter) Deprecated, for removal: This API element is subject to removal in a future version.- Parameters:
options- options that govern call graph constructioncha- governing class hierarchyscope- representation of the analysis scopecustomSelector- user-defined context selector, or null if nonecustomInterpreter- user-defined context interpreter, or null if none- Returns:
- a 0-1-CFA Call Graph Builder.
- Throws:
IllegalArgumentException- if options is null
-
makeZeroOneCFABuilder
public static SSAPropagationCallGraphBuilder makeZeroOneCFABuilder(Language l, AnalysisOptions options, IAnalysisCacheView cache, IClassHierarchy cha, ContextSelector customSelector, SSAContextInterpreter customInterpreter) - Parameters:
options- options that govern call graph constructioncha- governing class hierarchycustomSelector- user-defined context selector, or null if nonecustomInterpreter- user-defined context interpreter, or null if none- Returns:
- a 0-1-CFA Call Graph Builder.
- Throws:
IllegalArgumentException- if options is null
-
makeZeroContainerCFABuilder
@Deprecated(forRemoval=true, since="1.7.2") public static SSAPropagationCallGraphBuilder makeZeroContainerCFABuilder(AnalysisOptions options, IAnalysisCacheView cache, IClassHierarchy cha, AnalysisScope scope) Deprecated, for removal: This API element is subject to removal in a future version.- Parameters:
options- options that govern call graph constructioncha- governing class hierarchyscope- representation of the analysis scope- Returns:
- a 0-CFA Call Graph Builder augmented with extra logic for containers
- Throws:
IllegalArgumentException- if options is null
-
makeZeroContainerCFABuilder
public static SSAPropagationCallGraphBuilder makeZeroContainerCFABuilder(AnalysisOptions options, IAnalysisCacheView cache, IClassHierarchy cha) - Parameters:
options- options that govern call graph constructioncha- governing class hierarchy- Returns:
- a 0-CFA Call Graph Builder augmented with extra logic for containers
- Throws:
IllegalArgumentException- if options is null
-
makeZeroOneContainerCFABuilder
@Deprecated(forRemoval=true, since="1.7.2") public static SSAPropagationCallGraphBuilder makeZeroOneContainerCFABuilder(AnalysisOptions options, IAnalysisCacheView cache, IClassHierarchy cha, AnalysisScope scope) Deprecated, for removal: This API element is subject to removal in a future version.- Parameters:
options- options that govern call graph constructioncha- governing class hierarchyscope- representation of the analysis scope- Returns:
- a 0-1-CFA Call Graph Builder augmented with extra logic for containers
- Throws:
IllegalArgumentException- if options is null
-
makeZeroOneContainerCFABuilder
@Deprecated(forRemoval=true, since="1.7.2") public static SSAPropagationCallGraphBuilder makeZeroOneContainerCFABuilder(AnalysisOptions options, IAnalysisCacheView cache, IClassHierarchy cha, AnalysisScope scope, ContextSelector appSelector, SSAContextInterpreter appInterpreter) Deprecated, for removal: This API element is subject to removal in a future version. -
makeZeroOneContainerCFABuilder
public static SSAPropagationCallGraphBuilder makeZeroOneContainerCFABuilder(AnalysisOptions options, IAnalysisCacheView cache, IClassHierarchy cha) - Parameters:
options- options that govern call graph constructioncha- governing class hierarchy- Returns:
- a 0-1-CFA Call Graph Builder augmented with extra logic for containers
- Throws:
IllegalArgumentException- if options is null
-
makeZeroOneContainerCFABuilder
public static SSAPropagationCallGraphBuilder makeZeroOneContainerCFABuilder(AnalysisOptions options, IAnalysisCacheView cache, IClassHierarchy cha, ContextSelector appSelector, SSAContextInterpreter appInterpreter) -
makeNCFABuilder
@Deprecated(forRemoval=true, since="1.7.2") public static SSAPropagationCallGraphBuilder makeNCFABuilder(int n, AnalysisOptions options, IAnalysisCacheView cache, IClassHierarchy cha, AnalysisScope scope) Deprecated, for removal: This API element is subject to removal in a future version.make aCallGraphBuilderthat uses call-string context sensitivity, with call-string length limited to n, and a context-sensitive allocation-site-based heap abstraction. -
makeNCFABuilder
public static SSAPropagationCallGraphBuilder makeNCFABuilder(int n, Language l, AnalysisOptions options, IAnalysisCacheView cache, IClassHierarchy cha) make aCallGraphBuilderthat uses call-string context sensitivity, with call-string length limited to n, and a context-sensitive allocation-site-based heap abstraction. -
makeNObjBuilder
@Deprecated(forRemoval=true, since="1.7.2") public static SSAPropagationCallGraphBuilder makeNObjBuilder(int n, AnalysisOptions options, IAnalysisCacheView cache, IClassHierarchy cha, AnalysisScope scope) Deprecated, for removal: This API element is subject to removal in a future version.make aCallGraphBuilderthat uses object context sensitivity, with allocation-string length limited to n -
makeNObjBuilder
public static SSAPropagationCallGraphBuilder makeNObjBuilder(int n, AnalysisOptions options, IAnalysisCacheView cache, IClassHierarchy cha) make aCallGraphBuilderthat uses object context sensitivity, with allocation-string length limited to n -
makeVanillaNObjBuilder
@Deprecated(forRemoval=true, since="1.7.2") public static SSAPropagationCallGraphBuilder makeVanillaNObjBuilder(int n, AnalysisOptions options, IAnalysisCacheView cache, IClassHierarchy cha, AnalysisScope scope) Deprecated, for removal: This API element is subject to removal in a future version.make aCallGraphBuilderthat uses object context sensitivity, with allocation-string length limited to n -
makeVanillaNObjBuilder
public static SSAPropagationCallGraphBuilder makeVanillaNObjBuilder(int n, AnalysisOptions options, IAnalysisCacheView cache, IClassHierarchy cha) make aCallGraphBuilderthat uses object context sensitivity, with allocation-string length limited to n -
makeVanillaNCFABuilder
@Deprecated(forRemoval=true, since="1.7.2") public static SSAPropagationCallGraphBuilder makeVanillaNCFABuilder(int n, AnalysisOptions options, IAnalysisCacheView cache, IClassHierarchy cha, AnalysisScope scope) Deprecated, for removal: This API element is subject to removal in a future version. -
makeVanillaNCFABuilder
public static SSAPropagationCallGraphBuilder makeVanillaNCFABuilder(int n, AnalysisOptions options, IAnalysisCacheView cache, IClassHierarchy cha) make aCallGraphBuilderthat uses call-string context sensitivity, with call-string length limited to n, and a context-sensitive allocation-site-based heap abstraction. Standard optimizations in the heap abstraction like smushing of strings are disabled. -
makeVanillaZeroOneContainerCFABuilder
@Deprecated(forRemoval=true, since="1.7.2") public static SSAPropagationCallGraphBuilder makeVanillaZeroOneContainerCFABuilder(AnalysisOptions options, IAnalysisCacheView cache, IClassHierarchy cha, AnalysisScope scope) Deprecated, for removal: This API element is subject to removal in a future version. -
makeVanillaZeroOneContainerCFABuilder
public static SSAPropagationCallGraphBuilder makeVanillaZeroOneContainerCFABuilder(AnalysisOptions options, IAnalysisCacheView cache, IClassHierarchy cha) - Parameters:
options- options that govern call graph constructioncha- governing class hierarchy- Returns:
- a 0-1-CFA Call Graph Builder augmented with extra logic for containers
- Throws:
IllegalArgumentException- if options is null
-
addDefaultBypassLogic
@Deprecated(forRemoval=true, since="1.7.2") public static void addDefaultBypassLogic(AnalysisOptions options, AnalysisScope scope, ClassLoader cl, IClassHierarchy cha) Deprecated, for removal: This API element is subject to removal in a future version. -
addDefaultBypassLogic
public static void addDefaultBypassLogic(AnalysisOptions options, ClassLoader cl, IClassHierarchy cha)
-