summaryrefslogtreecommitdiff
path: root/vcl/workben/pcxfuzzer.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/workben/pcxfuzzer.cxx')
-rw-r--r--vcl/workben/pcxfuzzer.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/vcl/workben/pcxfuzzer.cxx b/vcl/workben/pcxfuzzer.cxx
index 3e11befa96fb..6f07f5e4d6aa 100644
--- a/vcl/workben/pcxfuzzer.cxx
+++ b/vcl/workben/pcxfuzzer.cxx
@@ -13,6 +13,12 @@
extern "C" bool ipxGraphicImport(SvStream& rStream, Graphic& rGraphic, FilterConfigItem* pConfigItem);
+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);