mirror of
https://github.com/nmap/nmap.git
synced 2026-09-21 15:46:45 +00:00
16 lines
272 B
C++
16 lines
272 B
C++
#include "common.h"
|
|
#include "../tcpip.h"
|
|
|
|
#include <stddef.h>
|
|
#include <stdint.h>
|
|
|
|
extern "C"
|
|
int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size)
|
|
{
|
|
fuzz_init();
|
|
unsigned int len = size;
|
|
|
|
volatile bool v = validatepkt(data, &len);
|
|
(void) v;
|
|
return 0;
|
|
}
|