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