summaryrefslogtreecommitdiffstats
path: root/browser/app/nsBrowserApp.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--browser/app/nsBrowserApp.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/browser/app/nsBrowserApp.cpp b/browser/app/nsBrowserApp.cpp
index 3145342155..e1f11b9cfd 100644
--- a/browser/app/nsBrowserApp.cpp
+++ b/browser/app/nsBrowserApp.cpp
@@ -192,6 +192,9 @@ static int do_main(int argc, char* argv[], char* envp[]) {
#ifdef LIBFUZZER
shellData.fuzzerDriver = fuzzer::FuzzerDriver;
#endif
+#ifdef AFLFUZZ
+ shellData.fuzzerDriver = afl_interface_raw;
+#endif
return gBootstrap->XRE_XPCShellMain(--argc, argv, envp, &shellData);
}