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/xpmfuzzer.cxx | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'vcl/workben/xpmfuzzer.cxx') diff --git a/vcl/workben/xpmfuzzer.cxx b/vcl/workben/xpmfuzzer.cxx index b4a8fc11586d..95a4692bb0c8 100644 --- a/vcl/workben/xpmfuzzer.cxx +++ b/vcl/workben/xpmfuzzer.cxx @@ -11,6 +11,12 @@ #include <../source/filter/ixpm/xpmread.hxx> #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