// create and hold a reference to XToolkit here to avoid the lsan warning about its leak // due to getting created in the unusual case of no vcl main loop static css::uno::Reference<css::awt::XToolkit> xTk(
comphelper::getProcessServiceFactory()->createInstance("com.sun.star.awt.Toolkit"),
css::uno::UNO_QUERY_THROW);
if (__lsan_enable)
__lsan_enable();
return0;
}
extern"C"int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size)
{
SvMemoryStream aStream(const_cast<uint8_t*>(data), size, StreamMode::READ); bool bRTFLoaded = TestPDFExportRTF(aStream); // if the rtf didn't load then reject so that input will not be added to the corpus // we're not interested in input that doesn't go on to exercise the pdf export return bRTFLoaded ? 0 : -1;
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.