Commit Graph

6198 Commits

Author SHA1 Message Date
Guido Vranken a98ad2844e
[bls-signatures] Enable Fp2 math (#6351)
This enables and tests some additional math functions
2021-08-30 12:11:44 +01:00
Fabian Meumertzheim 6d247cdbbe
[zxing] Enable AWT headless mode (#6350)
Fixes issues with native AWT library loading.
2021-08-30 10:05:19 +01:00
Nikita Mikhaylov 4b569208a1
[ClickHouse] Enable coverage for memory and address sanitizer (#6348)
* Done

* done

* better
2021-08-29 20:49:33 -07:00
DavidKorczynski 40ea163e00
apache-httpd: make patches inline. (#6349) 2021-08-29 21:51:13 +01:00
Nikita Mikhaylov 4a93f2f49f
Done (#6347) 2021-08-29 19:07:47 +00:00
Guido Vranken 0a6f667e84
[bitcoin-core] Fix build (#6344)
* [bitcoin-core] Fix build

* [bitcoin-core] Add libsecp256k1 w20-p8 target

* [bitcoin-core] Fix
2021-08-29 09:42:06 -07:00
Kimball Thurston 0e7c2ba9c7
Add new C library for subsequent fuzz testing (#6346)
Also cleans up old cmake configure options

Signed-off-by: Kimball Thurston <kdt3rd@gmail.com>
2021-08-28 19:12:31 -07:00
Kleis Auke Wolthuizen 68ec050a01
[libvips] Upgrade to Ubuntu 20.04 (#6345)
- Use libbrotli from system.
- Build libjxl without sjpeg support.
- Link fuzzers against libmount and libblkid (needed by libgio).
- Sort and remove duplicated apt-get packages.
2021-08-28 18:19:31 +00:00
DavidKorczynski 7f51cf9f04
tdengine: initial integration. (#5675)
* tdengine: initial integration.

* tdengine: fix build following upstream email.
2021-08-28 08:45:22 -07:00
Roman Wagner 90dc42fb87
[zxing] Initial Integration (#6057) 2021-08-28 07:49:25 -07:00
Alastair Donaldson f7b1dfb4f8
Initial project file for SPIR-V Tools fuzzing (#6330)
* Add SPIR-V Tools fuzzer targets

Adds fuzzer targets for the SPIR-V Tools project.

* Disable honggfuzz, as it was failing in the CI.
2021-08-28 07:42:09 -07:00
DavidKorczynski 48d5a3e26d
rustls: update maintainer (#6325) 2021-08-28 07:39:35 -07:00
Alastair Donaldson 5bbbc5a7b5
Add fuzz targets for tint (#6331)
Adds fuzz targets for the SPIR-V reader of the tint project.
2021-08-28 07:38:54 -07:00
Ivan Blinkov e88041326d
Change the primary contact for the ClickHouse project (#6343) 2021-08-28 07:37:38 -07:00
Guido Vranken f1a39d8f39
[bls-signatures] Add target for size-optimized blst (#6342) 2021-08-28 08:47:38 +01:00
jonathanmetzman 20858d392a
[base-builder-new] Fix compile script. (#6340)
In https://github.com/google/oss-fuzz/pull/6322 compile was synced
with the version in base-builder. However, base-builder's compile
assumes that rust and go are installed. This change makes it possible
to run compile without those installed.
2021-08-27 13:00:03 -07:00
jonathanmetzman c8d4d35f57
[infra] Do precompiles first before copying other scripts. (#6337)
This means we don't need to rebuild AFL++ and honggfuzz when
iteratively working on scripts.
2021-08-27 09:52:18 -07:00
Ilya Yatsishin 7ad8b14a34
Add one more maintainer to ClickHouse project (#6334)
hq.zero.iq@gmail.com - Ilya Yatsishin
2021-08-27 07:58:19 -07:00
Jonathan Metzman 291a152e67 [base-images] Pin base-builder-swift instead of base-builder-new
to fix breakage.

This is intended to fix the same breakage as
https://github.com/google/oss-fuzz/pull/6327. But this fix does
not prevent us from creating new language builder images that do
not use xenial.

Related: #6180
2021-08-27 07:42:10 -07:00
Caolán McNamara 41a8efc925
[libreoffice] reenable msan (experimentally) after Ubuntu upgrade (#6333)
check_build on new baseline, i.e.

python infra/helper.py build_image libreoffice
python infra/helper.py build_fuzzers --sanitizer memory libreoffice
python infra/helper.py check_build --sanitizer memory libreoffice
2021-08-27 07:34:17 -07:00
Oliver Chang 8e36398e81
Fix exception in request_coverage_build. (#6328) 2021-08-27 07:21:50 -07:00
MarcoFalke 208558493d
Remove no longer needed build workarounds (#6329)
* Revert xenial workaround in speex (no longer needed)

This reverts commit 84c9dd3600.

* Revert xenial opus workaround (no longer needed)

This reverts commit 7cc0561aad.

* Remove ffmpeg build workaround for nasm

* Remove build workaround for dav1d

* Remove libavif build workaround

* Remove p11-kit build workaround

* Remove postgis build workaround
2021-08-27 09:37:24 +01:00
Oliver Chang 40b62b1140
Pin base-builder-new to xenial. (#6327)
Build is currently breaking
2021-08-27 06:10:15 +00:00
Catena cyber ac15f8e91f
rust coverage : only wrap cargo fuzz build (#6307)
Project image-rs uses cargo fuzz list
2021-08-26 14:41:02 -07:00
Oliver Chang 8c28dd7e0e
Fix exception in build. (#6323)
Have build_project.Project() take in project.yaml contents and parse
that.
2021-08-26 21:28:30 +00:00
jonathanmetzman 71a9130e3e
[Ubuntu upgrade] Copy files from base-builder/ to base-builder-new/ (#6322)
Two of these changes that are important for the Ubuntu upgrade are
the changes to "compile" and write_labels.py"
2021-08-26 14:17:55 -07:00
Caolán McNamara 00af9cfba1
libreoffice: default Ubuntu 20.04 gperf is new enough to use (#6321) 2021-08-26 13:16:40 -07:00
DavidKorczynski 5fa56976f4
apache-httpd: fix patch for hitting assert. (#6320) 2021-08-26 20:03:14 +00:00
DavidKorczynski 1fdbe5ebf7
libigl: fix build. (#6319) 2021-08-26 19:20:31 +00:00
Nikita Mikhaylov 4d63aa0efa
Updated a list of maintainers and enable all the sanitizers (#6299)
* first

* Update project.yaml

* Enable all sanitizers

* Enable coverage with sanitizers

* Update project.yaml

* Update build.sh
2021-08-26 20:20:04 +01:00
Catena cyber d5bc81af43
Fix gnupg patch (#6316)
* Fix gnupg patch

* Moved from xenial to focal
2021-08-26 19:17:18 +00:00
jonathanmetzman 8d90359bd9
[cifuzz] Fix bug caused by Ubuntu upgrade. (#6318)
* [cifuzz] Fix bug caused by Ubuntu upgrade.
systemd-detect-virt isn't being found.

* fix
2021-08-26 11:22:24 -07:00
Caolán McNamara 9d19fe950a
libreoffice: update builds deps (#6315) 2021-08-26 10:02:48 -07:00
jonathanmetzman b30e4f4727
[cifuzz] Handle upgrade to Ubuntu 20.04 (#6249)
Handle upgrade to Ubuntu 20.04

1. Don't do any special handling for MSAN anymore. It isn't needed.
2. Don't do any special handling for msan-libs-builder it doesn't
exist anymore.

Related: https://github.com/google/oss-fuzz/issues/6180
2021-08-26 10:02:19 -07:00
jonathanmetzman 03d18372d5
Reland [Ubuntu upgrade] Fix projects so they don't break with upgrade (#6313)
This reverts commit 878c32419c.

Related: #6180
2021-08-26 09:53:49 -07:00
jonathanmetzman 7ca003732d
[Ubuntu upgrade] Upgrade images to Ubuntu 20.04 (#6305)
Related: #6180.
2021-08-26 09:53:40 -07:00
Bhargava Shastry b3630abd46
Solidity: Upgrade evmone from 0.4.0 to v0.8.2 (#6207) 2021-08-26 12:17:39 -04:00
jonathanmetzman 6fc72b3a17
[Ubuntu upgrade][infra] Remove deploy for msan-build (#6314)
Related: #6180
2021-08-26 08:38:52 -07:00
Catena cyber 9cf30622eb
Do not use ld for coverage for thrift (#6310) 2021-08-26 14:56:08 +01:00
Catena cyber 8bb97d4a89
Do not let freeradius reset CFLAGS (#6311)
so as to get coverage
2021-08-26 14:55:38 +01:00
Catena cyber 72aec4861a
Specify cargo build target for ecc-diff-fuzzer (#6308)
cf https://github.com/google/oss-fuzz/issues/3469#issuecomment-630854977
2021-08-26 11:29:49 +01:00
Oliver Chang 878c32419c
Revert "[Ubuntu upgrade] Fix projects so they don't break with upgrade. (#6304)" (#6306)
This reverts commit 5549d804b3.
2021-08-26 15:42:34 +10:00
jonathanmetzman 5549d804b3
[Ubuntu upgrade] Fix projects so they don't break with upgrade. (#6304)
Fix projects so they don't break with upgrade.
These fixes are likely not backwards compatible and will fail on
Ubuntu 16.04.
Related: #6180
2021-08-25 22:14:52 -07:00
jonathanmetzman 390c200c1e
[Ubuntu upgrade] Disable MSAN in projects that will have false positives. (#6303)
Do this based mostly on instrumented_libraries and more tests.

Related: #6180
2021-08-25 22:14:20 -07:00
jonathanmetzman 370fb73473
[build][infra] Improve build functions. (#6296)
Important functional changes involve mostly improvements to
the command line scripts (this doesn't affect the build infra, only
local use):

1. Make sure scripts use the same builder as builds requested by infra, otherwise builds
will be very slow and will fail for larger projects.
2. Allow users to specify --test-images to use base images with suffix "-testing"
3. Allow script users to specify --parallel for parallel builds.
4. Allow script users to specify --testing so that builds are uploaded to testing buckets.
5. Allow script users to specify --branch so that builds use specified branch instead of master.
6. Clone oss-fuzz with depth 1 for improved speed and space usage.
7. Use logging instead of writing to stderr or print.
8. Allow scripts to accept multiple projects.
9. Allow script to keep executing after failure to get build steps.
10. Change scripts to use python3.
11. Tag more so builds are easier to query.
12. Log the gcb page for each build.

Other changes include major refactoring:

1. Don't construct image names from scratch using format strings each time they are used.
Provide a helper function for this.
2. Provide a helper function,  get_env instead of constructing the env from scratch each time.
3. Move compile step into its own function: get_compile_step.
4. Move upload steps into their own helper function get_upload_steps.
5. Don't misuse the name image_project when we really mean cloud project.
6. Move cleanup step into its own helper function: get_cleanup_step.
7. Exit with returncode of main function from build_project.
8. Add unittests for build_project.
9. Make request_build share run_build code with build_project.
10. Use proper spacing in comments.
11. Test builds other than libfuzzer-ASAN-x86_64. Test other sanitizers, fuzzers and architectures
12. Make build_and_run_coverage share more code with build_project.
13. Move tests for build_and_run_coverage_test.py out of requst_coverage_test.py into their own file.
14. Use single quotes for strings.
15. Store state for a build in Build object instead of passing it everywhere.
16. Don't abuse project_yaml dict for storing project state. Use a Project object instead.
17. Better variable naming.
18. Use more classes instead of passing around arguments.
19. Use more f-strings.
20. Make scripts share main function.
21. Begin comments with uppercase and end with period.
22. Don't import functions or classes as dictated by style guide.
23. Share more test code in test_utils

Related: #6180.
2021-08-25 11:44:52 -07:00
jonathanmetzman 0378a92819
[Ubuntu upgrade] Pin projects that fail on coverage (#6300)
Some of these seem to timeout, unclear if this is a fluke.
Can upgrade these later.

Related #6180
2021-08-25 09:13:32 -07:00
jonathanmetzman 3a4e6e4484
[Ubuntu upgrade] Remove support for prebuilt MSAN libraries. (#6280)
This is done in anticipation of the upgrade to Ubuntu 20.04 which wont support this.
We'll do this first so we can handle any breakages caused by this step before needing to handle breakages
caused by the upgrade. However, there shouldn't be any breakages due to #6281, but there may be some projects
we overlooked.
The only exception to this is libcxx.
Related: #6180.
2021-08-25 15:36:05 +00:00
jonathanmetzman ffe20d3857
[Ubuntu upgrade][NFC] Improve message for swift projects. (#6292)
Related: #6180.
2021-08-24 15:25:34 -07:00
jonathanmetzman 806d1a0620
[Ubuntu upgrade] Disable MSAN where it doesn't support on Ubuntu 20.04 (#6281)
These projects were tested and it was found that their use
of MSAN does not work on Ubuntu 20.04. Therefore their use of
MSAN is being disabled.

Related: #6180
2021-08-24 15:24:47 -07:00
jonathanmetzman bf1275f005
[Ubuntu upgrade] Pin projects to Xenial where fuzzer build fails. (#6293)
This does not include coverage build failures.
Related: #6180.
2021-08-24 15:24:25 -07:00