#include <Interpreter.h>
|
virtual | ~Interpreter () |
|
virtual llvm::Module * | setModule (std::vector< std::unique_ptr< llvm::Module > > &modules, const ModuleOptions &opts)=0 |
|
virtual void | setPathWriter (TreeStreamWriter *tsw)=0 |
|
virtual void | setSymbolicPathWriter (TreeStreamWriter *tsw)=0 |
|
virtual void | setReplayKTest (const struct KTest *out)=0 |
|
virtual void | setReplayPath (const std::vector< bool > *path)=0 |
|
virtual void | useSeeds (const std::vector< struct KTest * > *seeds)=0 |
|
virtual void | runFunctionAsMain (llvm::Function *f, int argc, char **argv, char **envp)=0 |
|
virtual void | setHaltExecution (bool value)=0 |
|
virtual void | setInhibitForking (bool value)=0 |
|
virtual void | prepareForEarlyExit ()=0 |
|
virtual unsigned | getPathStreamID (const ExecutionState &state)=0 |
|
virtual unsigned | getSymbolicPathStreamID (const ExecutionState &state)=0 |
|
virtual void | getConstraintLog (const ExecutionState &state, std::string &res, LogType logFormat=STP)=0 |
|
virtual bool | getSymbolicSolution (const ExecutionState &state, std::vector< std::pair< std::string, std::vector< unsigned char > > > &res)=0 |
|
virtual void | getCoveredLines (const ExecutionState &state, std::map< const std::string *, std::set< unsigned > > &res)=0 |
|
Definition at line 51 of file Interpreter.h.
◆ LogType
◆ Interpreter()
◆ ~Interpreter()
virtual klee::Interpreter::~Interpreter |
( |
| ) |
|
|
inlinevirtual |
◆ create()
◆ getConstraintLog()
virtual void klee::Interpreter::getConstraintLog |
( |
const ExecutionState & |
state, |
|
|
std::string & |
res, |
|
|
LogType |
logFormat = STP |
|
) |
| |
|
pure virtual |
◆ getCoveredLines()
virtual void klee::Interpreter::getCoveredLines |
( |
const ExecutionState & |
state, |
|
|
std::map< const std::string *, std::set< unsigned > > & |
res |
|
) |
| |
|
pure virtual |
◆ getPathStreamID()
virtual unsigned klee::Interpreter::getPathStreamID |
( |
const ExecutionState & |
state | ) |
|
|
pure virtual |
◆ getSymbolicPathStreamID()
virtual unsigned klee::Interpreter::getSymbolicPathStreamID |
( |
const ExecutionState & |
state | ) |
|
|
pure virtual |
◆ getSymbolicSolution()
virtual bool klee::Interpreter::getSymbolicSolution |
( |
const ExecutionState & |
state, |
|
|
std::vector< std::pair< std::string, std::vector< unsigned char > > > & |
res |
|
) |
| |
|
pure virtual |
◆ prepareForEarlyExit()
virtual void klee::Interpreter::prepareForEarlyExit |
( |
| ) |
|
|
pure virtual |
◆ runFunctionAsMain()
virtual void klee::Interpreter::runFunctionAsMain |
( |
llvm::Function * |
f, |
|
|
int |
argc, |
|
|
char ** |
argv, |
|
|
char ** |
envp |
|
) |
| |
|
pure virtual |
◆ setHaltExecution()
virtual void klee::Interpreter::setHaltExecution |
( |
bool |
value | ) |
|
|
pure virtual |
◆ setInhibitForking()
virtual void klee::Interpreter::setInhibitForking |
( |
bool |
value | ) |
|
|
pure virtual |
◆ setModule()
virtual llvm::Module * klee::Interpreter::setModule |
( |
std::vector< std::unique_ptr< llvm::Module > > & |
modules, |
|
|
const ModuleOptions & |
opts |
|
) |
| |
|
pure virtual |
Register the module to be executed.
- Parameters
-
modules | A list of modules that should form the final module |
- Returns
- The final module after it has been optimized, checks inserted, and modified for interpretation.
Implemented in klee::Executor.
Referenced by main().
◆ setPathWriter()
◆ setReplayKTest()
virtual void klee::Interpreter::setReplayKTest |
( |
const struct KTest * |
out | ) |
|
|
pure virtual |
◆ setReplayPath()
virtual void klee::Interpreter::setReplayPath |
( |
const std::vector< bool > * |
path | ) |
|
|
pure virtual |
◆ setSymbolicPathWriter()
◆ useSeeds()
virtual void klee::Interpreter::useSeeds |
( |
const std::vector< struct KTest * > * |
seeds | ) |
|
|
pure virtual |
◆ interpreterOpts
The documentation for this class was generated from the following files: