diff contrib/fuzz/mpatch.cc @ 43816:d37658efbec2

fuzz: remove legacy setup for running fuzzers outside oss-fuzz We don't need this anymore. Differential Revision: https://phab.mercurial-scm.org/D7567
author Augie Fackler <augie@google.com>
date Fri, 06 Dec 2019 15:21:45 -0500
parents 51a99e09c54b
children
line wrap: on
line diff
--- a/contrib/fuzz/mpatch.cc	Fri Dec 06 15:08:37 2019 -0500
+++ b/contrib/fuzz/mpatch.cc	Fri Dec 06 15:21:45 2019 -0500
@@ -111,17 +111,4 @@
 	return 0;
 }
 
-#ifdef HG_FUZZER_INCLUDE_MAIN
-int main(int argc, char **argv)
-{
-	// One text, one patch.
-	const char data[] = "\x02\x00\0x1\x00\x0d"
-	                    // base text
-	                    "a"
-	                    // binary delta that will append a single b
-	                    "\x00\x00\x00\x01\x00\x00\x00\x01\x00\x00\x00\x01b";
-	return LLVMFuzzerTestOneInput((const uint8_t *)data, 19);
-}
-#endif
-
 } // extern "C"