about summary refs log tree commit diff homepage
path: root/tools
diff options
context:
space:
mode:
authorAndrea Mattavelli <andreamattavelli@users.noreply.github.com>2016-09-16 10:04:27 +0100
committerDan Liew <delcypher@gmail.com>2016-09-16 10:04:27 +0100
commit1bfdbc61f2e14d8b0f2b5ca45ca8266c363cbfc5 (patch)
treea98b88133d260c70c336f51ff09e727c79ca69dc /tools
parent9baab03a58ffb8c74a2c3db40256521050f68049 (diff)
downloadklee-1bfdbc61f2e14d8b0f2b5ca45ca8266c363cbfc5.tar.gz
Avoid internalization of non-standard entry point (i.e. not the main function) (#455)
Diffstat (limited to 'tools')
-rw-r--r--tools/klee/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/klee/main.cpp b/tools/klee/main.cpp
index 2143c95b..1eab170f 100644
--- a/tools/klee/main.cpp
+++ b/tools/klee/main.cpp
@@ -1286,7 +1286,7 @@ int main(int argc, char **argv, char **envp) {
   }
 
   std::string LibraryDir = KleeHandler::getRunTimeLibraryPath(argv[0]);
-  Interpreter::ModuleOptions Opts(LibraryDir.c_str(),
+  Interpreter::ModuleOptions Opts(LibraryDir.c_str(), EntryPoint,
                                   /*Optimize=*/OptimizeModule,
                                   /*CheckDivZero=*/CheckDivZero,
                                   /*CheckOvershift=*/CheckOvershift);