aboutsummaryrefslogtreecommitdiff
path: root/infra/base-images/base-builder
AgeCommit message (Collapse)Author
2021-02-07afl++ CMPLOG test (#5130)van Hauser
* afl++ CMPLOG test * fixes
2021-02-06Fix unbound var.Abhishek Arya
2021-02-06optimal afl++ defaults (#5129)van Hauser
* optimal afl++ defaults * fixes
2021-02-03Simplify the Envoy integration by using the new rules_fuzzing primitives. ↵Stefan Bucur
(#5062) * Simplify the Envoy integration by using the new rules_fuzzing primitives. * Tweak ASAN instrumentation.
2021-02-02Update afl++ to 1f71b85426f837ebcae8381897d44a3a67c73a4f (#5095)Abhishek Arya
For https://github.com/google/oss-fuzz/issues/4280#issuecomment-771495411
2021-02-01Properly fix stripping of -fsanitize=fuzzer-no-link for afl++ (#5090)Abhishek Arya
Fixes several builds - ibmswtpm2, tpm2-tss, etc
2021-02-01Fixes afl++ installation (#5087)van Hauser
* fix afl++ installation * update to experimental afl++ checkout, setting afl-clang-fast * update afl++ commit id to prevent unnecessary compile warnings * Remove dictionary links addition. Co-authored-by: Abhishek Arya <inferno@chromium.org>
2021-02-01Revert "Switch to using afl-clang-fast for afl++. (#5074)" (#5086)Abhishek Arya
This reverts commit 42018eeb1cf2e1f3cffa15690988e183e73e6ecd.
2021-01-31Switch to using afl-clang-fast for afl++. (#5074)Abhishek Arya
2021-01-26Use afl++ in docs. (#5049)Abhishek Arya
2021-01-25[afl++] Use AFL++ instead of AFL for fuzzing. (#5046)jonathanmetzman
2021-01-25Replace terms that are uninclusive. (#5045)jonathanmetzman
2021-01-20Remove unneeded ADD layers in base-builder. (#5028)Abhishek Arya
See https://github.com/google/oss-fuzz/issues/5012#issue-789981845
2021-01-20add licenseJonathan Metzman
2021-01-20Lint everything (and test everything too?Jonathan Metzman
2021-01-20compile_go_fuzzer: pass build tags to `go list` (#5008)Andrew Lytvynov
`go list` will fail if all files in the fuzzed package use a build tag restriction (like the common `gofuzz` tag). Also, pass the `gofuzz` tag in the teleport build to plumb it through.
2021-01-20Install rust in base-builder with minimal profile. (#5015)Abhishek Arya
Remove docs and other unneeded stuff. https://blog.rust-lang.org/2019/10/15/Rustup-1.20.0.html
2021-01-20Remove unneeded honggfuzz examples from base-builder. (#5011)Abhishek Arya
Save 177Mb. root@eca2ea09a598:/src/honggfuzz/examples# du -h 16K ./glibc 8.0K ./libxml2 2.4M ./openssl/corpus_privkey 5.1M ./openssl/corpus_x509 18M ./openssl/corpus_client 27M ./openssl/corpus_server 52M ./openssl 16K ./externalfuzzers 12K ./libpng 25M ./bind/corpus 25M ./bind 29M ./linux_kernel_ip/corpus 30M ./linux_kernel_ip 16K ./libjpeg 20K ./terminal-emulators 33M ./apache-httpd/corpus_http1 39M ./apache-httpd/corpus_http2 72M ./apache-httpd 12K ./file 16K ./badcode/targets 8.0K ./badcode/inputfiles 36K ./badcode 177M .
2021-01-20Add the Bazel dependencies to the base builder image. (#4976)Stefan Bucur
* Add the Bazel dependencies to the base builder image. * Removing Python 2 from the base image. * Fix the Bazelisk fetching script.
2021-01-14Use python3 in checkout_build_install_llvm.sh, revert python move patches. ↵Abhishek Arya
(#4974) * Revert "Update Dockerfile" This reverts commit 5eae19fb57becfaf090f74ada887c040edbeca35. * Revert "Move python 3 install to base-clang, needed for clang build. (#4967)" This reverts commit 018314eefa3a247f48f0f063f351576b793e5d96. * Use python3 in checkout_build_install_llvm.sh
2021-01-14Update DockerfileAbhishek Arya
2021-01-14Move python 3 install to base-clang, needed for clang build. (#4967)Abhishek Arya
``` -- Looking for os_signpost_interval_begin - not found CMake Error at /usr/local/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:218 (message): Could NOT find Python3 (missing: Python3_EXECUTABLE Interpreter) Call Stack (most recent call first): /usr/local/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:582 (_FPHSA_FAILURE_MESSAGE) /usr/local/share/cmake-3.19/Modules/FindPython/Support.cmake:3148 (find_package_handle_standard_args) /usr/local/share/cmake-3.19/Modules/FindPython3.cmake:398 (include) CMakeLists.txt:711 (find_package) -- Configuring incomplete, errors occurred! See also "/work/llvm-stage1/CMakeFiles/CMakeOutput.log". See also "/work/llvm-stage1/CMakeFiles/CMakeError.log". The command '/bin/sh -c /root/checkout_build_install_llvm.sh' returned a non-zero code: 1 ```
2021-01-07Golang coverage improvements (#4920)Catena cyber
* Uses idiomatic way for golang package in coverage * Extends go coverage report to the whole repository
2020-12-18[infra] Mark more tests as integration (#4869)jonathanmetzman
2020-12-12Copy llvm-symbolizer in $OUT, needed for python targets. (#4832)Abhishek Arya
2020-12-11Fix pillow with new atheris changes. (#4826)Abhishek Arya
* Fix pillow with new atheris changes. * Fix pillow in ubsan.
2020-12-11Fix atheris integration. (#4824)Abhishek Arya
2020-12-07Cifuzz external build (#4656)jonathanmetzman
* Support building fuzzers for projects outside of OSS-Fuzz * Use retry wrapper * Fix some tests.
2020-11-30Enable UBSan for python projects. (#4757)Abhishek Arya
* Enable UBSan for python projects. * Update docs.
2020-11-29Fix "exec format error" due to incorrect shebang in python target. (#4746)Abhishek Arya
2020-11-24Golang coverage reports for projects with modules (#4690)Catena cyber
such as coredns cloning into GOPATH
2020-11-22Go json coverage (#4689)Catena cyber
* Good fuzz target for golang coverage with modules * Place target in right directory for go-json-iterator So that coverage gets access to the right package
2020-11-21Workaround for unbound var GO111MODULEAbhishek Arya
2020-11-21Golang project uses compile_go_fuzzer script (#4685)Catena cyber
* Golang project uses compile_go_fuzzer script * Kubernetes project uses compile_go_fuzzer script * Adds golang to ci covergae builds * fixup * Golang coverage with go modules cf coredns project
2020-11-20Python fuzzing fixes - disable leak checking, remove flags in atheris. (#4681)Abhishek Arya
* Python fuzzing fixes - disable leak checking, remove flags in atheris. * Fix flags printing. * Dont export, use directly. * Try unset. * Unset flags when python was built.
2020-11-19Fix ujson python fuzzing. (#4667)Abhishek Arya
* Fix ujson python fuzzing. * Fix. * Improve integration. * Remove preload, stick with wrapper with /bin/sh. * Update build.sh
2020-11-19[infra] Use generic compile_go_fuzzer for golang projects (#4659)Catena cyber
* Use generic compile_go_fuzzer for golang projects * fix the copyright in the new script Co-authored-by: Max Moroz <mmoroz@chromium.org>
2020-11-19Add missing ldconfig for shared lib path of python libs (#4663)Abhishek Arya
2020-11-19Enable shared build for python deps, needed for pyinstaller (#4661)Abhishek Arya
2020-11-19[infra] Add code coverage report generation for Go projects (#3142)Catena cyber
* Golang coverage report * Enables golang coverage report for gonids and go-dns * Generates summary for golang coverage reports * Performance profile for golang projects
2020-11-18Add pyinstaller to experiment with python fuzzer packaging (#4658)Abhishek Arya
2020-11-17Move atheris install base builder where python3 is installed. (#4650)Abhishek Arya
2020-09-30Enables MSAN for Suricata (#4455)Catena cyber
* Enables MSAN for Suricata * Move rustup std lib download to base-builder
2020-07-31Move cmake install to base-clang. (#4240)Oliver Chang
Clang now needs a newer cmake to build.
2020-07-10[infra] Build honggfuzz with -D_HF_LINUX_NO_BFD (#3886). (#4107)Max Moroz
* [infra] Build honggfuzz with -D_HF_LINUX_NO_BFD (#3886). * dummy edit to trigger CI
2020-06-07Install latest cmake, make easy to install i386 packages (#3943)Abhishek Arya
Fixes #3124, #2751
2020-05-27Set up python in one docker layer, remove python deps. (#3893)Abhishek Arya
* Set up python in one docker layer. Address review comment in https://github.com/google/oss-fuzz/pull/3890#pullrequestreview-419693856 * Remove all python dependencies, keep build-essential.
2020-05-27Remove libbz2-dev dependency installed in base-builder for python3 (#3890)Abhishek Arya
* Remove libbz2-dev dependency installed in base-builder for python3 Fixes #3888
2020-05-25Install Python 3.8.3 on builder image. (#3874)Abhishek Arya
Part of fixing #3756.
2020-05-25Don't add sanitizer=coverage in RUSTFLAGSAbhishek Arya