#include <KModule.h>

Public Member Functions | |
| KConstant * | getKConstant (llvm::Constant *c) |
| KModule (llvm::Module *_module) | |
| ~KModule () | |
| void | prepare (const Interpreter::ModuleOptions &opts, InterpreterHandler *ihandler) |
| Initialize local data structures. | |
| unsigned | getConstantID (llvm::Constant *c, KInstruction *ki) |
| Return an id for the given constant, creating a new one if necessary. | |
Public Attributes | |
| llvm::Module * | module |
| llvm::TargetData * | targetData |
| llvm::Function * | dbgStopPointFn |
| llvm::Function * | kleeMergeFn |
| std::vector< KFunction * > | functions |
| std::map< llvm::Function *, KFunction * > | functionMap |
| std::set< llvm::Function * > | escapingFunctions |
| InstructionInfoTable * | infos |
| std::vector< llvm::Constant * > | constants |
| std::map< llvm::Constant *, KConstant * > | constantMap |
| Cell * | constantTable |
Definition at line 80 of file KModule.h.
| klee::KModule::KModule | ( | llvm::Module * | _module | ) |
| KModule::~KModule | ( | ) |
Definition at line 87 of file KModule.cpp.
References constantTable, functions, infos, module, and targetData.
| unsigned klee::KModule::getConstantID | ( | llvm::Constant * | c, | |
| KInstruction * | ki | |||
| ) |
Return an id for the given constant, creating a new one if necessary.
Referenced by klee::KFunction::KFunction().

| KConstant* klee::KModule::getKConstant | ( | llvm::Constant * | c | ) |
| void KModule::prepare | ( | const Interpreter::ModuleOptions & | opts, | |
| InterpreterHandler * | ihandler | |||
| ) |
Initialize local data structures.
Definition at line 193 of file KModule.cpp.
References klee::Interpreter::Interpreter::ModuleOptions::CheckDivZero, dbgStopPointFn, escapingFunctions, forceImport(), klee::KFunction::function, klee::functionEscapes(), functionMap, functions, klee::InstructionInfoTable::getInfo(), klee::KInstruction::info, infos, injectStaticConstructorsAndDestructors(), klee::KInstruction::inst, klee::KFunction::instructions, klee::klee_error(), kleeMergeFn, klee::Interpreter::Interpreter::ModuleOptions::LibraryDir, klee::linkWithLibrary(), module, klee::KFunction::numInstructions, klee::InterpreterHandler::openOutputFile(), llvm::Optimize(), klee::Interpreter::Interpreter::ModuleOptions::Optimize, and targetData.
Referenced by klee::Executor::setModule().


| std::map<llvm::Constant*, KConstant*> klee::KModule::constantMap |
| std::vector<llvm::Constant*> klee::KModule::constants |
Definition at line 102 of file KModule.h.
Referenced by klee::Executor::bindModuleConstants(), klee::Executor::eval(), and ~KModule().
| llvm::Function* klee::KModule::dbgStopPointFn |
| std::set<llvm::Function*> klee::KModule::escapingFunctions |
Definition at line 94 of file KModule.h.
Referenced by klee::StatsTracker::computeReachableUncovered(), and prepare().
| std::map<llvm::Function*, KFunction*> klee::KModule::functionMap |
| std::vector<KFunction*> klee::KModule::functions |
Definition at line 89 of file KModule.h.
Referenced by klee::Executor::bindModuleConstants(), prepare(), klee::StatsTracker::StatsTracker(), and ~KModule().
Definition at line 96 of file KModule.h.
Referenced by klee::StatsTracker::computeReachableUncovered(), prepare(), klee::StatsTracker::StatsTracker(), klee::StatsTracker::writeIStats(), and ~KModule().
| llvm::Function * klee::KModule::kleeMergeFn |
| llvm::Module* klee::KModule::module |
Definition at line 82 of file KModule.h.
Referenced by klee::SpecialFunctionHandler::bind(), klee::StatsTracker::computeReachableUncovered(), klee::Executor::initializeGlobals(), prepare(), klee::SpecialFunctionHandler::prepare(), klee::StatsTracker::writeIStats(), and ~KModule().
| llvm::TargetData* klee::KModule::targetData |
Definition at line 83 of file KModule.h.
Referenced by klee::Executor::bindInstructionConstants(), klee::Executor::evalConstantExpr(), klee::Executor::executeInstruction(), klee::Executor::initializeGlobals(), prepare(), and ~KModule().
1.5.8