public class ProgramState extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ProgramState.Pop |
Modifier and Type | Field and Description |
---|---|
static ProgramState |
EMPTY_STATE |
public static final ProgramState EMPTY_STATE
public ProgramState.Pop unstackValue(int nbElements)
public SymbolicValue peekValue()
public List<SymbolicValue> peekValues(int n)
public ProgramState addConstraint(SymbolicValue symbolicValue, Constraint constraint)
public ProgramState cleanupDeadSymbols(Set<Symbol> liveVariables)
public ProgramState cleanupConstraints()
public ProgramState resetFieldValues(ConstraintManager constraintManager)
public static boolean isField(Symbol symbol)
public boolean canReach(SymbolicValue symbolicValue)
public ProgramState visitedPoint(ExplodedGraph.ProgramPoint programPoint, int nbOfVisit)
@CheckForNull public Constraint getConstraint(SymbolicValue sv)
public int constraintsSize()
@CheckForNull public SymbolicValue getValue(Symbol symbol)
public Map<SymbolicValue,ObjectConstraint> getValuesWithConstraints(Object state)
public List<ObjectConstraint> getFieldConstraints(Object state)
public Set<SymbolicValue> getFieldValues()
public List<BinaryRelation> getKnownRelations()
@CheckForNull public ObjectConstraint getConstraintWithStatus(SymbolicValue value, Object aState)
Copyright © 2012–2016 SonarSource. All rights reserved.