diff options
author | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-02-14 21:47:20 +0000 |
---|---|---|
committer | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-02-15 14:16:47 +0100 |
commit | f3f3bdf708e5867369ae0a5b7362a429ba70e8ba (patch) | |
tree | 79301b3d52b7733094fa5d051f7259d5e9733d5e | |
parent | dcc9626eac53fef42b1a85c3235d1e4e48331bee (diff) |
ofz: don't need "cui" for fuzzing
Change-Id: I3d8778d23a21bdd4a6babf495552112c67938111
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163413
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
-rwxr-xr-x | solenv/bin/native-code.py | 2 | ||||
-rw-r--r-- | vcl/commonfuzzer.mk | 1 | ||||
-rw-r--r-- | vcl/workben/commonfuzzer.hxx | 4 |
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(); |