mirror of https://github.com/google/oss-fuzz.git
![]() Otherwise get errors like these for libsass. [+] All right - fork server is up. [-] PROGRAM ABORT : AFL_MAP_SIZE is not set and fuzzing target reports that the required size is very large. Solution: Run the fuzzing target stand-alone with the environment variable AFL_DEBUG=1 set and set the value for __afl_final_loc in the AFL_MAP_SIZE environment variable for afl-fuzz. Location : report_error_and_exit(), src/afl-forkserver.c:321 |
||
---|---|---|
.. | ||
base-images | ||
build | ||
ci | ||
cifuzz | ||
go/coverage | ||
testcases | ||
uploader | ||
.dockerignore | ||
.pylintrc | ||
README.md | ||
bisector.py | ||
bisector_test.py | ||
build_fuzzers.Dockerfile | ||
build_specified_commit.py | ||
build_specified_commit_test.py | ||
helper.py | ||
presubmit.py | ||
repo_manager.py | ||
repo_manager_test.py | ||
retry.py | ||
run_fuzzers.Dockerfile | ||
templates.py | ||
test_helpers.py | ||
test_repos.py | ||
utils.py | ||
utils_test.py |
README.md
infra
OSS-Fuzz project infrastructure
Core infrastructure:
base-images
- docker images for building fuzz targets & corresponding jenkins pipeline.
Continuous Integration infrastructure:
libfuzzer-pipeline.groovy
- jenkins pipeline that runs for each OSS-Fuzz project.docker-cleanup
- jenkins pipeline to clean stale docker images & processes.push-images
- jenkins pipeline to push built base images.jenkins-cluster
- kubernetes cluster definition for our jenkins-based build (not operational yet, #10).
helper.py
script to automate common docker operations
Command | Description |
---|---|
generate |
Generates skeleton files for a new project |
build_image |
Builds a docker image for a given project |
build_fuzzers |
Builds fuzz targets for a given project |
run_fuzzer |
Runs a fuzz target in a docker container |
coverage |
Runs fuzz target(s) in a docker container and generates a code coverage report. See Code Coverage doc |
reproduce |
Runs a testcase to reproduce a crash |
shell |
Starts a shell inside the docker image for a project |