summaryrefslogtreecommitdiffstats
path: root/xpcom/build/XREShellData.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--xpcom/build/XREShellData.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/xpcom/build/XREShellData.h b/xpcom/build/XREShellData.h
index a0f736f658..8fa47ab459 100644
--- a/xpcom/build/XREShellData.h
+++ b/xpcom/build/XREShellData.h
@@ -10,6 +10,9 @@
#if defined(LIBFUZZER)
# include "FuzzerRegistry.h" // LibFuzzerDriver
#endif
+#if defined(AFLFUZZ)
+# include "FuzzingInterface.h" // FuzzingTestFuncRaw
+#endif
#if defined(XP_WIN) && defined(MOZ_SANDBOX)
namespace sandbox {
@@ -34,6 +37,9 @@ struct XREShellData {
#if defined(LIBFUZZER)
LibFuzzerDriver fuzzerDriver;
#endif
+#if defined(AFLFUZZ)
+ int (*fuzzerDriver)(FuzzingTestFuncRaw);
+#endif
};
#endif // XREShellData_h