diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-03-23 12:01:15 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-03-23 15:01:42 +0000 |
commit | 502dde2118cf840e691595614b15f26c3b5b509b (patch) | |
tree | 91e80c70952c72ecdfaa2460d247083c914edc24 /vcl/workben/xpmfuzzer.cxx | |
parent | 5113441728bdf0a6e2c11922478d5515ef886b8e (diff) |
ofz: readjust LLVMFuzzerInitialize to get ppt SdDLL::Init outside leak detect
Change-Id: I01a6d19ef27c4678929e8e7554569c9219ea83f6
Diffstat (limited to 'vcl/workben/xpmfuzzer.cxx')
-rw-r--r-- | vcl/workben/xpmfuzzer.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
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<uint8_t*>(data), size, StreamMode::READ); |