shrink hwp fuzzer

Change-Id: If05afad52f44691e8fbfbd040658ab866dd4eb46
This commit is contained in:
Caolán McNamara 2017-10-16 08:38:24 +01:00
parent 1854ac23a8
commit f5e18b4f12
2 changed files with 23 additions and 1 deletions

View file

@ -34,7 +34,6 @@ $(eval $(call gb_Executable_use_libraries,hwpfuzzer,\
$(eval $(call gb_Executable_use_static_libraries,hwpfuzzer,\
findsofficepath \
ulingu \
fuzzer_core \
fuzzerstubs \
))

View file

@ -11,6 +11,29 @@
#include <vcl/FilterConfigItem.hxx>
#include "commonfuzzer.hxx"
#include <config_features.h>
#include <osl/detail/component-mapping.h>
const lib_to_factory_mapping *
lo_get_factory_map(void)
{
static lib_to_factory_mapping map[] = {
{ 0, 0 }
};
return map;
}
const lib_to_constructor_mapping *
lo_get_constructor_map(void)
{
static lib_to_constructor_mapping map[] = {
{ 0, 0 }
};
return map;
}
extern "C" bool TestImportHWP(SvStream &rStream);
extern "C" int LLVMFuzzerInitialize(int *argc, char ***argv)