fuzz: add more fuzz tests
From: Hiromasa Ito <v3hertz@gmail.com> See bugs #57374-#57380 found by this new test mode.
This commit is contained in:
@@ -46,10 +46,14 @@ enum lwip_fuzz_type {
|
||||
};
|
||||
|
||||
/* bitmask of what to test: */
|
||||
#define LWIP_FUZZ_TCP 1
|
||||
#define LWIP_FUZZ_UDP 2
|
||||
#define LWIP_FUZZ_DEFAULT 0x01
|
||||
#define LWIP_FUZZ_STATICARP 0x02
|
||||
#define LWIP_FUZZ_TCP_SERVER 0x04
|
||||
#define LWIP_FUZZ_TCP_CLIENT 0x08
|
||||
#define LWIP_FUZZ_UDP_SERVER 0x10
|
||||
#define LWIP_FUZZ_UDP_CLIENT 0x20
|
||||
|
||||
int lwip_fuzztest(int argc, char** argv, enum lwip_fuzz_type type);
|
||||
int lwip_fuzztest(int argc, char** argv, enum lwip_fuzz_type type, u32_t test_apps);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user