klee::AssignmentEvaluator Class Reference

#include <Assignment.h>

Inheritance diagram for klee::AssignmentEvaluator:
Collaboration diagram for klee::AssignmentEvaluator:

Public Member Functions

 AssignmentEvaluator (const Assignment &_a)
- Public Member Functions inherited from klee::ExprEvaluator
 ExprEvaluator ()
virtual ref< ExprgetInitialValue (const Array &os, unsigned index)=0
- Public Member Functions inherited from klee::ExprVisitor
ref< Exprvisit (const ref< Expr > &e)

Protected Member Functions

ref< ExprgetInitialValue (const Array &mo, unsigned index)
- Protected Member Functions inherited from klee::ExprEvaluator
Action evalRead (const UpdateList &ul, unsigned index)
Action visitRead (const ReadExpr &re)
Action visitExpr (const Expr &e)
Action protectedDivOperation (const BinaryExpr &e)
Action visitUDiv (const UDivExpr &e)
Action visitSDiv (const SDivExpr &e)
Action visitURem (const URemExpr &e)
Action visitSRem (const SRemExpr &e)
Action visitExprPost (const Expr &e)
- Protected Member Functions inherited from klee::ExprVisitor
 ExprVisitor (bool _recursive=false)
virtual ~ExprVisitor ()
virtual Action visitExpr (const Expr &)
virtual Action visitExprPost (const Expr &)
virtual Action visitNotOptimized (const NotOptimizedExpr &)
virtual Action visitRead (const ReadExpr &)
virtual Action visitSelect (const SelectExpr &)
virtual Action visitConcat (const ConcatExpr &)
virtual Action visitExtract (const ExtractExpr &)
virtual Action visitZExt (const ZExtExpr &)
virtual Action visitSExt (const SExtExpr &)
virtual Action visitAdd (const AddExpr &)
virtual Action visitSub (const SubExpr &)
virtual Action visitMul (const MulExpr &)
virtual Action visitUDiv (const UDivExpr &)
virtual Action visitSDiv (const SDivExpr &)
virtual Action visitURem (const URemExpr &)
virtual Action visitSRem (const SRemExpr &)
virtual Action visitNot (const NotExpr &)
virtual Action visitAnd (const AndExpr &)
virtual Action visitOr (const OrExpr &)
virtual Action visitXor (const XorExpr &)
virtual Action visitShl (const ShlExpr &)
virtual Action visitLShr (const LShrExpr &)
virtual Action visitAShr (const AShrExpr &)
virtual Action visitEq (const EqExpr &)
virtual Action visitNe (const NeExpr &)
virtual Action visitUlt (const UltExpr &)
virtual Action visitUle (const UleExpr &)
virtual Action visitUgt (const UgtExpr &)
virtual Action visitUge (const UgeExpr &)
virtual Action visitSlt (const SltExpr &)
virtual Action visitSle (const SleExpr &)
virtual Action visitSgt (const SgtExpr &)
virtual Action visitSge (const SgeExpr &)

Private Attributes

const Assignmenta

Detailed Description

Definition at line 55 of file Assignment.h.

Constructor & Destructor Documentation

◆ AssignmentEvaluator()

klee::AssignmentEvaluator::AssignmentEvaluator ( const Assignment _a)

Definition at line 64 of file Assignment.h.

Member Function Documentation

◆ getInitialValue()

ref< Expr > klee::AssignmentEvaluator::getInitialValue ( const Array os,
unsigned  index 

getInitialValue - Return the initial value for a symbolic byte.

This will only be called for constant arrays if the index is out-of-bounds. If the value is unknown then the user should return a ReadExpr at the initial version of this array.

Implements klee::ExprEvaluator.

Definition at line 59 of file Assignment.h.

References a, and klee::Assignment::evaluate().

Here is the call graph for this function:

Member Data Documentation

◆ a

const Assignment& klee::AssignmentEvaluator::a

Definition at line 56 of file Assignment.h.

Referenced by getInitialValue().

The documentation for this class was generated from the following file: