#ifndef Py_BUILD_CORE
#define Py_BUILD_CORE …
#endif
#include <Python.h>
#include <stdlib.h>
#include <inttypes.h>
static int fuzz_builtin_float(const char* data, size_t size) { … }
#define MAX_INT_TEST_SIZE …
static int fuzz_builtin_int(const char* data, size_t size) { … }
static int fuzz_builtin_unicode(const char* data, size_t size) { … }
PyObject* struct_unpack_method = …;
PyObject* struct_error = …;
static int init_struct_unpack(void) { … }
static int fuzz_struct_unpack(const char* data, size_t size) { … }
#define MAX_JSON_TEST_SIZE …
PyObject* json_loads_method = …;
static int init_json_loads(void) { … }
static int fuzz_json_loads(const char* data, size_t size) { … }
#define MAX_RE_TEST_SIZE …
PyObject* re_compile_method = …;
PyObject* re_error_exception = …;
int RE_FLAG_DEBUG = …;
static int init_sre_compile(void) { … }
static int fuzz_sre_compile(const char* data, size_t size) { … }
static const char* regex_patterns[] = …;
const size_t NUM_PATTERNS = …;
PyObject** compiled_patterns = …;
static int init_sre_match(void) { … }
static int fuzz_sre_match(const char* data, size_t size) { … }
#define MAX_CSV_TEST_SIZE …
PyObject* csv_module = …;
PyObject* csv_error = …;
static int init_csv_reader(void) { … }
static int fuzz_csv_reader(const char* data, size_t size) { … }
#define MAX_AST_LITERAL_EVAL_TEST_SIZE …
PyObject* ast_literal_eval_method = …;
static int init_ast_literal_eval(void) { … }
static int fuzz_ast_literal_eval(const char* data, size_t size) { … }
#define MAX_ELEMENTTREE_PARSEWHOLE_TEST_SIZE …
PyObject* xmlparser_type = …;
PyObject* bytesio_type = …;
static int init_elementtree_parsewhole(void) { … }
static int fuzz_elementtree_parsewhole(const char* data, size_t size) { … }
#define MAX_PYCOMPILE_TEST_SIZE …
static const int start_vals[] = …;
const size_t NUM_START_VALS = …;
static const int optimize_vals[] = …;
const size_t NUM_OPTIMIZE_VALS = …;
static int fuzz_pycompile(const char* data, size_t size) { … }
static int _run_fuzz(const uint8_t *data, size_t size, int(*fuzzer)(const char* , size_t)) { … }
int __lsan_is_turned_off(void) { … }
int LLVMFuzzerInitialize(int *argc, char ***argv) { … }
int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { … }