From 0281f0fe881ac108f754cb3b3066bb829eb31257 Mon Sep 17 00:00:00 2001 From: Cristian Cadar Date: Wed, 26 Jul 2017 12:11:38 +0100 Subject: This reverts incorrect patch https://github.com/klee/klee/commit/db29a0bba74b672cdf4b8fef4d94ffa6ab845e6d __fprintf_chk has a different prototype than fprintf --- tools/klee/main.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/tools/klee/main.cpp b/tools/klee/main.cpp index 586c13ec..8e3431d3 100644 --- a/tools/klee/main.cpp +++ b/tools/klee/main.cpp @@ -1073,9 +1073,6 @@ 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. -- cgit 1.4.1