aboutsummaryrefslogtreecommitdiff
path: root/agent/src
diff options
context:
space:
mode:
Diffstat (limited to 'agent/src')
-rw-r--r--agent/src/jmh/native/com/code_intelligence/jazzer/runtime/fuzzer_callbacks.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/agent/src/jmh/native/com/code_intelligence/jazzer/runtime/fuzzer_callbacks.cpp b/agent/src/jmh/native/com/code_intelligence/jazzer/runtime/fuzzer_callbacks.cpp
index 689a53d6..718a3924 100644
--- a/agent/src/jmh/native/com/code_intelligence/jazzer/runtime/fuzzer_callbacks.cpp
+++ b/agent/src/jmh/native/com/code_intelligence/jazzer/runtime/fuzzer_callbacks.cpp
@@ -43,7 +43,10 @@ void __sanitizer_cov_trace_div8(uint64_t val);
void __sanitizer_cov_trace_gep(uintptr_t idx);
// Not called but required to link against libFuzzer.
-int LLVMFuzzerTestOneInput(const uint8_t *data, std::size_t size) { return 0; }
+[[maybe_unused]] int LLVMFuzzerTestOneInput(const uint8_t *data,
+ std::size_t size) {
+ return 0;
+}
}
inline __attribute__((always_inline)) void *idToPc(jint id) {