mirror of
https://gitlab.gnome.org/GNOME/libxslt
synced 2025-08-07 10:42:55 +03:00
- Move core fuzzing code into a single file fuzz.c - Add tests for fuzz targets - Reduce XSLT operation limit
36 lines
631 B
C
36 lines
631 B
C
/*
|
|
* 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
|