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

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