Coverage Report

Created: 2026-01-05 06:49

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/ndpi/fuzz/fuzz_alg_bytestream.c
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
}