From 8dd16259287f58f9273002717ec4d27e97127719 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 12 Jun 2024 07:43:14 +0200 Subject: Merging upstream version 127.0. Signed-off-by: Daniel Baumann --- js/xpconnect/shell/xpcshell.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'js/xpconnect/shell/xpcshell.cpp') diff --git a/js/xpconnect/shell/xpcshell.cpp b/js/xpconnect/shell/xpcshell.cpp index 5e44db3b34..02de402743 100644 --- a/js/xpconnect/shell/xpcshell.cpp +++ b/js/xpconnect/shell/xpcshell.cpp @@ -77,6 +77,9 @@ int main(int argc, char** argv, char** envp) { #ifdef LIBFUZZER shellData.fuzzerDriver = fuzzer::FuzzerDriver; #endif +#ifdef AFLFUZZ + shellData.fuzzerDriver = afl_interface_raw; +#endif int result = bootstrap->XRE_XPCShellMain(argc, argv, envp, &shellData); -- cgit v1.2.3