diff options
-rw-r--r-- | tools/klee/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/klee/main.cpp b/tools/klee/main.cpp index 8a246685..08eacac1 100644 --- a/tools/klee/main.cpp +++ b/tools/klee/main.cpp @@ -1092,6 +1092,8 @@ static llvm::Module *linkWithUclibc(llvm::Module *mainModule, StringRef libDir) replaceOrRenameFunction(mainModule, "__libc_open", "open"); replaceOrRenameFunction(mainModule, "__libc_fcntl", "fcntl"); + // Take care of fortified functions + replaceOrRenameFunction(mainModule, "__fprintf_chk", "fprintf"); // XXX we need to rearchitect so this can also be used with // programs externally linked with uclibc. |