Class UnknownContext
java.lang.Object
soot.jimple.infoflow.collections.context.UnknownContext
- All Implemented Interfaces:
ContainerContext
Representing an unknown context (e.g. non-constant key) using a singleton
- Author:
- Tim Lange
-
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns whether the context definitionbooleanentails(ContainerContext other) Returns whether this entails other.booleanGets whether the given context is imprecise, for example, because the context is built conditionally through multiple paths or the value itself contains some approximation.toString()static UnknownContextv()
-
Method Details
-
v
-
toString
-
containsInformation
public boolean containsInformation()Description copied from interface:ContainerContextReturns whether the context definition- Specified by:
containsInformationin interfaceContainerContext- Returns:
- true if it still restricts
-
isImprecise
public boolean isImprecise()Description copied from interface:ContainerContextGets whether the given context is imprecise, for example, because the context is built conditionally through multiple paths or the value itself contains some approximation. Users of this context should respect this flag and refrain from performing strong updates.- Specified by:
isImprecisein interfaceContainerContext- Returns:
- true if the context is imprecise
-
entails
Description copied from interface:ContainerContextReturns whether this entails other.- Specified by:
entailsin interfaceContainerContext- Parameters:
other- other context definition- Returns:
- true if this entails other
-