diff options
author | Fabian Meumertzheim <fabian@meumertzhe.im> | 2022-02-23 10:58:46 +0100 |
---|---|---|
committer | Fabian Meumertzheim <fabian@meumertzhe.im> | 2022-02-27 11:15:53 +0100 |
commit | 045a92a19918ef0f048c2116aada164ffedfe128 (patch) | |
tree | 7936fe5fffba38c6acefaa60f59b00802488799b /driver/jvm_tooling.cpp | |
parent | e8b8b5d383be9784d567c3ccfe5cb22a34ba5bfd (diff) | |
download | jazzer-api-045a92a19918ef0f048c2116aada164ffedfe128.tar.gz |
Centralize signal handler initialization in Java
Drastically reduces the amount of JNI code and idiomatically ensures
that initialization happens when needed.
Diffstat (limited to 'driver/jvm_tooling.cpp')
-rw-r--r-- | driver/jvm_tooling.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/driver/jvm_tooling.cpp b/driver/jvm_tooling.cpp index 9c5bc5ce..8bffb6f2 100644 --- a/driver/jvm_tooling.cpp +++ b/driver/jvm_tooling.cpp @@ -29,7 +29,6 @@ #include "gflags/gflags.h" #include "glog/logging.h" #include "libfuzzer_callbacks.h" -#include "signal_handler.h" #include "tools/cpp/runfiles/runfiles.h" #include "utils.h" @@ -111,7 +110,6 @@ extern "C" JNIEXPORT jint JNICALL JNI_OnLoad_jazzer_initialize(JavaVM *vm, exit(1); } jazzer::registerFuzzerCallbacks(*env); - jazzer::SignalHandler::Setup(*env); return JNI_VERSION_1_8; } |