summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsolenv/bin/native-code.py2
-rw-r--r--vcl/commonfuzzer.mk1
-rw-r--r--vcl/workben/commonfuzzer.hxx4
3 files changed, 5 insertions, 2 deletions
diff --git a/solenv/bin/native-code.py b/solenv/bin/native-code.py
index d14db957e3c9..4358188d1219 100755
--- a/solenv/bin/native-code.py
+++ b/solenv/bin/native-code.py
@@ -117,7 +117,7 @@ core_constructor_list = [
# cppcanvas/source/uno/mtfrenderer.component
"com_sun_star_comp_rendering_MtfRenderer_get_implementation",
# cui/util/cui.component
- "com_sun_star_cui_ColorPicker_get_implementation",
+ ("com_sun_star_cui_ColorPicker_get_implementation", "#if !ENABLE_FUZZERS"),
# dbaccess/util/dba.component
"com_sun_star_comp_dba_DataAccessDescriptorFactory",
"com_sun_star_comp_dba_OCommandDefinition",
diff --git a/vcl/commonfuzzer.mk b/vcl/commonfuzzer.mk
index b5341fc1aa04..4d514359bf50 100644
--- a/vcl/commonfuzzer.mk
+++ b/vcl/commonfuzzer.mk
@@ -113,7 +113,6 @@ fuzzer_core_libraries = \
xmlscript \
xo \
xstor \
- cui \
chartcontroller \
chartcore \
sm \
diff --git a/vcl/workben/commonfuzzer.hxx b/vcl/workben/commonfuzzer.hxx
index 8df1d7200eb9..2ac18fd51a49 100644
--- a/vcl/workben/commonfuzzer.hxx
+++ b/vcl/workben/commonfuzzer.hxx
@@ -79,6 +79,10 @@ namespace
}
}
+extern "C" void* CreateDialogFactory() { return nullptr; }
+
+extern "C" bool GetSpecialCharsForEdit() { return false; }
+
extern "C"
{
__attribute__((weak)) void __lsan_disable();