klee
|
Class representing a complete list of updates into an array. More...
#include <Expr.h>
Public Member Functions | |
UpdateList (const Array *_root, const ref< UpdateNode > &_head) | |
UpdateList (const UpdateList &b)=default | |
~UpdateList ()=default | |
UpdateList & | operator= (const UpdateList &b)=default |
unsigned | getSize () const |
size of this update list More... | |
void | extend (const ref< Expr > &index, const ref< Expr > &value) |
int | compare (const UpdateList &b) const |
unsigned | hash () const |
Public Attributes | |
const Array * | root |
ref< UpdateNode > | head |
pointer to the most recent update node More... | |
Friends | |
class | ReadExpr |
UpdateList::UpdateList | ( | const Array * | _root, |
const ref< UpdateNode > & | _head | ||
) |
Definition at line 48 of file Updates.cpp.
|
default |
|
default |
int UpdateList::compare | ( | const UpdateList & | b | ) | const |
Definition at line 61 of file Updates.cpp.
References getSize(), head, klee::Array::name, and root.
Referenced by klee::ReadExpr::compareContents().
Definition at line 51 of file Updates.cpp.
References klee::Array::getDomain(), klee::Array::getRange(), klee::Expr::getWidth(), head, and root.
Referenced by klee::ObjectState::flushRangeForRead(), klee::ObjectState::flushRangeForWrite(), klee::ObjectState::getUpdates(), and klee::ObjectState::write8().
|
inline |
size of this update list
Definition at line 556 of file Expr.h.
References head.
Referenced by compare(), and TryConstArrayOpt().
unsigned UpdateList::hash | ( | ) | const |
Definition at line 87 of file Updates.cpp.
References head, klee::Expr::MAGIC_HASH_CONSTANT, klee::Array::name, and root.
Referenced by klee::ReadExpr::computeHash().
|
default |
ref<UpdateNode> klee::UpdateList::head |
pointer to the most recent update node
Definition at line 546 of file Expr.h.
Referenced by compare(), klee::ReadExpr::create(), klee::ExprRangeEvaluator< T >::evalRead(), klee::ExprEvaluator::evalRead(), extend(), getSize(), klee::ObjectState::getUpdates(), hash(), IndependentElementSet::IndependentElementSet(), klee::ArrayReadExprVisitor::inspectRead(), klee::ObjectState::makeSymbolic(), klee::ObjectState::print(), PPrinter::printUpdateList(), CexData::propogateExactValues(), klee::ConstantArrayExprVisitor::visitConcat(), klee::ConstantArrayExprVisitor::visitRead(), klee::IndexCompatibilityExprVisitor::visitRead(), klee::ConstantArrayFinder::visitRead(), and klee::SymbolicObjectFinder::visitRead().
const Array* klee::UpdateList::root |
Definition at line 543 of file Expr.h.
Referenced by klee::ImpliedValue::checkForImpliedValues(), compare(), klee::ReadExpr::create(), klee::ExprRangeEvaluator< T >::evalRead(), klee::ExprEvaluator::evalRead(), klee::ExprRangeEvaluator< T >::evaluate(), extend(), klee::ObjectState::getUpdates(), klee::ReadExpr::getWidth(), hash(), klee::AssignmentGenerator::helperGenerateAssignment(), IndependentElementSet::IndependentElementSet(), klee::ArrayReadExprVisitor::inspectRead(), klee::SeedInfo::patchSeed(), klee::ObjectState::print(), PPrinter::printUpdateList(), CexData::propogateExactValues(), CexData::propogatePossibleValues(), klee::ReadExpr::ReadExpr(), TryConstArrayOpt(), klee::ConstantArrayExprVisitor::visitConcat(), klee::ConstantArrayExprVisitor::visitRead(), klee::IndexCompatibilityExprVisitor::visitRead(), klee::ConstantArrayFinder::visitRead(), and klee::SymbolicObjectFinder::visitRead().