Stefan Weil
60ed299550
Make downloads with curl silent in build process
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2024-11-02 07:37:19 +01:00
Stefan Weil
08e9ba8b2e
Add double quotes to prevent globbing and word splitting
...
This fixes some issues which were reported by Codacy.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2024-06-11 20:02:39 +02:00
Stefan Weil
f9c5e99e44
Use static linker flags for OSS-Fuzz build
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2022-03-03 12:51:46 +01:00
Stefan Weil
a77c337a28
Update linker flags for OSS-Fuzz build
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2022-03-02 14:38:19 +01:00
Stefan Weil
f2c6378b5a
Fix broken build for fuzzer
...
This partially reverts commit a792b67983
.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-04-09 08:05:55 +02:00
Egor Pugin
a792b67983
Basic usage of new Image class. Only pixDestroy is wrapped at the moment.
...
Add new methods to Image class and replace them in non-public code.
2021-03-31 22:39:43 +03:00
Egor Pugin
1d5b083447
[clang-format] Format unit tests.
2021-03-13 00:06:34 +03:00
Stefan Weil
ea4f9de4f4
Add include path for leptonica for fuzzer build
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-01-07 22:30:09 +01:00
Stefan Weil
66128429e5
Fix include statement for allheaders.h
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-01-05 23:18:39 +01:00
Stefan Weil
fe966cc0b1
Add build script for oss-fuzz fuzzers
...
This is a copy of projects/tesseract-ocr/build.sh including its history from
https://github.com/google/oss-fuzz.git .
It allows maintaining the build rules with the Tesseract source code.
The build rules for Leptonica were slightly modified to avoid
unneeded compilations.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2020-05-08 17:37:37 +02:00
Stefan Weil
6ce1a29d5a
Update fuzzer code to use TESSERACT_FUZZER_WIDTH, TESSERACT_FUZZER_HEIGHT
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2020-01-03 15:54:59 +01:00
Stefan Weil
26ba7e2f81
Fix #include path of public headers for unittest
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2019-10-29 08:41:47 +01:00
amitdo
e1bae15547
Fix #include path of public headers
2019-10-28 19:10:30 +02:00
Stefan Weil
2718b81a3e
fuzzer-api: Use environment variable TESSDATA_PREFIX if set
...
Clean also the code a little bit.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2019-03-26 11:09:22 +01:00
Stefan Weil
7e9970b4b1
Format fuzzer code with clang-format
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2019-03-26 11:09:22 +01:00
Stefan Weil
7cd012f3dd
Move fuzzer-api.cpp to subdirectory unittest/fuzzers
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2019-03-26 11:09:10 +01:00