MCPcopy Create free account
hub / github.com/OISF/libhtp / fuzz_openFile

Function fuzz_openFile

test/fuzz/fuzz_htp.c:121–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

119}
120
121void fuzz_openFile(const char * name) {
122 if (logfile != NULL) {
123 fclose(logfile);
124 }
125 logfile = fopen(name, "w");
126}
127
128int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) {
129 htp_cfg_t *cfg;

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected