klee
klee::Query Struct Reference

#include <Solver.h>

Collaboration diagram for klee::Query:

Public Member Functions

 Query (const ConstraintSet &_constraints, ref< Expr > _expr)
 
Query withExpr (ref< Expr > _expr) const
 withExpr - Return a copy of the query with the given expression. More...
 
Query withFalse () const
 withFalse - Return a copy of the query with a false expression. More...
 
Query negateExpr () const
 negateExpr - Return a copy of the query with the expression negated. More...
 
void dump () const
 Dump query. More...
 

Public Attributes

const ConstraintSetconstraints
 
ref< Exprexpr
 

Detailed Description

Definition at line 32 of file Solver.h.

Constructor & Destructor Documentation

◆ Query()

klee::Query::Query ( const ConstraintSet _constraints,
ref< Expr _expr 
)
inline

Definition at line 37 of file Solver.h.

Referenced by withExpr(), and withFalse().

Here is the caller graph for this function:

Member Function Documentation

◆ dump()

void Query::dump ( ) const

Dump query.

Definition at line 224 of file Solver.cpp.

References constraints, klee::Expr::dump(), and expr.

Referenced by CexCachingSolver::getAssignment().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ negateExpr()

Query klee::Query::negateExpr ( ) const
inline

negateExpr - Return a copy of the query with the expression negated.

Definition at line 52 of file Solver.h.

References klee::Expr::createIsZero(), expr, and withExpr().

Referenced by CexCachingSolver::computeTruth(), klee::IncompleteSolver::computeValidity(), klee::StagedSolverImpl::computeValidity(), CachingSolver::computeValidity(), CexCachingSolver::computeValidity(), klee::SolverImpl::computeValidity(), and klee::Solver::mustBeFalse().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ withExpr()

Query klee::Query::withExpr ( ref< Expr _expr) const
inline

withExpr - Return a copy of the query with the given expression.

Definition at line 42 of file Solver.h.

References constraints, and Query().

Referenced by klee::ValidatingSolver::computeValue(), klee::Solver::getRange(), and negateExpr().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ withFalse()

Query klee::Query::withFalse ( ) const
inline

withFalse - Return a copy of the query with a false expression.

Definition at line 47 of file Solver.h.

References klee::ConstantExpr::alloc(), klee::Expr::Bool, constraints, and Query().

Referenced by CexCachingSolver::computeValidity(), CexCachingSolver::computeValue(), and QueryLoggingSolver::computeValue().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ constraints

◆ expr


The documentation for this struct was generated from the following files: