Kaydet (Commit) 421d5e0c authored tarafından Caolán McNamara's avatar Caolán McNamara

we the fuzzers headless of course

Change-Id: Ib5d2ace4501840e554c03a6f6c1506ceb920039c
üst ba8e95d0
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
#include <vcl/svapp.hxx> #include <vcl/svapp.hxx>
#include <vcl/wmf.hxx> #include <vcl/wmf.hxx>
#include <unistd.h> #include <unistd.h>
#include <signal.h> #include <stdlib.h>
using namespace ::com::sun::star::uno; using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::lang; using namespace ::com::sun::star::lang;
...@@ -27,6 +27,8 @@ using namespace cppu; ...@@ -27,6 +27,8 @@ using namespace cppu;
extern "C" int LLVMFuzzerInitialize(int *argc, char ***argv) extern "C" int LLVMFuzzerInitialize(int *argc, char ***argv)
{ {
setenv("SAL_USE_VCLPLUGIN", "svp", 1);
osl_setCommandArgs(*argc, *argv); osl_setCommandArgs(*argc, *argv);
tools::extendApplicationEnvironment(); tools::extendApplicationEnvironment();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment