blob: 57ce6134a2b085a5d3be2e91f3f0e83c3dd3c179 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
/**
* @file
* @author Philippe Antoine <contact@catenacyber.fr>
* fuzz harness for libhtp
*/
#ifndef __FUZZ_HTP_H__
#define __FUZZ_HTP_H__
#include <errno.h>
#include <stdlib.h>
#include <sys/types.h>
#include <string.h>
#include <stdio.h>
#include <sys/stat.h>
#include <fcntl.h>
#include "htp/htp.h"
#include "test/test.h"
void fuzz_openFile(const char * name);
int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size);
#endif /* __FUZZ_HTP_H__ */
|