Uses of Class
dev.civl.mc.semantics.IF.Evaluation
Packages that use Evaluation
-
Uses of Evaluation in dev.civl.mc.semantics.IF
Methods in dev.civl.mc.semantics.IF that return EvaluationModifier and TypeMethodDescriptionEvaluator.dereference(CIVLSource source, State state, int pid, String process, dev.civl.sarl.IF.expr.SymbolicExpression pointer, boolean checkedOutput, boolean strict) Given a pointer value, dereferences it in the given state to yield the symbolic expression value stored at the referenced location.Evaluator.evaluate(State state, int pid, Expression expression) Evaluator.evaluate(State state, int pid, Expression expression, boolean checkUndefinedValue) Evaluates the expression and returns the result, which is a symbolic expression value.Evaluator.evaluateCastWorker(State state, int pid, String process, CIVLType castType, Expression arg) LibraryEvaluator.evaluateGuard(CIVLSource source, State state, int pid, String function, Expression[] arguments) Evaluates the guard of a system function.Evaluator.evaluatePointerAdd(State state, int pid, BinaryExpression expression, dev.civl.sarl.IF.expr.SymbolicExpression pointer, dev.civl.sarl.IF.expr.SymbolicExpression offset) Evaluates pointer addition.Evaluator.evaluateSizeofType(CIVLSource source, State state, int pid, CIVLType type) Evaluate the size of a CIVL type.LibraryExecutor.execute(State state, int pid, CallOrSpawnStatement statement, String functionName) Executes the given call statement for a certain process at the given state.Executor.execute_printf(CIVLSource source, State state, int pid, String process, Expression[] arguments, dev.civl.sarl.IF.expr.SymbolicExpression[] argumentValues, boolean forcePrint) Evaluator.getStringExpression(State state, int pid, String process, CIVLSource source, dev.civl.sarl.IF.expr.SymbolicExpression charPointer) Given a pointer to char, returns the symbolic expression of type array of char which is the string pointed to.returns an arbitrary symbolic constant with the given type.Evaluator.initialValueOfType(State state, int pid, CIVLType type) Given aCIVLTypet, returns the default initial value of an object of t as if the object has static storage.Executor.malloc(CIVLSource source, State state, int pid, String process, Expression scopeExpression, dev.civl.sarl.IF.expr.SymbolicExpression scopeValue, CIVLType objectType, dev.civl.sarl.IF.expr.SymbolicExpression objectValue) Adds a new object to the heap of a certain scope; returns the pointer of the object in the heap.Evaluator.pointerSubtraction(State state, int pid, String process, BinaryExpression expression, dev.civl.sarl.IF.expr.SymbolicExpression leftPtr, dev.civl.sarl.IF.expr.SymbolicExpression rightPtr) Evaluation pointer subtraction.Evaluator.reference(State state, int pid, LHSExpression operand) Creates a pointer value by evaluating a left-hand-side expression in the given state.Methods in dev.civl.mc.semantics.IF that return types with arguments of type EvaluationModifier and TypeMethodDescriptionPair<Evaluation, dev.civl.sarl.IF.expr.NumericExpression[]> Evaluator.arrayElementReferenceAdd(State state, int pid, dev.civl.sarl.IF.expr.SymbolicExpression ptr, dev.civl.sarl.IF.expr.NumericExpression offset, CIVLSource source) Do a pointer addition operation on the given pointer with the given offset.