|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ibm.wala.ipa.callgraph.AnalysisOptions
public class AnalysisOptions
Basic interface for options that control call graph generation.
| Field Summary | |
|---|---|
static byte |
CHA_DISPATCH_BOUND
|
static byte |
NO_DISPATCH_BOUND
Strategies for terminating a dispatch operator |
static byte |
SIMPLE_DISPATCH_BOUND
|
static byte |
UNSPECIFIED
|
| Constructor Summary | |
|---|---|
AnalysisOptions()
|
|
AnalysisOptions(AnalysisScope scope,
IRFactory factory,
java.lang.Iterable<Entrypoint> e)
Constructor AnalysisOptions. |
|
AnalysisOptions(AnalysisScope scope,
java.lang.Iterable<Entrypoint> e)
|
|
AnalysisOptions(IRFactory factory)
Constructor for AnalysisOptions. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final byte NO_DISPATCH_BOUND
public static final byte SIMPLE_DISPATCH_BOUND
public static final byte CHA_DISPATCH_BOUND
public static final byte UNSPECIFIED
| Constructor Detail |
|---|
public AnalysisOptions(IRFactory factory)
public AnalysisOptions()
public AnalysisOptions(AnalysisScope scope,
IRFactory factory,
java.lang.Iterable<Entrypoint> e)
scope - e -
public AnalysisOptions(AnalysisScope scope,
java.lang.Iterable<Entrypoint> e)
| Method Detail |
|---|
public AnalysisScope getAnalysisScope()
public void setAnalysisScope(AnalysisScope analysisScope)
analysisScope - The analysisScope to setpublic java.lang.Iterable<Entrypoint> getEntrypoints()
public ReflectionSpecification getReflectionSpec()
public void setReflectionSpec(ReflectionSpecification specification)
specification - An object which represents the user specification for reflectionpublic MethodTargetSelector getMethodTargetSelector()
public ClassTargetSelector getClassTargetSelector()
public void setSelector(MethodTargetSelector x)
x - an object which controls the policy for selecting the target at a
call sitepublic void setSelector(ClassTargetSelector x)
x - an object which controls the policy for selecting the allocated
object at a new sitepublic int getMinEquationsForTopSort()
public void setMinEquationsForTopSort(int i)
i - the mininum number of equations that the pointer analysis system
must contain before the solver will try to topologically sorepublic int getMaxEvalBetweenTopo()
public double getTopologicalGrowthFactor()
public void setMaxEvalBetweenTopo(int i)
i - the maximum number of evaluations that the pointer analysis solver
will perform before topologically resorting the systempublic void setTopologicalGrowthFactor(double d)
d - a fraction x s.t. the solver will resort the system when it grows
by a factor of xpublic byte getDispatchBoundHeuristic()
public void setDispatchBoundHeuristic(byte b)
b - one of NO_DISPATCH_BOUND, SIMPLE_DISPATCH_BOUND,
CHA_DISPATCH_BOUND, UNSPECIFIEDpublic boolean getSupportRefinement()
public void setSupportRefinement(boolean supportRefinement)
supportRefinement - whether the call graph builder should contruct a pointer-flow
graph as it solvespublic SSAOptions getSSAOptions()
public void setSSAOptions(SSAOptions ssaOptions)
ssaOptions - options governing SSA construction
public TypeReference getConstantType(java.lang.Object S)
throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentExceptionpublic boolean hasConstantType(java.lang.Object S)
public void setConstantType(java.lang.Class<? extends java.lang.Object> valueClass,
TypeReference constantType)
public boolean getUseConstantSpecificKeys()
public void setUseConstantSpecificKeys(boolean useConstantSpecificKeys)
public boolean getUseStacksForLexicalScoping()
public void setUseStacksForLexicalScoping(boolean v)
public boolean getUseLexicalScopingForGlobals()
public void setTraceStringConstants(boolean v)
public boolean getTraceStringConstants()
public void setUseLexicalScopingForGlobals(boolean v)
public boolean usePreTransitiveSolver()
public IRFactory getIRFactory()
public SSACache getSSACache()
public CFGCache getCFGCache()
public void invalidateCache(IMethod method,
Context C)
public void setUsePreTransitiveSolver(boolean b)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||