Line | Count | Source |
1 | #include "ndpi_api.h" | |
2 | ||
3 | 7.66k | int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { |
4 | 7.66k | u_int16_t bytes_read; |
5 | ||
6 | /* No memory allocations involved */ | |
7 | ||
8 | 7.66k | ndpi_bytestream_to_number64(data, size, &bytes_read); |
9 | 7.66k | ndpi_bytestream_dec_or_hex_to_number64(data, size, &bytes_read); |
10 | 7.66k | ntohs_ndpi_bytestream_to_number(data, size, &bytes_read); |
11 | ||
12 | 7.66k | return 0; |
13 | 7.66k | } |