Class ByteValue
java.lang.Object
de.uzl.its.swat.symbolic.value.Value<T,K>
 
de.uzl.its.swat.symbolic.value.primitive.numeric.NumericalValue<org.sosy_lab.java_smt.api.NumeralFormula.IntegerFormula,Byte>
 
de.uzl.its.swat.symbolic.value.primitive.numeric.integral.ByteValue
public class ByteValue
extends NumericalValue<org.sosy_lab.java_smt.api.NumeralFormula.IntegerFormula,Byte> 
Wrapper to represent byte values on the symbolic stack. Can contain concrete and symbolic
 information.
- 
Field SummaryFields inherited from class de.uzl.its.swat.symbolic.value.primitive.numeric.NumericalValueimgr
- 
Constructor SummaryConstructorsConstructorDescriptionByteValue(org.sosy_lab.java_smt.api.SolverContext context, byte concrete) Creates a new ByteValue that has no prior symbolic information and only contains a specific valueByteValue(org.sosy_lab.java_smt.api.SolverContext context, byte concrete, org.sosy_lab.java_smt.api.NumeralFormula.IntegerFormula formula) Creates a new ByteValue that has prior symbolic information and contains a specific value
- 
Method SummaryModifier and TypeMethodDescriptionNumericalValue<org.sosy_lab.java_smt.api.NumeralFormula.IntegerFormula,Byte> org.sosy_lab.java_smt.api.BooleanFormulagetBounds(boolean upper) Creates a formula that asserts that this symbolic value is withing the bounds of this typeTurns this ByteValue into a symbolic variableMAKE_SYMBOLIC(long idx) Turns this IntValue into a symbolic variableMAKE_SYMBOLIC(String namePrefix) Turns this ByteValue into a symbolic variabletoString()Returns the string representation of the value used to visualize the stack.Methods inherited from class de.uzl.its.swat.symbolic.value.primitive.numeric.NumericalValuegenericToString, wrapByte, wrapCharacter, wrapInteger, wrapLong, wrapShortMethods inherited from class de.uzl.its.swat.symbolic.value.ValueasBooleanValue, asCharValue, asDoubleValue, asFloatValue, asLongValue, asObjectValue, asShortValue, asStringValue, getConcrete, getName, getType, initSymbolic, initSymbolic, reset
- 
Constructor Details- 
ByteValuepublic ByteValue(org.sosy_lab.java_smt.api.SolverContext context, byte concrete) Creates a new ByteValue that has no prior symbolic information and only contains a specific value- Parameters:
- context- The SolverContext
- concrete- The concrete byte value
 
- 
ByteValuepublic ByteValue(org.sosy_lab.java_smt.api.SolverContext context, byte concrete, org.sosy_lab.java_smt.api.NumeralFormula.IntegerFormula formula) Creates a new ByteValue that has prior symbolic information and contains a specific value- Parameters:
- context- The SolverContext
- concrete- The concrete byte value
- formula- The symbolic formula representing prior symbolic information about this byte
 
 
- 
- 
Method Details- 
getBoundspublic org.sosy_lab.java_smt.api.BooleanFormula getBounds(boolean upper) Creates a formula that asserts that this symbolic value is withing the bounds of this type
- 
MAKE_SYMBOLICTurns this ByteValue into a symbolic variable- Overrides:
- MAKE_SYMBOLICin class- Value<org.sosy_lab.java_smt.api.NumeralFormula.IntegerFormula,- Byte> 
- Parameters:
- namePrefix-
- Returns:
- The numerical identifier of this symbolic variable
 
- 
MAKE_SYMBOLICTurns this IntValue into a symbolic variable- Overrides:
- MAKE_SYMBOLICin class- Value<org.sosy_lab.java_smt.api.NumeralFormula.IntegerFormula,- Byte> 
- Parameters:
- idx-
- Returns:
- The numerical identifier of this symbolic variable
 
- 
MAKE_SYMBOLICTurns this ByteValue into a symbolic variable- Overrides:
- MAKE_SYMBOLICin class- Value<org.sosy_lab.java_smt.api.NumeralFormula.IntegerFormula,- Byte> 
- Returns:
- The numerical identifier of this symbolic variable
 
- 
asNumericalValuepublic NumericalValue<org.sosy_lab.java_smt.api.NumeralFormula.IntegerFormula,Byte> asNumericalValue()- Overrides:
- asNumericalValuein class- Value<org.sosy_lab.java_smt.api.NumeralFormula.IntegerFormula,- Byte> 
 
- 
asIntValue- Overrides:
- asIntValuein class- Value<org.sosy_lab.java_smt.api.NumeralFormula.IntegerFormula,- Byte> 
 
- 
asByteValue- Overrides:
- asByteValuein class- Value<org.sosy_lab.java_smt.api.NumeralFormula.IntegerFormula,- Byte> 
 
- 
getConcreteEncoded- Overrides:
- getConcreteEncodedin class- Value<org.sosy_lab.java_smt.api.NumeralFormula.IntegerFormula,- Byte> 
 
- 
toStringReturns the string representation of the value used to visualize the stack. The representation is not complete.
 
-