Commit Graph

1869 Commits

Author SHA1 Message Date
Oliver Chang 5675ec6958
Rename execSan to SystemSan. (#8369)
* Rename execSan to SystemSan.

All of the bug detectors we've built (or plan to build) relate to system
state.

* fix documentation

* fix more documentation
2022-08-30 08:40:46 +10:00
jonathanmetzman dabee12f18
Roll clang to llvmorg-15-init-1464-gbf7f8d6f (#8313)
* Roll clang to llvmorg-15-init-1464-gbf7f8d6f

This is incremental roll meant to break less than #8108

* Pin some projects

* pin cryptofuzz
2022-08-24 10:31:28 -04:00
jonathanmetzman 3ce719bba2
[trial-build] Tag with branch name so trials are easier to tell apart. (#8338) 2022-08-23 17:42:59 -04:00
jonathanmetzman bbbbad5c07
Prepare for JavaScript fuzzing (#8325)
Prepare for JavaScript fuzzing
Related: #8324
2022-08-23 17:41:42 -04:00
jonathanmetzman a335a00b84
[infra] Add script for pinning images when updating builders. (#8328) 2022-08-23 17:39:33 -04:00
jonathanmetzman 0fb63dfc7e
fix tests (#8334) 2022-08-23 14:11:30 -04:00
jonathanmetzman a2e5a2d2f6
[arm] Add manifest steps to base-images (#8271)
Related: #8164
2022-08-23 10:54:20 -04:00
Navidem 0b0c48d96a
Increase timeout (#8318) 2022-08-23 02:49:04 +00:00
Navidem 3e430be712
Revert "build(deps): update google-cloud-datastore requirement from <2.0 to <3.0 in /infra/build/functions" (#8316)
Revert "build(deps): update google-cloud-datastore requirement from <2.0 to <3.0 in /infra/build/functions (#7447)"

This reverts commit 7893dde4e7.
2022-08-22 16:54:35 -07:00
dependabot[bot] 7893dde4e7
build(deps): update google-cloud-datastore requirement from <2.0 to <3.0 in /infra/build/functions (#7447)
build(deps): update google-cloud-datastore requirement

Updates the requirements on [google-cloud-datastore](https://github.com/googleapis/python-datastore) to permit the latest version.
- [Release notes](https://github.com/googleapis/python-datastore/releases)
- [Changelog](https://github.com/googleapis/python-datastore/blob/main/CHANGELOG.md)
- [Commits](https://github.com/googleapis/python-datastore/compare/v0.21.0...v2.5.1)

---
updated-dependencies:
- dependency-name: google-cloud-datastore
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-17 14:27:33 -04:00
Oliver Chang d412c6b08b
Pin Jazzer to older revision (#8275)
All latest builds seem to be broken with:

```
OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended
INFO: Loaded 112 hooks from com.code_intelligence.jazzer.runtime.TraceCmpHooks
INFO: Loaded 4 hooks from com.code_intelligence.jazzer.runtime.TraceDivHooks
INFO: Loaded 2 hooks from com.code_intelligence.jazzer.runtime.TraceIndirHooks
INFO: Loaded 4 hooks from com.code_intelligence.jazzer.runtime.NativeLibHooks
INFO: Loaded 8 hooks from com.code_intelligence.jazzer.sanitizers.Deserialization
INFO: Loaded 5 hooks from com.code_intelligence.jazzer.sanitizers.ExpressionLanguageInjection
INFO: Loaded 70 hooks from com.code_intelligence.jazzer.sanitizers.LdapInjection
INFO: Loaded 46 hooks from com.code_intelligence.jazzer.sanitizers.NamingContextLookup
INFO: Loaded 1 hooks from com.code_intelligence.jazzer.sanitizers.OsCommandInjection
INFO: Loaded 52 hooks from com.code_intelligence.jazzer.sanitizers.ReflectiveCall
INFO: Loaded 8 hooks from com.code_intelligence.jazzer.sanitizers.RegexInjection
Exception in thread "main" java.lang.ExceptionInInitializerError
  at com.code_intelligence.jazzer.sanitizers.RegexRoadblocks.<clinit>(RegexRoadblocks.java:72)
  at java.base/java.lang.Class.forName0(Native Method)
  at java.base/java.lang.Class.forName(Class.java:398)
  at com.code_intelligence.jazzer.instrumentor.Hooks$Companion$HooksLoader.loadHooks(Hooks.kt:66)
  at com.code_intelligence.jazzer.instrumentor.Hooks$Companion$HooksLoader.load(Hooks.kt:48)
  at com.code_intelligence.jazzer.instrumentor.Hooks$Companion.loadHooks(Hooks.kt:42)
  at com.code_intelligence.jazzer.agent.Agent.premain(Agent.kt:137)
  at com.code_intelligence.jazzer.driver.Driver.start(Driver.java:97)
Caused by: java.lang.NumberFormatException: For input string: "./jazzer_driver"
  at java.base/java.lang.NumberFormatException.forInputString(NumberFormatException.java:66)
  at java.base/java.lang.Long.parseLong(Long.java:680)
  at java.base/java.lang.Integer.parseUnsignedInt(Integer.java:835)
  at java.base/java.lang.Integer.parseUnsignedInt(Integer.java:929)
  at com.code_intelligence.jazzer.api.Jazzer.getLibFuzzerSeed(Jazzer.java:635)
  at com.code_intelligence.jazzer.api.Jazzer.<clinit>(Jazzer.java:38)
  ... 8 more
```
2022-08-17 19:21:53 +10:00
Paulo Gomes 0b416da224
native go fuzzing: Restrict fuzzer lookup to `*.go` (#8238)
native go fuzzing: Restrict fuzzer lookup to *.go
Projects containing words starting with Fuzz in non-go
files break compile_native_go_fuzzer with the error:
sed: -e expression #1, char 15: unknown option to 's'

Signed-off-by: Paulo Gomes <pjbgf@linux.com>

Signed-off-by: Paulo Gomes <pjbgf@linux.com>
2022-08-16 20:03:34 -07:00
jonathanmetzman c113501247
Upgrade to codeqlv2 to avoid warning (#8272)
* Upgrade to codeqlv2 to avoid warning

* debug
2022-08-16 17:08:56 -07:00
jonathanmetzman 9f150d831f
Fix trial build for coverage (#8268)
* Fix trial build for coverage

* Fix
2022-08-16 08:59:28 -04:00
jonathanmetzman 1749ae2b0f
Fix failing unittest. (#8262) 2022-08-15 19:34:34 -04:00
jonathanmetzman 04a35a201b
[arm] Add manifest script (#8223)
Add script to make manifests pointing to docker images for different
platforms.
Related: https://github.com/google/oss-fuzz/issues/8164
2022-08-12 09:04:24 -04:00
Navidem 84ffe92c14
Make sure projects list is sorted on the public index (#8225) 2022-08-11 18:23:56 -07:00
jonathanmetzman ddd25e3c3f
[AArch64] Support building on GCB (#8197)
Implemented using buildx to emulate aarch64 using QEMU
Related: #8164
2022-08-11 16:34:13 -04:00
jonathanmetzman 468e1c08ec
[aarch64] Set random_tags=0 (#8201)
Set random_tags=0
2022-08-10 04:08:18 +00:00
jonathanmetzman 572a95538a
[trial-build] Test changes to base-runner (#8199)
* [trial-build] Test changes to base-runner

* fix test
2022-08-09 19:26:19 -04:00
jonathanmetzman 29848637e2
Fix bad build check breakage (#8198)
fix
2022-08-09 18:52:46 -04:00
jonathanmetzman f02edd2c9a
Support C/C++ projects on AArch64. (#8184)
Related: #8164
2022-08-09 10:18:06 -04:00
jonathanmetzman a4c1193050
Support building base-runner on aarch64. (#8186)
Related: #8164
2022-08-09 04:10:55 +00:00
jonathanmetzman 97133fd942
[Incomplete] Support building targets with HWAsan (#8190)
Note that these targets still fail immediately.
Related: #8164
2022-08-08 22:57:59 -04:00
Navidem c28d437a4f
Bump introspector (#8153)
* Bump introspector

* include fixes

* Pickup latest changes
2022-08-08 16:53:03 -07:00
jonathanmetzman ac9a50c7a3
Support AArch64 in bad_build_check (#8188)
* Support AArch64 in bad_build_check

Related: #8164

* UNdo uneeded
2022-08-08 19:40:11 -04:00
jonathanmetzman 18bb7080ec
Reduce cores for gdb build to prevent failures (#8166) 2022-08-08 17:47:12 -04:00
jonathanmetzman 25591c884b
Don't install cmake when building clang (#8163) 2022-08-05 14:11:24 -04:00
jonathanmetzman 05243bb9c6
[NFC] Add initial support for AArch64 (#8165)
Related: https://github.com/google/oss-fuzz/issues/8164
2022-08-05 13:57:43 -04:00
jonathanmetzman 8ddcf0df18
Trial builds for fuzz introspector (#8111)
This will make it easier to test changes to introspector and to infra that affects introspector
2022-08-04 20:22:01 +00:00
jonathanmetzman 2e6e35dd98
Reduce base-builder-debug build time from 18 to 2 minutes (#8144)
This will speed up trial builds noticeably as well.
2022-08-03 16:33:20 -04:00
jonathanmetzman ef51e4fcae
[presubmit] Don't run tests in projects/ (#8143) 2022-08-03 15:02:51 -04:00
Catena cyber 2964ab1af5
execscan: detect arbitrary file open (#8009)
* execscan: detect arbitrary file open

* Checks for unknown top dir

* move the file open test to its own fuzz target

* Fixups from PR review
2022-08-03 13:09:32 +10:00
jonathanmetzman 3bed5727dd
Fix test (#8119) 2022-08-01 21:00:00 -04:00
jonathanmetzman 093f61f727
Tag builds with image suffix to make clearer in UI (#8117) 2022-08-02 00:59:49 +00:00
jonathanmetzman 90d60450aa
Build clang with all available cores. (#8116)
* nproc

* Remove comment
2022-08-01 20:56:55 -04:00
jonathanmetzman b64ec26f8d
Use test-image (#8118) 2022-08-01 20:43:20 -04:00
jonathanmetzman 04c738d9bc
Fix trial builds (#8114) 2022-08-01 19:04:31 -04:00
jonathanmetzman c3495be8f4
Support concurrent trial builds. (#8113)
Do this by appending the branch to the test image suffix.
2022-08-01 18:47:44 -04:00
Navidem d8fefb5b76
Bump FI and adjust the path to main.py in compile (#8078)
* Bump FI and adjust the path to main.py in compile

* Fix llvm build script

* Update FI version

* Update FI version
2022-08-01 09:59:21 -07:00
Jonathan Metzman 8d5c72d77a [wycheproof] Support wycheproof in bad_build_check.
Related #8040
2022-07-20 14:45:50 -04:00
jonathanmetzman 68f2340a6a
[wycheproof] Add build infra support (#8041)
* Build infra

* [wycheproof] Add build infra support

* Fix

* undo
2022-07-20 14:34:19 -04:00
jonathanmetzman d50556b758
[NFC] Fix build URL (#8039)
Fix build URL
2022-07-20 14:25:14 -04:00
jonathanmetzman a1f62a25ff
[wycheproof] Get compilation working (#8037) 2022-07-20 13:26:43 -04:00
jonathanmetzman ba3360fb66
[wycheproof] Support wycheproof as an engine in presubmit (#8035)
Related: #8034
2022-07-20 11:17:23 -04:00
jonathanmetzman 0975cbfc0a
Remove build support for dataflow sanitizer. (#7972)
Related: #7964
2022-07-12 15:51:03 +02:00
jonathanmetzman 6e39f856ab
[CFL] Give docker images unique names to support parallel fuzzing (#7911)
* Add a unique suffix so that parallel fuzzing is supported

* Fix

* fix tests

* Fix

* fix

* Fix

* Update docker.py
2022-07-12 15:50:10 +02:00
jonathanmetzman 54e2b96603
Remove build-infra support for DFSan. (#7971)
Related: #7964
2022-07-11 11:43:50 +02:00
Oliver Chang 70dd8b4c95
execSan: Send SIGABRT signal to initial (main thread). (#7988) 2022-07-11 06:03:51 +00:00
jonathanmetzman 817620fd70
Remove dataflow support from helper.py (#7970)
* Remove dataflow support from helper.py
Related: #7964

* fix

* fmt
2022-07-08 08:31:34 +02:00