From 41d6683c39d3fcaeb005cc13efca9fd82ff89463 Mon Sep 17 00:00:00 2001
From: Mike Aizatsky <aizatsky@chromium.org>
Date: Tue, 7 Jun 2016 20:22:15 +0000
Subject: [libfuzzer] custom crossover interface function.

Differential Revision: http://reviews.llvm.org/D21089

llvm-svn: 272054
---
 llvm/lib/Fuzzer/FuzzerExtFunctions.def | 5 +++++
 1 file changed, 5 insertions(+)

(limited to 'llvm/lib/Fuzzer/FuzzerExtFunctions.def')

diff --git a/llvm/lib/Fuzzer/FuzzerExtFunctions.def b/llvm/lib/Fuzzer/FuzzerExtFunctions.def
index 0a9046258db..dccec18f479 100644
--- a/llvm/lib/Fuzzer/FuzzerExtFunctions.def
+++ b/llvm/lib/Fuzzer/FuzzerExtFunctions.def
@@ -19,5 +19,10 @@ EXT_FUNC(LLVMFuzzerInitialize, int, (int *argc, char ***argv), false);
 EXT_FUNC(LLVMFuzzerCustomMutator, size_t,
          (uint8_t * Data, size_t Size, size_t MaxSize, unsigned int Seed),
          false);
+EXT_FUNC(LLVMFuzzerCustomCrossOver, size_t,
+         (const uint8_t * Data1, size_t Size1,
+          const uint8_t * Data2, size_t Size2,
+          uint8_t * Out, size_t MaxOutSize, unsigned int Seed),
+         false);
 
 // TODO: Sanitizer functions
-- 
cgit v1.2.3

