diff options
Diffstat (limited to 'tests/fuzz/fuzz.h')
-rw-r--r-- | tests/fuzz/fuzz.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/tests/fuzz/fuzz.h b/tests/fuzz/fuzz.h new file mode 100644 index 00000000..7dff3dbe --- /dev/null +++ b/tests/fuzz/fuzz.h @@ -0,0 +1,35 @@ +/* + * xpath.h: Header for fuzz targets + * + * See Copyright for the status of this software. + */ + +#ifndef __XML_XSLT_TESTS_FUZZ_H__ +#define __XML_XSLT_TESTS_FUZZ_H__ + +#include <stddef.h> +#include <libxml/xmlstring.h> +#include <libxml/xpath.h> + +int +xsltFuzzXPathInit(int *argc_p, char ***argv_p, const char *dir); + +xmlXPathObjectPtr +xsltFuzzXPath(const char *data, size_t size); + +void +xsltFuzzXPathFreeObject(xmlXPathObjectPtr obj); + +void +xsltFuzzXPathCleanup(void); + +int +xsltFuzzXsltInit(int *argc_p, char ***argv_p, const char *dir); + +xmlChar * +xsltFuzzXslt(const char *data, size_t size); + +void +xsltFuzzXsltCleanup(void); + +#endif |