shrink gif fuzzer

Change-Id: I68561045548bfcff509d439837b7f31c650796f7
This commit is contained in:
Caolán McNamara 2017-10-09 11:18:42 +01:00
parent 862167b21b
commit b2384778d9
2 changed files with 23 additions and 1 deletions

View file

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

View file

@ -11,6 +11,29 @@
#include <../source/filter/igif/gifread.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" int LLVMFuzzerInitialize(int *argc, char ***argv)
{
TypicalFuzzerInitialize(argc, argv);