/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * This file is part of the LibreOffice project. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include #include #include #include #include "commonfuzzer.hxx" extern "C" void* ScCreateDialogFactory() { return nullptr; } extern "C" bool TestImportDBF(SvStream& rStream); extern "C" int LLVMFuzzerInitialize(int* argc, char*** argv) { if (__lsan_disable) __lsan_disable(); CommonInitialize(argc, argv); // initialise unconfigured UCB: css::uno::Reference xUcb( comphelper::getProcessServiceFactory()->createInstance( "com.sun.star.ucb.UniversalContentBroker"), css::uno::UNO_QUERY_THROW); css::uno::Sequence aArgs{ css::uno::Any(OUString("NoConfig")) }; css::uno::Reference xFileProvider( comphelper::getProcessServiceFactory()->createInstanceWithArguments( "com.sun.star.ucb.FileContentProvider", aArgs), css::uno::UNO_QUERY_THROW); xUcb->registerContentProvider(xFileProvider, "file", true); if (__lsan_enable) __lsan_enable(); return 0; } extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { SvMemoryStream aStream(const_cast(data), size, StreamMode::READ); (void)TestImportDBF(aStream); return 0; } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ istro/cib/libreoffice-6-1 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2023-08-09wina11y: Use return value instead of out paramMichael Weghorn
2023-08-08wina11y: Drop AccObjectManagerAgent indirectionMichael Weghorn
2023-08-08wina11y: Align param order with other methodsMichael Weghorn
2023-08-08wina11y: Drop unused default nullptr argMichael Weghorn
2023-08-08wina11y: Move and simplify casting for Get_ToATInterfaceMichael Weghorn
2023-08-08wina11y: Move GetIAccessibleFromXAccessible logicMichael Weghorn
2023-08-08wina11y: Drop AccObjectManagerAgent indirection to get a11y roleMichael Weghorn
2023-08-01wina11y: Drop/Clean up CHILD event handling in subclassesMichael Weghorn
2023-08-01tdf#156561 wina11y: Handle CHILD eventMichael Weghorn
2023-06-13tdf#155794 winaccessibility: no SolarMutex in getAccObjectPtr()Michael Stahl
2023-03-22tdf#154303 wina11y: Don't truncate 64-bit statesMichael Weghorn
2022-11-24Drop redundant -Wnon-virtual-dtorStephan Bergmann
2022-08-31wina11y: Drop unused member and methods related to selectionMichael Weghorn
2022-08-31wina11y: Drop unused AccObjectWinManager::UpdateAccSelectionMichael Weghorn
2022-08-05wina11y: Drop extra location bookkeepingMichael Weghorn
2022-08-05wina11y: Drop AccObjectManagerAgent::UpdateLocationMichael Weghorn
2022-07-08[API CHANGE] Drop css::accessibility::XAccessibleStateSetNoel Grandin
2022-03-22wina11y: Slightly clean up WinResIDGeneratorMichael Weghorn
2022-02-28wina11y: Rename IsSpecialToolboItem -> IsSpecialToolbarItemMichael Weghorn
2022-02-28wina11y: Convert unomsaaevent.hxx constants to enum class UnoMSAAEventMichael Weghorn
2022-01-12-Werror,-Wunused-parameterStephan Bergmann
2022-01-06wina11y: Drop now unused AccObject::SetRoleMichael Weghorn
2022-01-06wina11y: Drop unused AccObjectWinManager::SetRoleMichael Weghorn
2022-01-06tdf#146306 wina11y: Retrieve accessible desc on demandMichael Weghorn
2021-10-01loplugin:nullptr (clang-cl)Stephan Bergmann
2021-09-20wina11y: Drop bool param from CMAccessible::NotifyDestroyMichael Weghorn
2021-09-20wina11y: Drop AccObject::m_bShouldDestroyMichael Weghorn
2021-09-17wina11y: Get rid of more HWND<->sal_Int64 castingMichael Weghorn
2021-09-17wina11y: Avoid some casting between HWND and sal_Int64Michael Weghorn
2021-09-16tdf#100086 wina11y: Don't delete a11y object for removed cell right awayMichael Weghorn
2021-09-15wina11y: Forward-declare XAccessible in AccObjectWinManager.hxxMichael Weghorn
2021-09-14wina11y: Use XAccessible* instead of void*Michael Weghorn
2021-03-23tdf#124176 Use pragma once in w*Vincent LE GARREC
2020-11-18tdf#123936 Formatting files in module winaccessibility with clang-formatPhilipp Hofer
2020-09-01Fix typo in codeAndrea Gelmini