Class LocalMustNotAliasAnalysis


  • public class LocalMustNotAliasAnalysis
    extends ForwardFlowAnalysis<Unit,​HashMap<Local,​Set<NewExpr>>>
    LocalNotMayAliasAnalysis attempts to determine if two local variables (at two potentially different program points) definitely point to different objects. The underlying abstraction is that of definition expressions. When a local variable gets assigned a new object (unlike LocalMust, only NewExprs), the analysis tracks the source of the value. If two variables have different sources, then they are different. See Sable TR 2007-8 for details.
    Author:
    Patrick Lam