Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
1da252d5
Kaydet (Commit)
1da252d5
authored
Eki 20, 2017
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
shrink ww8 fuzzer
Change-Id: Ic2ee596b1d2dbba4f685100aef1862ce0e5e435d
üst
387554ef
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
61 additions
and
1 deletion
+61
-1
Executable_ww8fuzzer.mk
vcl/Executable_ww8fuzzer.mk
+0
-1
ww8fuzzer.cxx
vcl/workben/ww8fuzzer.cxx
+61
-0
No files found.
vcl/Executable_ww8fuzzer.mk
Dosyayı görüntüle @
1da252d5
...
...
@@ -34,7 +34,6 @@ $(eval $(call gb_Executable_use_libraries,ww8fuzzer,\
$(eval $(call gb_Executable_use_static_libraries,ww8fuzzer,\
findsofficepath \
ulingu \
fuzzer_writer \
fuzzerstubs \
))
...
...
vcl/workben/ww8fuzzer.cxx
Dosyayı görüntüle @
1da252d5
...
...
@@ -11,6 +11,67 @@
#include <vcl/FilterConfigItem.hxx>
#include "commonfuzzer.hxx"
#include <config_features.h>
#include <osl/detail/component-mapping.h>
extern
"C"
{
void
*
unoxml_component_getFactory
(
const
char
*
,
void
*
,
void
*
);
void
*
i18npool_component_getFactory
(
const
char
*
,
void
*
,
void
*
);
void
*
emfio_component_getFactory
(
const
char
*
,
void
*
,
void
*
);
void
*
com_sun_star_comp_framework_Desktop_get_implementation
(
void
*
,
void
*
);
void
*
com_sun_star_i18n_LocaleDataImpl_get_implementation
(
void
*
,
void
*
);
void
*
com_sun_star_i18n_BreakIterator_Unicode_get_implementation
(
void
*
,
void
*
);
void
*
com_sun_star_i18n_BreakIterator_get_implementation
(
void
*
,
void
*
);
void
*
SfxDocumentMetaData_get_implementation
(
void
*
,
void
*
);
void
*
com_sun_star_i18n_CharacterClassification_Unicode_get_implementation
(
void
*
,
void
*
);
void
*
com_sun_star_i18n_CharacterClassification_get_implementation
(
void
*
,
void
*
);
void
*
com_sun_star_i18n_NativeNumberSupplier_get_implementation
(
void
*
,
void
*
);
void
*
com_sun_star_i18n_NumberFormatCodeMapper_get_implementation
(
void
*
,
void
*
);
void
*
com_sun_star_comp_graphic_GraphicProvider_get_implementation
(
void
*
,
void
*
);
void
*
IndexedPropertyValuesContainer_get_implementation
(
void
*
,
void
*
);
void
*
com_sun_star_comp_uui_UUIInteractionHandler_get_implementation
(
void
*
,
void
*
);
void
*
com_sun_star_comp_comphelper_OPropertyBag
(
void
*
,
void
*
);
void
*
com_sun_star_i18n_Transliteration_get_implementation
(
void
*
,
void
*
);
}
const
lib_to_factory_mapping
*
lo_get_factory_map
(
void
)
{
static
lib_to_factory_mapping
map
[]
=
{
{
"libunoxmllo.a"
,
unoxml_component_getFactory
},
{
"libi18npoollo.a"
,
i18npool_component_getFactory
},
{
"libemfiolo.a"
,
emfio_component_getFactory
},
{
0
,
0
}
};
return
map
;
}
const
lib_to_constructor_mapping
*
lo_get_constructor_map
(
void
)
{
static
lib_to_constructor_mapping
map
[]
=
{
{
"com_sun_star_comp_framework_Desktop_get_implementation"
,
com_sun_star_comp_framework_Desktop_get_implementation
},
{
"com_sun_star_i18n_LocaleDataImpl_get_implementation"
,
com_sun_star_i18n_LocaleDataImpl_get_implementation
},
{
"com_sun_star_i18n_BreakIterator_Unicode_get_implementation"
,
com_sun_star_i18n_BreakIterator_Unicode_get_implementation
},
{
"com_sun_star_i18n_BreakIterator_get_implementation"
,
com_sun_star_i18n_BreakIterator_get_implementation
},
{
"SfxDocumentMetaData_get_implementation"
,
SfxDocumentMetaData_get_implementation
},
{
"com_sun_star_i18n_CharacterClassification_Unicode_get_implementation"
,
com_sun_star_i18n_CharacterClassification_Unicode_get_implementation
},
{
"com_sun_star_i18n_CharacterClassification_get_implementation"
,
com_sun_star_i18n_CharacterClassification_get_implementation
},
{
"com_sun_star_i18n_NativeNumberSupplier_get_implementation"
,
com_sun_star_i18n_NativeNumberSupplier_get_implementation
},
{
"com_sun_star_i18n_NumberFormatCodeMapper_get_implementation"
,
com_sun_star_i18n_NumberFormatCodeMapper_get_implementation
},
{
"com_sun_star_comp_graphic_GraphicProvider_get_implementation"
,
com_sun_star_comp_graphic_GraphicProvider_get_implementation
},
{
"IndexedPropertyValuesContainer_get_implementation"
,
IndexedPropertyValuesContainer_get_implementation
},
{
"com_sun_star_comp_uui_UUIInteractionHandler_get_implementation"
,
com_sun_star_comp_uui_UUIInteractionHandler_get_implementation
},
{
"com_sun_star_comp_comphelper_OPropertyBag"
,
com_sun_star_comp_comphelper_OPropertyBag
},
{
"com_sun_star_i18n_Transliteration_get_implementation"
,
com_sun_star_i18n_Transliteration_get_implementation
},
{
0
,
0
}
};
return
map
;
}
extern
"C"
bool
TestImportWW8
(
SvStream
&
rStream
);
extern
"C"
int
LLVMFuzzerInitialize
(
int
*
argc
,
char
***
argv
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment