diff options
author | Andrea Mattavelli <andreamattavelli@users.noreply.github.com> | 2016-09-16 10:04:27 +0100 |
---|---|---|
committer | Dan Liew <delcypher@gmail.com> | 2016-09-16 10:04:27 +0100 |
commit | 1bfdbc61f2e14d8b0f2b5ca45ca8266c363cbfc5 (patch) | |
tree | a98b88133d260c70c336f51ff09e727c79ca69dc /include | |
parent | 9baab03a58ffb8c74a2c3db40256521050f68049 (diff) | |
download | klee-1bfdbc61f2e14d8b0f2b5ca45ca8266c363cbfc5.tar.gz |
Avoid internalization of non-standard entry point (i.e. not the main function) (#455)
Diffstat (limited to 'include')
-rw-r--r-- | include/klee/Interpreter.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/include/klee/Interpreter.h b/include/klee/Interpreter.h index b40ad0d5..3a4d40b4 100644 --- a/include/klee/Interpreter.h +++ b/include/klee/Interpreter.h @@ -51,15 +51,16 @@ public: /// registering a module with the interpreter. struct ModuleOptions { std::string LibraryDir; + std::string EntryPoint; bool Optimize; bool CheckDivZero; bool CheckOvershift; - ModuleOptions(const std::string& _LibraryDir, - bool _Optimize, bool _CheckDivZero, - bool _CheckOvershift) - : LibraryDir(_LibraryDir), Optimize(_Optimize), - CheckDivZero(_CheckDivZero), CheckOvershift(_CheckOvershift) {} + ModuleOptions(const std::string &_LibraryDir, + const std::string &_EntryPoint, bool _Optimize, + bool _CheckDivZero, bool _CheckOvershift) + : LibraryDir(_LibraryDir), EntryPoint(_EntryPoint), Optimize(_Optimize), + CheckDivZero(_CheckDivZero), CheckOvershift(_CheckOvershift) {} }; enum LogType |