[mirror] PostGIS spatial database extension to PostgreSQL https://postgis.net
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Darafei Praliaskouski a1e81a42a9 OSS-Fuzz: stub new GEOS call to fix build 5 months ago
..
Makefile Commit Fuzzers for liblwgeom wkb OSS FUZZ testing 4 years ago
README.TXT small doco spelling 4 years ago
build_google_oss_fuzzers.sh Standardize shebangs 12 months ago
build_seed_corpus.sh Standardize shebangs 12 months ago
fuzzingengine.c Commit Fuzzers for liblwgeom wkb OSS FUZZ testing 4 years ago
geojson_import_fuzzer.cpp OSS Fuzz for geojson. 2 years ago
geojson_import_fuzzer.dict OSS Fuzz for geojson. 2 years ago
geojson_import_fuzzer.options OSS Fuzz for geojson. 2 years ago
geojson_import_fuzzer_seed_corpus.zip oss-fuzz: add geojson seed corpus. 2 years ago
geos_stub.h OSS-Fuzz: stub new GEOS call to fix build 5 months ago
proj_stub.h OSS Fuzz for geojson. 2 years ago
wkb_import_fuzzer.cpp OSS Fuzz for geojson. 2 years ago
wkb_import_fuzzer.options Commit Fuzzers for liblwgeom wkb OSS FUZZ testing 4 years ago
wkt_import_fuzzer.cpp OSS Fuzz for geojson. 2 years ago
wkt_import_fuzzer.dict OSS FUZZ Items must be surrounded by double quote. See ​https://github.com/google/oss-fuzz/issues/746 4 years ago
wkt_import_fuzzer.options Commit Fuzzers for liblwgeom wkb OSS FUZZ testing 4 years ago

README.TXT

This directory contains fuzzer main functions and scripts for the
Google OSS Fuzz project: https://github.com/google/oss-fuzz/

The main build scripts are in:
https://github.com/google/oss-fuzz/tree/master/projects/postgis
and call scripts in this directory.

The list of issues is in:
https://bugs.chromium.org/p/oss-fuzz/issues/list?q=postgis

- Simulate the build of (dummy) fuzzers like OSS Fuzz does:
$ make dummyfuzzers
They are created in /tmp/*_fuzzer as well as with the
/tmp/*_fuzzer_seed_corpus.zip files

Run one:
$ /tmp/wkt_import_fuzzer a_file_name

- Run locally OSS Fuzz:
$ git clone --depth=1 https://github.com/google/oss-fuzz.git
$ cd oss-fuzz
$ python infra/helper.py build_image postgis

Build fuzzers with the address sanitizer (could use undefined, etc...)
$ python infra/helper.py build_fuzzers --sanitizer address postgis

Test a particular fuzzer (replace wkt_import_fuzzer by other fuzzers
like the ones generated in /tmp by "make dummyfuzzers")
$ python i