Uses of Class
soot.EquivalentValue
-
Packages that use EquivalentValue Package Description soot.jimple.toolkits.annotation.nullcheck Classes that carry out an analysis to determine whether or not null pointer checks are necessary.soot.jimple.toolkits.infoflow soot.jimple.toolkits.scalar A toolkit for scalar optimization of Jimple.soot.jimple.toolkits.scalar.pre Particial redundency elimination.soot.jimple.toolkits.thread.synchronization -
-
Uses of EquivalentValue in soot.jimple.toolkits.annotation.nullcheck
Fields in soot.jimple.toolkits.annotation.nullcheck with type parameters of type EquivalentValue Modifier and Type Field Description protected List<EquivalentValue>BranchedRefVarsAnalysis. refTypeInstFieldBasesDeprecated.protected List<EquivalentValue>BranchedRefVarsAnalysis. refTypeInstFieldsDeprecated.protected List<EquivalentValue>BranchedRefVarsAnalysis. refTypeLocalsDeprecated.protected List<EquivalentValue>BranchedRefVarsAnalysis. refTypeStaticFieldsDeprecated.protected List<EquivalentValue>BranchedRefVarsAnalysis. refTypeValuesDeprecated.Methods in soot.jimple.toolkits.annotation.nullcheck that return EquivalentValue Modifier and Type Method Description EquivalentValueBranchedRefVarsAnalysis. getEquivalentValue(Value v)Deprecated.EquivalentValueRefIntPair. ref()Deprecated.Methods in soot.jimple.toolkits.annotation.nullcheck with parameters of type EquivalentValue Modifier and Type Method Description RefIntPairBranchedRefVarsAnalysis. getKRefIntPair(EquivalentValue r, int v)Deprecated.protected intBranchedRefVarsAnalysis. refInfo(EquivalentValue r, FlowSet<RefIntPair> fs)Deprecated. -
Uses of EquivalentValue in soot.jimple.toolkits.infoflow
Subclasses of EquivalentValue in soot.jimple.toolkits.infoflow Modifier and Type Class Description classCachedEquivalentValueAnEquivalentValuewith cached hash code and equals-relation.Methods in soot.jimple.toolkits.infoflow that return EquivalentValue Modifier and Type Method Description static EquivalentValueInfoFlowAnalysis. getNodeForFieldRef(SootMethod sm, SootField sf)Returns an unmodifiable list of EquivalentValue wrapped Refs that sink flows from when method sm is called.static EquivalentValueInfoFlowAnalysis. getNodeForFieldRef(SootMethod sm, SootField sf, Local realLocal)static EquivalentValueInfoFlowAnalysis. getNodeForParameterRef(SootMethod sm, int i)static EquivalentValueInfoFlowAnalysis. getNodeForReturnRef(SootMethod sm)static EquivalentValueInfoFlowAnalysis. getNodeForThisRef(SootMethod sm)Methods in soot.jimple.toolkits.infoflow with parameters of type EquivalentValue Modifier and Type Method Description booleanCallLocalityContext. containsField(EquivalentValue fieldRef)booleanCallLocalityContext. isFieldLocal(EquivalentValue fieldRef)protected booleanClassLocalObjectsAnalysis. isFieldLocal(EquivalentValue fieldRef)booleanClassLocalObjectsAnalysis. parameterIsLocal(SootMethod method, EquivalentValue parameterRef)protected booleanClassLocalObjectsAnalysis. parameterIsLocal(SootMethod method, EquivalentValue parameterRef, boolean includePrimitiveDataFlowIfAvailable)voidCallLocalityContext. setFieldLocal(EquivalentValue fieldRef)voidCallLocalityContext. setFieldShared(EquivalentValue fieldRef)List<EquivalentValue>SmartMethodInfoFlowAnalysis. sinksOf(EquivalentValue node)List<EquivalentValue>SmartMethodInfoFlowAnalysis. sourcesOf(EquivalentValue node)protected booleanClassLocalObjectsAnalysis. thisIsLocal(SootMethod method, EquivalentValue thisRef)Constructor parameters in soot.jimple.toolkits.infoflow with type arguments of type EquivalentValue Constructor Description CallLocalityContext(List<EquivalentValue> nodes) -
Uses of EquivalentValue in soot.jimple.toolkits.scalar
Fields in soot.jimple.toolkits.scalar with type parameters of type EquivalentValue Modifier and Type Field Description protected Map<Unit,Chain<EquivalentValue>>FastAvailableExpressions. unitToEquivsAfterprotected Map<Unit,Chain<EquivalentValue>>SlowAvailableExpressions. unitToEquivsAfterprotected Map<Unit,Chain<EquivalentValue>>FastAvailableExpressions. unitToEquivsBeforeprotected Map<Unit,Chain<EquivalentValue>>SlowAvailableExpressions. unitToEquivsBeforeMethods in soot.jimple.toolkits.scalar that return types with arguments of type EquivalentValue Modifier and Type Method Description Chain<EquivalentValue>AvailableExpressions. getAvailableEquivsAfter(Unit u)Returns a Chain containing the EquivalentValue objects corresponding to expressions available after u.Chain<EquivalentValue>FastAvailableExpressions. getAvailableEquivsAfter(Unit u)Returns a List containing the UnitValueBox pairs corresponding to expressions available after u.Chain<EquivalentValue>SlowAvailableExpressions. getAvailableEquivsAfter(Unit u)Returns a Chain containing the EquivalentValue objects corresponding to expressions available after u.Chain<EquivalentValue>AvailableExpressions. getAvailableEquivsBefore(Unit u)Returns a Chain containing the EquivalentValue objects corresponding to expressions available before u.Chain<EquivalentValue>FastAvailableExpressions. getAvailableEquivsBefore(Unit u)Returns a Chain containing the EquivalentValue objects corresponding to expressions available before u.Chain<EquivalentValue>SlowAvailableExpressions. getAvailableEquivsBefore(Unit u)Returns a Chain containing the EquivalentValue objects corresponding to expressions available before u. -
Uses of EquivalentValue in soot.jimple.toolkits.scalar.pre
Methods in soot.jimple.toolkits.scalar.pre that return EquivalentValue Modifier and Type Method Description static EquivalentValueSootFilter. equiVal(Value val)wraps a value into a EquivalentValue.Methods in soot.jimple.toolkits.scalar.pre that return types with arguments of type EquivalentValue Modifier and Type Method Description protected FlowSet<EquivalentValue>DelayabilityAnalysis. entryInitialFlow()protected FlowSet<EquivalentValue>DownSafetyAnalysis. entryInitialFlow()protected FlowSet<EquivalentValue>NotIsolatedAnalysis. entryInitialFlow()protected FlowSet<EquivalentValue>UpSafetyAnalysis. entryInitialFlow()FlowSet<EquivalentValue>EarliestnessComputation. getFlowBefore(Object node)returns the FlowSet of expressions, that have their earliest computation just beforenode.FlowSet<EquivalentValue>LatestComputation. getFlowBefore(Object node)returns the set of expressions, that have their latest computation just beforenode.protected FlowSet<EquivalentValue>DelayabilityAnalysis. newInitialFlow()protected FlowSet<EquivalentValue>DownSafetyAnalysis. newInitialFlow()protected FlowSet<EquivalentValue>NotIsolatedAnalysis. newInitialFlow()protected FlowSet<EquivalentValue>UpSafetyAnalysis. newInitialFlow()Method parameters in soot.jimple.toolkits.scalar.pre with type arguments of type EquivalentValue Modifier and Type Method Description protected voidDelayabilityAnalysis. copy(FlowSet<EquivalentValue> sourceSet, FlowSet<EquivalentValue> destSet)protected voidDownSafetyAnalysis. copy(FlowSet<EquivalentValue> source, FlowSet<EquivalentValue> dest)protected voidNotIsolatedAnalysis. copy(FlowSet<EquivalentValue> sourceSet, FlowSet<EquivalentValue> destSet)protected voidUpSafetyAnalysis. copy(FlowSet<EquivalentValue> sourceSet, FlowSet<EquivalentValue> destSet)protected voidDelayabilityAnalysis. flowThrough(FlowSet<EquivalentValue> in, Unit u, FlowSet<EquivalentValue> out)protected voidDownSafetyAnalysis. flowThrough(FlowSet<EquivalentValue> in, Unit u, FlowSet<EquivalentValue> out)protected voidNotIsolatedAnalysis. flowThrough(FlowSet<EquivalentValue> in, Unit unit, FlowSet<EquivalentValue> out)protected voidUpSafetyAnalysis. flowThrough(FlowSet<EquivalentValue> in, Unit u, FlowSet<EquivalentValue> out)protected voidDelayabilityAnalysis. merge(FlowSet<EquivalentValue> inSet1, FlowSet<EquivalentValue> inSet2, FlowSet<EquivalentValue> outSet)protected voidDownSafetyAnalysis. merge(FlowSet<EquivalentValue> in1, FlowSet<EquivalentValue> in2, FlowSet<EquivalentValue> out)protected voidNotIsolatedAnalysis. merge(FlowSet<EquivalentValue> inSet1, FlowSet<EquivalentValue> inSet2, FlowSet<EquivalentValue> outSet)protected voidUpSafetyAnalysis. merge(FlowSet<EquivalentValue> inSet1, FlowSet<EquivalentValue> inSet2, FlowSet<EquivalentValue> outSet)Constructor parameters in soot.jimple.toolkits.scalar.pre with type arguments of type EquivalentValue Constructor Description DelayabilityAnalysis(DirectedGraph<Unit> dg, EarliestnessComputation earliest, Map<Unit,EquivalentValue> equivRhsMap)Automatically performs the Delayability-analysis on the graphdgand the Earliest-computationearliest.
theequivRhsMapis only here to avoid doing these things again...DelayabilityAnalysis(DirectedGraph<Unit> dg, EarliestnessComputation earliest, Map<Unit,EquivalentValue> equivRhsMap, BoundedFlowSet<EquivalentValue> set)Automatically performs the Delayability-analysis on the graphdgand the Earliest-computationearliest.
theequivRhsMapis only here to avoid doing these things again...
as set-operations are usually more efficient, if the sets come from one source, sets should be shared around analyses, if the analyses are to be combined.DelayabilityAnalysis(DirectedGraph<Unit> dg, EarliestnessComputation earliest, Map<Unit,EquivalentValue> equivRhsMap, BoundedFlowSet<EquivalentValue> set)Automatically performs the Delayability-analysis on the graphdgand the Earliest-computationearliest.
theequivRhsMapis only here to avoid doing these things again...
as set-operations are usually more efficient, if the sets come from one source, sets should be shared around analyses, if the analyses are to be combined.DownSafetyAnalysis(DirectedGraph<Unit> dg, Map<Unit,EquivalentValue> unitToGen, SideEffectTester sideEffect)This constructor automatically performs the DownSafety-analysis.
the result of the analysis is as usual in FlowBefore (getFlowBefore()) and FlowAfter (getFlowAfter()).DownSafetyAnalysis(DirectedGraph<Unit> dg, Map<Unit,EquivalentValue> unitToGen, SideEffectTester sideEffect, BoundedFlowSet<EquivalentValue> set)This constructor automatically performs the DownSafety-analysis.
the result of the analysis is as usual in FlowBefore (getFlowBefore()) and FlowAfter (getFlowAfter()).
as sets-operations are usually more efficient, if the original set comes from the same source, this allows to share sets.DownSafetyAnalysis(DirectedGraph<Unit> dg, Map<Unit,EquivalentValue> unitToGen, SideEffectTester sideEffect, BoundedFlowSet<EquivalentValue> set)This constructor automatically performs the DownSafety-analysis.
the result of the analysis is as usual in FlowBefore (getFlowBefore()) and FlowAfter (getFlowAfter()).
as sets-operations are usually more efficient, if the original set comes from the same source, this allows to share sets.EarliestnessComputation(UnitGraph unitGraph, UpSafetyAnalysis upSafe, DownSafetyAnalysis downSafe, SideEffectTester sideEffect, FlowSet<EquivalentValue> set)given an UpSafetyAnalysis and a DownSafetyAnalysis, performs the earliest-computation.
allows to share sets over multiple analyses (set-operations are usually more efficient, if the sets come from the same source).LatestComputation(UnitGraph unitGraph, DelayabilityAnalysis delayed, Map<Unit,EquivalentValue> equivRhsMap)given a DelayabilityAnalysis and the computations of each unit, calculates the latest computation-point for each expression.LatestComputation(UnitGraph unitGraph, DelayabilityAnalysis delayed, Map<Unit,EquivalentValue> equivRhsMap, BoundedFlowSet<EquivalentValue> set)given a DelayabilityAnalysis and the computations of each unit, calculates the latest computation-point for each expression.
theequivRhsMapcould be calculated on the fly, but it is very likely that it already exists (as similar maps are used for calculating Earliestness, Delayed,...
the shared set allows more efficient set-operations, when they the computation is merged with other analyses/computations.LatestComputation(UnitGraph unitGraph, DelayabilityAnalysis delayed, Map<Unit,EquivalentValue> equivRhsMap, BoundedFlowSet<EquivalentValue> set)given a DelayabilityAnalysis and the computations of each unit, calculates the latest computation-point for each expression.
theequivRhsMapcould be calculated on the fly, but it is very likely that it already exists (as similar maps are used for calculating Earliestness, Delayed,...
the shared set allows more efficient set-operations, when they the computation is merged with other analyses/computations.NotIsolatedAnalysis(DirectedGraph<Unit> dg, LatestComputation latest, Map<Unit,EquivalentValue> equivRhsMap)Automatically performs the Isolation-analysis on the graphdgusing the Latest-computationlatest.
theequivRhsMapis only here to avoid doing these things again...NotIsolatedAnalysis(DirectedGraph<Unit> dg, LatestComputation latest, Map<Unit,EquivalentValue> equivRhsMap, BoundedFlowSet<EquivalentValue> set)Automatically performs the Isolation-analysis on the graphdgusing the Latest-computationlatest.
theequivRhsMapis only here to avoid doing these things again...
the shared set allows more efficient set-operations, when this analysis is joined with other analyses/computations.NotIsolatedAnalysis(DirectedGraph<Unit> dg, LatestComputation latest, Map<Unit,EquivalentValue> equivRhsMap, BoundedFlowSet<EquivalentValue> set)Automatically performs the Isolation-analysis on the graphdgusing the Latest-computationlatest.
theequivRhsMapis only here to avoid doing these things again...
the shared set allows more efficient set-operations, when this analysis is joined with other analyses/computations.UpSafetyAnalysis(DirectedGraph<Unit> dg, Map<Unit,EquivalentValue> unitToGen, SideEffectTester sideEffect)This constructor automatically performs the UpSafety-analysis.
the result of the analysis is as usual in FlowBefore (getFlowBefore()) and FlowAfter (getFlowAfter()).UpSafetyAnalysis(DirectedGraph<Unit> dg, Map<Unit,EquivalentValue> unitToGen, SideEffectTester sideEffect, BoundedFlowSet<EquivalentValue> set)This constructor automatically performs the UpSafety-analysis.
the result of the analysis is as usual in FlowBefore (getFlowBefore()) and FlowAfter (getFlowAfter()).
As usually flowset-operations are more efficient if shared, this allows to share sets over several analyses.UpSafetyAnalysis(DirectedGraph<Unit> dg, Map<Unit,EquivalentValue> unitToGen, SideEffectTester sideEffect, BoundedFlowSet<EquivalentValue> set)This constructor automatically performs the UpSafety-analysis.
the result of the analysis is as usual in FlowBefore (getFlowBefore()) and FlowAfter (getFlowAfter()).
As usually flowset-operations are more efficient if shared, this allows to share sets over several analyses. -
Uses of EquivalentValue in soot.jimple.toolkits.thread.synchronization
Methods in soot.jimple.toolkits.thread.synchronization that return EquivalentValue Modifier and Type Method Description EquivalentValueLockableReferenceAnalysis. baseFor(Ref ref)EquivalentValueLockableReferenceAnalysis. indexFor(Ref ref)Methods in soot.jimple.toolkits.thread.synchronization that return types with arguments of type EquivalentValue Modifier and Type Method Description List<EquivalentValue>LockableReferenceAnalysis. getLocksetOf(CriticalSectionAwareSideEffectAnalysis tasea, RWSet contributingRWSet, soot.jimple.toolkits.thread.synchronization.CriticalSection tn)Methods in soot.jimple.toolkits.thread.synchronization with parameters of type EquivalentValue Modifier and Type Method Description static ValueLockAllocationBodyTransformer. getLockFor(EquivalentValue lockEqVal)Method parameters in soot.jimple.toolkits.thread.synchronization with type arguments of type EquivalentValue Modifier and Type Method Description static StringLockAllocator. locksetToLockNumString(List<EquivalentValue> lockset, Map<Value,Integer> lockToLockNum)
-