diff options
Diffstat (limited to 'third_party/libFuzzer-pass-death-callback-to-jazzer.patch')
-rw-r--r-- | third_party/libFuzzer-pass-death-callback-to-jazzer.patch | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/third_party/libFuzzer-pass-death-callback-to-jazzer.patch b/third_party/libFuzzer-pass-death-callback-to-jazzer.patch deleted file mode 100644 index 3fb9fbb0..00000000 --- a/third_party/libFuzzer-pass-death-callback-to-jazzer.patch +++ /dev/null @@ -1,28 +0,0 @@ -diff --git compiler-rt/lib/fuzzer/FuzzerExtFunctions.def compiler-rt/lib/fuzzer/FuzzerExtFunctions.def -index 51edf8444e94..e31f0040268b 100644 ---- compiler-rt/lib/fuzzer/FuzzerExtFunctions.def -+++ compiler-rt/lib/fuzzer/FuzzerExtFunctions.def -@@ -42,7 +42,7 @@ EXT_FUNC(__sanitizer_symbolize_pc, void, - EXT_FUNC(__sanitizer_get_module_and_offset_for_pc, int, - (void *pc, char *module_path, - size_t module_path_len,void **pc_offset), false); --EXT_FUNC(__sanitizer_set_death_callback, void, (void (*)(void)), true); -+EXT_FUNC(__jazzer_set_death_callback, void, (void (*)(void)), true); - EXT_FUNC(__sanitizer_set_report_fd, void, (void*), false); - EXT_FUNC(__msan_scoped_disable_interceptor_checks, void, (), false); - EXT_FUNC(__msan_scoped_enable_interceptor_checks, void, (), false); -diff --git compiler-rt/lib/fuzzer/FuzzerLoop.cpp compiler-rt/lib/fuzzer/FuzzerLoop.cpp -index 149742b4c2fe..7b361423cc32 100644 ---- compiler-rt/lib/fuzzer/FuzzerLoop.cpp -+++ compiler-rt/lib/fuzzer/FuzzerLoop.cpp -@@ -138,8 +138,8 @@ void Fuzzer::HandleMalloc(size_t Size) { - Fuzzer::Fuzzer(UserCallback CB, InputCorpus &Corpus, MutationDispatcher &MD, - FuzzingOptions Options) - : CB(CB), Corpus(Corpus), MD(MD), Options(Options) { -- if (EF->__sanitizer_set_death_callback) -- EF->__sanitizer_set_death_callback(StaticDeathCallback); -+ if (EF->__jazzer_set_death_callback) -+ EF->__jazzer_set_death_callback(StaticDeathCallback); - assert(!F); - F = this; - TPC.ResetMaps(); |