1 #ifndef _HF_NETDRIVER_NETDRIVER_H 2 #define _HF_NETDRIVER_NETDRIVER_H 3 4 #include <inttypes.h> 5 #include <stdint.h> 6 7 #ifdef __cplusplus 8 extern "C" { 9 #endif 10 11 #define HFND_TMP_DIR_OLD "/tmp/FUZZ" 12 #define HFND_TMP_DIR "/tmp/HFND_TMP_DIR" 13 14 /* 15 * Flags which will be passed to the original program running in a separate thread should go into 16 * server_argc/server_argv 17 */ 18 int HonggfuzzNetDriverArgsForServer(int argc, char** argv, int* server_argc, char*** server_argv); 19 /* 20 * TCP port that the fuzzed data inputs will be sent to 21 */ 22 uint16_t HonggfuzzNetDriverPort(int argc, char** argv); 23 24 #ifdef __cplusplus 25 } 26 #endif 27 28 #endif /* ifndef _HF_NETDRIVER_NETDRIVER_H_ */ 29