From 1bfdbc61f2e14d8b0f2b5ca45ca8266c363cbfc5 Mon Sep 17 00:00:00 2001 From: Andrea Mattavelli Date: Fri, 16 Sep 2016 10:04:27 +0100 Subject: Avoid internalization of non-standard entry point (i.e. not the main function) (#455) --- include/klee/Interpreter.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'include') 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 -- cgit 1.4.1