Coverage Report

Created: 2024-06-18 06:05

/src/leptonica/prog/fuzzing/leptfuzz.h
Line
Count
Source
1
/* Common include file for Leptonica fuzzers. */
2
3
#ifndef  LEPTFUZZ_H
4
#define  LEPTFUZZ_H
5
6
#include "allheaders.h"
7
8
24.2k
static void send_to_devnull(const char *) {}
9
10
/* Suppress Leptonica error messages during fuzzing. */
11
static void leptSetStdNullHandler()
12
1.90k
{
13
1.90k
  leptSetStderrHandler(send_to_devnull);
14
1.90k
}
15
16
#endif /* LEPTFUZZ_H */