Class UnknownContext

java.lang.Object
soot.jimple.infoflow.collections.context.UnknownContext
All Implemented Interfaces:
ContainerContext

public class UnknownContext extends Object implements ContainerContext
Representing an unknown context (e.g. non-constant key) using a singleton
Author:
Tim Lange
  • Method Details

    • v

      public static UnknownContext v()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • containsInformation

      public boolean containsInformation()
      Description copied from interface: ContainerContext
      Returns whether the context definition
      Specified by:
      containsInformation in interface ContainerContext
      Returns:
      true if it still restricts
    • isImprecise

      public boolean isImprecise()
      Description copied from interface: ContainerContext
      Gets 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:
      isImprecise in interface ContainerContext
      Returns:
      true if the context is imprecise
    • entails

      public boolean entails(ContainerContext other)
      Description copied from interface: ContainerContext
      Returns whether this entails other.
      Specified by:
      entails in interface ContainerContext
      Parameters:
      other - other context definition
      Returns:
      true if this entails other