/* -*- 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 "commonfuzzer.hxx" #include #include 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" void* lo_get_custom_widget_func(const char*) { return nullptr; } extern "C" bool ipbGraphicImport(SvStream& rStream, Graphic& rGraphic, FilterConfigItem* pConfigItem); extern "C" int LLVMFuzzerInitialize(int *argc, char ***argv) { TypicalFuzzerInitialize(argc, argv); return 0; } extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { SvMemoryStream aStream(const_cast(data), size, StreamMode::READ); Graphic aGraphic; (void)ipbGraphicImport(aStream, aGraphic, nullptr); return 0; } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ '>distro/cib/libreoffice-5-2 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/idl
AgeCommit message (Expand)Author
2023-10-03tdf#145538 Use range based for loops in idl:objectYli875
2023-09-18Use less zlib external headers dependencyGabor Kelemen
2023-04-10Drop SvStream::WriteCharPtrMike Kaganski
2023-03-30loplugin:stringadd in variousNoel Grandin
2023-03-17tdf#145538 Use range based for loopsanfanite396
2023-02-24tdf#114441 Convert sal_uLong to a better typeAdoche Onaji
2023-02-08Fix bogus uses of OUString::createFromAsciiStephan Bergmann
2022-05-18clang-tidy modernize-pass-by-value in idl/idlcNoel Grandin
2022-05-13add SvStream::ReadLine(OStringBuffer... to reduce OString allocationNoel Grandin
2022-04-17loplugin:stringviewparam convert methods using copy()Noel Grandin
2022-04-11use more string_viewNoel Grandin
2022-01-27Recheck modules [i-l]* with IWYUGabor Kelemen
2022-01-27add some more TypeWhichId annotationsNoel Grandin
2022-01-02idl : no need to use rtl::StaticArnaud VERSINI
2022-01-01idl : use delegating constructorArnaud VERSINI
2021-12-25idl : remove useless define and copy the code directly !Arnaud VERSINI
2021-12-24mergelibs: fix duplicate aSfxInt16Item_ImplJan-Marek Glogowski
2021-12-22loplugin:flatten in filter..includeNoel Grandin
2021-08-13tdf#114441:Convert use of sal_uLong to better integer typesEmircan Agac
2021-06-28loplugin:indentation improve checks for brace alignmentNoel Grandin
2021-05-05WASM: add initial support for Emscripten cross buildJan-Marek Glogowski
2021-04-29loplugin:stringadd simplify some *StringBuffer operationsNoel Grandin
2021-04-27use more string_view in tools/streamNoel Grandin
2021-04-19use more string_view in OString APINoel Grandin
2021-04-07Updated README.md files to represent current code / use Markdown formatHossein
2021-03-24Using .md extension/Markdown syntax for modules READMEHossein
2021-03-16tdf#114441: Convert use of sal_uLong to better integer typesAhmet Hakan Çelik
2021-03-11tdf#114441: Convert use of sal_uLong to better integer typesBayram Çiçek
2021-02-14-Werror,-Wformat in idl with Raspberry pi 4bJulien Nabet
2021-02-12fix fuzzer buildCaolán McNamara
2021-01-21tdf#114441: Convert use of sal_uLong to better integer typessiddheshpatil777
2020-12-20No longer need to worry about ambiguous operator== in loplugin:stringviewparamStephan Bergmann
2020-12-11Adapt the remaining OUString functions to std string_viewStephan Bergmann
2020-12-10Avoid calling OString ctor with null pointerStephan Bergmann
2020-11-17loplugin:stringviewparam check methods tooNoel
2020-11-13tdf#123936 Formatting files in module idl with clang-formatPhilipp Hofer