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

Function HTPCallbackLog

test/fuzz/fuzz_diff.c:116–120  ·  view source on GitHub ↗

* Invoked every time LibHTP wants to log. * * @param[in] log */

Source from the content-addressed store, hash-verified

114 * @param[in] log
115 */
116static int HTPCallbackLog(htp_log_t *log) {
117 fprintf(logfile, "HTPCallbackLog [%d][code %d][file %s][line %d] %s\n",
118 log->level, log->code, log->file, log->line, log->msg);
119 return 0;
120}
121
122void fuzz_openFile(const char * name) {
123 if (logfile != NULL) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected