huangcm
2025-08-25 f350412dc55c15118d0a7925d1071877498e5e24
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
27
28
#ifndef _HF_NETDRIVER_NETDRIVER_H
#define _HF_NETDRIVER_NETDRIVER_H
 
#include <inttypes.h>
#include <stdint.h>
 
#ifdef __cplusplus
extern "C" {
#endif
 
#define HFND_TMP_DIR_OLD "/tmp/FUZZ"
#define HFND_TMP_DIR "/tmp/HFND_TMP_DIR"
 
/*
 * Flags which will be passed to the original program running in a separate thread should go into
 * server_argc/server_argv
 */
int HonggfuzzNetDriverArgsForServer(int argc, char** argv, int* server_argc, char*** server_argv);
/*
 * TCP port that the fuzzed data inputs will be sent to
 */
uint16_t HonggfuzzNetDriverPort(int argc, char** argv);
 
#ifdef __cplusplus
}
#endif
 
#endif /* ifndef _HF_NETDRIVER_NETDRIVER_H_ */