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/wmffuzzer.cxx | |
parent | configure: remove hack to add quotes to $DEVENV again (diff) | |
download | core-502dde2118cf840e691595614b15f26c3b5b509b.tar.gz core-502dde2118cf840e691595614b15f26c3b5b509b.zip |
ofz: readjust LLVMFuzzerInitialize to get ppt SdDLL::Init outside leak detect
Change-Id: I01a6d19ef27c4678929e8e7554569c9219ea83f6
Diffstat (limited to 'vcl/workben/wmffuzzer.cxx')
-rw-r--r-- | vcl/workben/wmffuzzer.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
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 <vcl/wmf.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); |