From 502dde2118cf840e691595614b15f26c3b5b509b Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 23 Mar 2017 12:01:15 +0000 Subject: ofz: readjust LLVMFuzzerInitialize to get ppt SdDLL::Init outside leak detect Change-Id: I01a6d19ef27c4678929e8e7554569c9219ea83f6 --- vcl/workben/wmffuzzer.cxx | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'vcl/workben/wmffuzzer.cxx') diff --git a/vcl/workben/wmffuzzer.cxx b/vcl/workben/wmffuzzer.cxx index 8b5054e9070a..2300f181c673 100644 --- a/vcl/workben/wmffuzzer.cxx +++ b/vcl/workben/wmffuzzer.cxx @@ -12,6 +12,12 @@ #include #include "commonfuzzer.hxx" +extern "C" int LLVMFuzzerInitialize(int *argc, char ***argv) +{ + TypicalFuzzerInitialize(argc, argv); + return 0; +} + extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { SvMemoryStream aStream(const_cast(data), size, StreamMode::READ); -- cgit