| Line | Count | Source | 
| 1 | #include <stdio.h> | |
| 2 | #include <stdlib.h> | |
| 3 | #include <stdint.h> | |
| 4 | #include <stdarg.h> | |
| 5 | #include <string.h> | |
| 6 | ||
| 7 | #include <netcdf.h> | |
| 8 | #include <netcdf_mem.h> | |
| 9 | ||
| 10 | 339 | int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) { | 
| 11 | 339 | int ncid; | 
| 12 | 339 |     if (nc_open_mem("/tmp/fuzz.nc", 0, Size, (void *) Data, &ncid) == NC_NOERR) { | 
| 13 | 11 | nc_close(ncid); | 
| 14 | 11 | } | 
| 15 | 339 | return 0; | 
| 16 | 339 | } | 
| 17 |