sfxsfl 81bd2e02f4 first code checkin 9 ay önce
..
README.md 81bd2e02f4 first code checkin 9 ay önce
adaptmap_fuzzer.cc 81bd2e02f4 first code checkin 9 ay önce
affine_fuzzer.cc 81bd2e02f4 first code checkin 9 ay önce
barcode_fuzzer.cc 81bd2e02f4 first code checkin 9 ay önce
barcode_fuzzer_seed_corpus.zip 81bd2e02f4 first code checkin 9 ay önce
baseline_fuzzer.cc 81bd2e02f4 first code checkin 9 ay önce
bilateral_fuzzer.cc 81bd2e02f4 first code checkin 9 ay önce
bilinear_fuzzer.cc 81bd2e02f4 first code checkin 9 ay önce
binarize_fuzzer.cc 81bd2e02f4 first code checkin 9 ay önce
blend_fuzzer.cc 81bd2e02f4 first code checkin 9 ay önce
boxfunc3_fuzzer.cc 81bd2e02f4 first code checkin 9 ay önce
boxfunc4_fuzzer.cc 81bd2e02f4 first code checkin 9 ay önce
boxfunc5_fuzzer.cc 81bd2e02f4 first code checkin 9 ay önce
boxfunc_fuzzer.cc 81bd2e02f4 first code checkin 9 ay önce
ccbord_fuzzer.cc 81bd2e02f4 first code checkin 9 ay önce
ccthin_fuzzer.cc 81bd2e02f4 first code checkin 9 ay önce
checkerboard_fuzzer.cc 81bd2e02f4 first code checkin 9 ay önce
classapp_fuzzer.cc 81bd2e02f4 first code checkin 9 ay önce
colorfill_fuzzer.cc 81bd2e02f4 first code checkin 9 ay önce
colorquant_fuzzer.cc 81bd2e02f4 first code checkin 9 ay önce
compare_fuzzer.cc 81bd2e02f4 first code checkin 9 ay önce
dewarp_fuzzer.cc 81bd2e02f4 first code checkin 9 ay önce
edge_fuzzer.cc 81bd2e02f4 first code checkin 9 ay önce
enhance_fuzzer.cc 81bd2e02f4 first code checkin 9 ay önce
fhmtgen_fuzzer.cc 81bd2e02f4 first code checkin 9 ay önce
finditalic_fuzzer.cc 81bd2e02f4 first code checkin 9 ay önce
flipdetect_fuzzer.cc 81bd2e02f4 first code checkin 9 ay önce
fpix2_fuzzer.cc 81bd2e02f4 first code checkin 9 ay önce
general_corpus.zip 81bd2e02f4 first code checkin 9 ay önce
graphics_fuzzer.cc 81bd2e02f4 first code checkin 9 ay önce
graymorph_fuzzer.cc 81bd2e02f4 first code checkin 9 ay önce
grayquant_fuzzer.cc 81bd2e02f4 first code checkin 9 ay önce
jpegiostub_fuzzer.cc 81bd2e02f4 first code checkin 9 ay önce
kernel_fuzzer.cc 81bd2e02f4 first code checkin 9 ay önce
leptfuzz.h 81bd2e02f4 first code checkin 9 ay önce
mask_fuzzer.cc 81bd2e02f4 first code checkin 9 ay önce
maze_fuzzer.cc 81bd2e02f4 first code checkin 9 ay önce
morph_fuzzer.cc 81bd2e02f4 first code checkin 9 ay önce
morphapp_fuzzer.cc 81bd2e02f4 first code checkin 9 ay önce
oss-fuzz-build.sh 81bd2e02f4 first code checkin 9 ay önce
pageseg_fuzzer.cc 81bd2e02f4 first code checkin 9 ay önce
paintcmap_fuzzer.cc 81bd2e02f4 first code checkin 9 ay önce
pix1_fuzzer.cc 81bd2e02f4 first code checkin 9 ay önce
pix3_fuzzer.cc 81bd2e02f4 first code checkin 9 ay önce
pix4_fuzzer.cc 81bd2e02f4 first code checkin 9 ay önce
pix_orient_fuzzer.cc 81bd2e02f4 first code checkin 9 ay önce
pix_rotate_shear_fuzzer.cc 81bd2e02f4 first code checkin 9 ay önce
pixa_recog_fuzzer.cc 81bd2e02f4 first code checkin 9 ay önce
pixa_recog_fuzzer_seed_corpus.zip 81bd2e02f4 first code checkin 9 ay önce
pixconv_fuzzer.cc 81bd2e02f4 first code checkin 9 ay önce
recog_basic_fuzzer.cc 81bd2e02f4 first code checkin 9 ay önce

README.md

Leptonica fuzzing

This directory contains fuzzing tests for Leptonica. Each test is in a separate source file *_fuzzer.cc.

Normally these fuzzing tests are run by OSS-Fuzz, but can also be run locally.

Local build instructions

Local builds require the clang compiler. Use clang-10 on Debian GNU Linux, which can be installed using

sudo apt-get install clang-10

To build:

./configure CC=clang-10 CXX=clang++-10
make fuzzers CXX=clang++-10

Running local fuzzers

Each local fuzzer can be run as in the following example.

# Show command line syntax.
./barcode_fuzzer -help=1

# Run the fuzzer.
./barcode_fuzzer