mirror of
https://github.com/vel21ripn/nDPI.git
synced 2026-04-28 15:09:47 +00:00
13 lines
349 B
C
13 lines
349 B
C
#include "ndpi_api.h"
|
|
|
|
int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
|
|
u_int16_t bytes_read;
|
|
|
|
/* No memory allocations involved */
|
|
|
|
ndpi_bytestream_to_number64(data, size, &bytes_read);
|
|
ndpi_bytestream_dec_or_hex_to_number64(data, size, &bytes_read);
|
|
ntohs_ndpi_bytestream_to_number(data, size, &bytes_read);
|
|
|
|
return 0;
|
|
}
|