public class FieldSSAVisitor extends FixedPointAstMapVisitor
Modifier and Type | Field and Description |
---|---|
private DynamicRegion |
dynRegion |
(package private) static int |
FIELD_SUBSCRIPT_BASE |
private static int |
fieldExceptionNumber |
private GlobalSubscriptMap |
gsm |
FieldSubscriptMap |
psm |
private gov.nasa.jpf.vm.ThreadInfo |
ti |
firstException, instantiatedRegion, somethingChanged
eva, exprVisitor
Constructor and Description |
---|
FieldSSAVisitor(gov.nasa.jpf.vm.ThreadInfo ti,
DynamicRegion dynRegion) |
Modifier and Type | Method and Description |
---|---|
Stmt |
bad(java.lang.Object obj) |
private Stmt |
createGammaStmt(za.ac.sun.cs.green.expr.Expression condition,
FieldRef fieldRef,
SubscriptPair thenSubscript,
SubscriptPair elseSubscript) |
private SubscriptPair |
createSubscript(FieldRef fieldRef) |
DynamicRegion |
execute() |
static Stmt |
getThrowInstruction() |
private Stmt |
mergePSM(za.ac.sun.cs.green.expr.Expression condition,
FieldSubscriptMap thenMap,
FieldSubscriptMap elseMap) |
static int |
nextFieldExceptionNumber() |
private void |
populateException(java.lang.IllegalArgumentException e) |
private SubstituteGetOutput |
substituteGet(GetInstruction getIns,
FieldRef fieldRef) |
Stmt |
visit(GetInstruction c) |
Stmt |
visit(IfThenElseStmt stmt) |
Stmt |
visit(PutInstruction putIns) |
Stmt |
visit(ReturnInstruction ret) |
getChange, getFirstException
visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit
private static int fieldExceptionNumber
private DynamicRegion dynRegion
public FieldSubscriptMap psm
private gov.nasa.jpf.vm.ThreadInfo ti
static final int FIELD_SUBSCRIPT_BASE
private GlobalSubscriptMap gsm
public FieldSSAVisitor(gov.nasa.jpf.vm.ThreadInfo ti, DynamicRegion dynRegion)
private void populateException(java.lang.IllegalArgumentException e)
public Stmt bad(java.lang.Object obj)
public Stmt visit(ReturnInstruction ret)
visit
in interface AstVisitor<Stmt>
visit
in class AstMapVisitor
public Stmt visit(PutInstruction putIns)
visit
in interface AstVisitor<Stmt>
visit
in class AstMapVisitor
public static Stmt getThrowInstruction()
public static int nextFieldExceptionNumber()
private SubscriptPair createSubscript(FieldRef fieldRef)
public Stmt visit(IfThenElseStmt stmt)
visit
in interface AstVisitor<Stmt>
visit
in class AstMapVisitor
private Stmt mergePSM(za.ac.sun.cs.green.expr.Expression condition, FieldSubscriptMap thenMap, FieldSubscriptMap elseMap)
private Stmt createGammaStmt(za.ac.sun.cs.green.expr.Expression condition, FieldRef fieldRef, SubscriptPair thenSubscript, SubscriptPair elseSubscript)
public Stmt visit(GetInstruction c)
visit
in interface AstVisitor<Stmt>
visit
in class AstMapVisitor
private SubstituteGetOutput substituteGet(GetInstruction getIns, FieldRef fieldRef) throws StaticRegionException
StaticRegionException
public DynamicRegion execute()
execute
in class FixedPointAstMapVisitor