public class NullPointerAnalysis
extends soot.jimple.toolkits.annotation.nullcheck.BranchedRefVarsAnalysis
Red (cxh) |
Red (cxh) |
emptySet, fullSet, kBottom, kNonNull, kNull, kTop, refTypeInstFieldBases, refTypeInstFields, refTypeLocals, refTypeStaticFields, refTypeValues, tempFlowSet, unitToAnalyzedChecksSet, unitToArrayRefChecksSet, unitToGenerateSet, unitToInstanceFieldRefChecksSet, unitToInstanceInvokeExprChecksSet, unitToLengthExprChecksSet, unitToPreserveSet
Constructor and Description |
---|
NullPointerAnalysis(soot.toolkits.graph.UnitGraph g) |
Modifier and Type | Method and Description |
---|---|
boolean |
isAlwaysNullBefore(soot.Local local,
soot.Unit unit)
Return the set of other fields and locals that must reference
the same object as the given field, at a point before
the given unit.
|
boolean |
isNeverNullBefore(soot.Local local,
soot.Unit unit)
Return the set of other fields and locals that must reference
the same object as the given local, at a point before
the given unit.
|
anyRefInfo, copy, entryInitialFlow, flowThrough, getEquivalentValue, getKRefIntPair, isAlwaysNonNull, merge, newInitialFlow, refInfo, refInfo, treatTrapHandlersAsEntries
getBranchFlowAfter, getFallFlowAfter, getFlowBefore
public boolean isAlwaysNullBefore(soot.Local local, soot.Unit unit)
public boolean isNeverNullBefore(soot.Local local, soot.Unit unit)