Coverage Report

Created: 2025-06-13 06:49

/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
88.1k
static void send_to_devnull(const char *) {}
9
10
/* Suppress Leptonica error messages during fuzzing. */
11
static void leptSetStdNullHandler()
12
2.78k
{
13
2.78k
  leptSetStderrHandler(send_to_devnull);
14
2.78k
}
15
16
#endif /* LEPTFUZZ_H */