mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-01-29 04:14:27 +00:00
Add infrastructure for building fuzz testing targets with libFuzzer or other fuzzing engines (e.g., OSS-Fuzz's LIB_FUZZING_ENGINE). Features: - CMake_BUILD_FUZZING option in root CMakeLists.txt - Fuzzing/CMakeLists.txt with add_fuzzer() macro - Support for libFuzzer and external fuzzing engines - Documentation in Tests/Fuzzing/README.rst The infrastructure is opt-in and requires a compatible fuzzing engine. If CMake_BUILD_FUZZING is enabled but no engine is found, configuration fails with a clear error message. See Tests/Fuzzing/README.rst for build instructions.
76 lines
706 B
Plaintext
76 lines
706 B
Plaintext
# XML dictionary for xml_parser_fuzzer
|
|
|
|
# Processing instruction
|
|
"<?xml"
|
|
"?>"
|
|
"version="
|
|
"encoding="
|
|
"standalone="
|
|
|
|
# Document structure
|
|
"<!DOCTYPE"
|
|
"<!ELEMENT"
|
|
"<!ATTLIST"
|
|
"<!ENTITY"
|
|
"<!NOTATION"
|
|
"SYSTEM"
|
|
"PUBLIC"
|
|
|
|
# Tags
|
|
"<"
|
|
">"
|
|
"/>"
|
|
"</"
|
|
|
|
# Attributes
|
|
"="
|
|
"\x22"
|
|
"\x27"
|
|
|
|
# CDATA and comments
|
|
"<![CDATA["
|
|
"]]>"
|
|
"<!--"
|
|
"-->"
|
|
|
|
# Namespaces
|
|
"xmlns"
|
|
"xmlns:"
|
|
|
|
# Common CMake XML elements
|
|
"<cmake"
|
|
"<project"
|
|
"<target"
|
|
"<file"
|
|
"<dependency"
|
|
"<source"
|
|
"<include"
|
|
"<define"
|
|
"<flag"
|
|
"<option"
|
|
"<property"
|
|
"<configuration"
|
|
"<install"
|
|
"<test"
|
|
"<cache"
|
|
|
|
# Entity references
|
|
"<"
|
|
">"
|
|
"&"
|
|
"""
|
|
"'"
|
|
"&#"
|
|
"&#x"
|
|
|
|
# Whitespace
|
|
"\x09"
|
|
"\x0a"
|
|
"\x0d"
|
|
"\x20"
|
|
|
|
# Special patterns
|
|
"]]]]><![CDATA["
|
|
"-->"
|
|
"?>"
|