Commit Graph

9535 Commits

Author SHA1 Message Date
Oliver Chang aca1497abf
Add a --no-serve option to the helper coverage command. (#10628)
This turns off the http report serving after a successful generation.
2023-07-03 06:58:26 +00:00
434b 9fca6817ed
[typescript] improve harness that has hopefully no timeout issues (#10612)
These harnesses seem to run a lot better and don't need the adjusted
`--timeout` option any more from what I was able to observe. Also, the
tested API increased a bit.
2023-07-03 15:04:13 +10:00
434b fdcf8b1d21
[protobuf.js] initial integration (#10613)
[protobuf.js] initial integration
2023-07-03 15:00:51 +10:00
pedro martelletto 77646865f3
[libfido2] Switch to OpenSSL 3.0, update libcbor (#10627)
With OpenSSL 1.1's imminent EOL, switch libfido2 to OpenSSL 3.0. While
here, update libcbor to 0.10.2. Tested locally with asan/msan and
libFuzzer, Honggfuzz, and AFL.
2023-07-03 11:21:41 +10:00
Roman Wagner d49ba9b9cc
[js-yaml] Initial integration (#10615) 2023-06-30 15:57:04 +10:00
434b f33bcf5db2
[lit] initial integration (#10618) 2023-06-30 10:30:14 +10:00
RBRi e85ff4dbf9
add com.code_intelligence.jazzer.api.BugDetectors.allowNetworkConnections(); (#10614)
this is a valid scenario for HtmlUnit.
2023-06-30 10:28:36 +10:00
434b 574a692f79
[jimp] initial integration (#10608)
[jimp] initial integration
2023-06-30 10:27:59 +10:00
434b 0b529dfca3
[fast-xml-parser] initial integration (#10607)
[fast-xml-parser] initial integration
2023-06-30 10:27:41 +10:00
434b 81f0980089
[sharp] initial integration (#10606)
[sharp] initial integration
2023-06-30 10:26:22 +10:00
DavidKorczynski 2b2008a594
infra: bump fuzz introspector (#10481)
Contains bug fixes for failed Python and Java projects

---------

Signed-off-by: David Korczynski <david@adalogics.com>
Co-authored-by: Oliver Chang <oliverchang@users.noreply.github.com>
2023-06-30 10:19:19 +10:00
434b 01d7325a3e
[lodash] improve error handling, formatting, and async (#10609)
Observed 2 crashes overnight that were non-security issues. This PR
ensures that the harness properly runs without reaching these non-issue
states early on.
2023-06-29 22:41:28 +01:00
Szabolcs Horvát a847b8d6b6
igraph: remove unused dependencies, enable centipede (#10622)
Two changes:

- Simplify Dockerfile, do not install packages which are no longer used
as dependencies
- Remove `fuzzing_engines` from `project.yaml` to ensure that all
fuzzing engines are used, including centipede
2023-06-29 22:40:21 +01:00
jonathanmetzman 6922c8c1ac
Use sarif by default (#10621) 2023-06-29 16:11:47 -04:00
AdamKorcz 2cbf2afc29
dapr: bump Go (#10617)
Signed-off-by: AdamKorcz <adam@adalogics.com>
2023-06-28 23:08:14 +01:00
Shu-yu Guo d591611bf9
Fix jsc build (#10488)
Apple engineers reached out to inform us that the JSC build is broken
because WebKit has migrated from their own Git instance to GitHub.

---------

Co-authored-by: Holly Gong <39108850+hogo6002@users.noreply.github.com>
Co-authored-by: Abhishek Arya <inferno@chromium.org>
2023-06-27 09:50:22 -07:00
jonathanmetzman 7accb03eee
Disable ochang_js_fuzzer for quickjs (#10605)
It doesn't work on quickjs
2023-06-27 09:01:16 -04:00
Khaled Yakdan 7df5a5da87
[d3] initial integration (#10596) 2023-06-27 08:59:53 -04:00
Henry Lin a46033cfe6
Apache Hive: Initial integration (#10572)
Integrating Apache Hive into OSS-Fuzz.
2023-06-27 10:41:17 +10:00
434b 3ae80b6491
[typescript] initial integration (#10576)
[typescript] initial integration
2023-06-27 10:41:00 +10:00
434b 12791b6a04
[tslib] initital integration (#10577)
[tslib] initital integration
2023-06-27 10:40:43 +10:00
434b 61955c3eb3
[lodash] initial integration (#10578)
[lodash] initial integration
2023-06-27 10:40:22 +10:00
434b 2b90b21b47
[closure-library] initial integration (#10579)
[closure-library] initial integration
2023-06-27 10:40:07 +10:00
434b eec573fcbe
[turf] initial integration (#10580)
[turf] initial integration
2023-06-27 10:39:52 +10:00
434b dcf6057d8d
[promise-polyfill] initial integration (#10581)
[promise-polyfill] initial integration
2023-06-27 10:39:36 +10:00
434b f727129386
[redux] initial integration (#10582)
[redux] initial integration
2023-06-27 10:36:36 +10:00
434b 2cd50570eb
[pako] initial Integration (#10583)
[pako] initial Integration

Co-authored-by: 0roman <wagner@code-intelligence.com>
2023-06-27 10:36:17 +10:00
434b 71ba0f59dd
[canvg] initial integration (#10595)
[canvg] initial integration
2023-06-27 10:35:58 +10:00
jonathanmetzman e83125b2ce
[postgresql] Disable AFL build (#10604)
Fixes https://github.com/google/oss-fuzz/issues/10603
2023-06-26 19:01:26 -04:00
jonathanmetzman e5d26b1b80
Reland "[infra] Update Jazzer to v0.17.1" (#10537)" (#10538)
This reverts commit cac7ccd85b.
2023-06-26 18:35:40 -04:00
Clarence "Sparr" Risher 295df324c6
Add javascript to new project guide (#10598)
This seems to have been left out when `javascript_lang.md` was created
and support for `language: javascript` was added.

Signed-off-by: Clarence "Sparr" Risher <clrnc@amazon.com>
Co-authored-by: jonathanmetzman <31354670+jonathanmetzman@users.noreply.github.com>
2023-06-26 12:52:31 -04:00
Clarence "Sparr" Risher 43688a9a6b
Rename swift.md for consistency with _lang.md pattern (#10599)
All other language-specific guide files are named `foo_lang.md`, as
distinct from `bazel.md` which is not for an implementation language
(and should probably get its own suffix, maybe bazel_build.md, but
that's another matter).

Signed-off-by: Clarence "Sparr" Risher <clrnc@amazon.com>
2023-06-26 12:51:24 -04:00
Stefan Prodan 6383b08d92
Update fluxcd to Go 1.20 (#10597)
We're migrating all Flux controllers to Go 1.20 and we're blocked by
`cr.io/oss-fuzz-base/base-builder-go` which comes with Go 1.19. This PR
installs Go 1.20 over 1.19 and adds `export CXX="${CXX} -lresolv"` to
the build script to avoid:

```
Building ./internal/controller/gitrepository_controller_fuzz_test.go.FuzzRandomGitFiles into FuzzRandomGitFiles
+ echo 'Building ./internal/controller/gitrepository_controller_fuzz_test.go.FuzzRandomGitFiles into FuzzRandomGitFiles'
+ compile_native_go_fuzzer ./internal/controller FuzzRandomGitFiles FuzzRandomGitFiles
/usr/bin/ld: /usr/bin/ld: DWARF error: invalid or unhandled FORM value: 0x25
FuzzRandomGitFiles.a(000020.o): in function `_cgo_cbcce81e6342_C2func_res_search':
cgo_unix_cgo_res.cgo2.c:(.text+0x32): undefined reference to `__res_search'
/usr/bin/ld: FuzzRandomGitFiles.a(000020.o): in function `_cgo_cbcce81e6342_Cfunc_res_search':
cgo_unix_cgo_res.cgo2.c:(.text+0x81): undefined reference to `__res_search'
clang-15: error: linker command failed with exit code 1 (use -v to see invocation)
```

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2023-06-26 16:40:07 +01:00
AdamKorcz 54fcd7868c
jackson-databind: fix broken build (#10594)
1. Change java parser
2. Add seed for `RandomClass` fuzzer
3. Bump branch to fuzz.

Signed-off-by: AdamKorcz <adam@adalogics.com>
2023-06-26 13:36:18 +01:00
DavidKorczynski c9485cb75e
tensorflow: fix UBSAN build (#10591)
The build is currently failing in UBSAN since a target is not
compatible. This fixes it.
2023-06-24 23:38:56 +01:00
Emmanuel Bourg 9d46ea3929
jsign: fuzzing for appx/msix files (#10584)
This is an additional fuzzer for the APPX/MSIX files signed by Jsign
2023-06-24 13:47:37 +01:00
DavidKorczynski 70e9e567d1
openapi-schema-validator: fix build (#10589)
Signed-off-by: David Korczynski <david@adalogics.com>
2023-06-24 13:34:33 +01:00
DavidKorczynski 0463aa2ee7
httpcore: fix build (#10588) 2023-06-24 13:34:23 +01:00
DavidKorczynski dae0aa1d8e
guice: fix build (#10587) 2023-06-24 12:35:27 +01:00
DavidKorczynski abbaa66efa
networkx: fix build (#10585)
Signed-off-by: David Korczynski <david@adalogics.com>
2023-06-24 12:35:17 +01:00
DavidKorczynski 1de52dc668
magic-enum: fix build (#10586)
Signed-off-by: David Korczynski <david@adalogics.com>
2023-06-24 12:35:04 +01:00
Holly Gong dff23c9f39
Reformat trial build logs (#10549)
https://github.com/google/oss-fuzz/issues/8774
1. Lists all running builds and their public accessible logs.
2. Writes logs when a build fails instead of waiting for all builds to
finish.
3. Writes a summary to list all failed builds and their logs. 
4. Lists all ongoing builds every hour.
5. When timeout:
  - Lists projects that failed within the timeout.
  - Lists projects that timed out.
- Timeout example:
https://github.com/google/oss-fuzz/pull/10549/checks?check_run_id=14426868359
2023-06-23 11:22:16 +10:00
Daiki Ueno 535434df41
p11-kit: Add new member to project (#10571)
cc @ZoltanFridrich
2023-06-22 19:14:47 +01:00
Li-Yu Yu 0b22833bcb
cras: Update contacts (#10574)
cc @b92paul
2023-06-22 19:14:29 +01:00
Clarence "Sparr" Risher 1647294b82
Add main_repo and language to new project doc, and links to field explanations. Fix workflow reference to repo_url. (#10553)
The PR Helper workflow complains if a new project doesn't include a
main_repo, so I've added that to the accepting new projects page.

I also added links from there to the specific fields in the new project
guide.

I also changed a reference in the workflow output to refer to the yaml
field name visible to submitters, rather than to the internal python
name for the same field which doesn't match.

---------

Signed-off-by: Clarence "Sparr" Risher <clrnc@amazon.com>
Co-authored-by: Holly Gong <39108850+hogo6002@users.noreply.github.com>
2023-06-22 12:30:01 +10:00
Holly Gong 123e5980b5
Update pr_helper criticality score (#10566)
Update repo_url as criticality score does not support url ends with
'.git'.
Example: 
~/go/bin$ `./criticality_score --format json
-gcp-project-id=clusterfuzz-external
https://github.com/kubernetes/kubernetes.git`
2023-06-21 14:27:39.583	INFO	Preparing default scorer
2023-06-21 14:27:41.007	INFO	deps.dev signal source enabled
`2023-06-21 14:27:41.869 WARN Repo cannot be collected {"worker": 0,
"url": "https://github.com/kubernetes/kubernetes.git", "error": "repo
failed: not found: https://github.com/kubernetes/kubernetes.git"}`

---------

Co-authored-by: Dongge Liu <alan32.liu@gmail.com>
2023-06-22 10:27:23 +10:00
jonathanmetzman 71b357c4f3
Lint differential cov script (#10570) 2023-06-21 20:02:17 -04:00
jonathanmetzman e2e0c6ccd6
Add script for generating differential coverage reports (#10569) 2023-06-21 19:50:12 -04:00
Martin Grigorov ea2b191045
Update the email of the primary contact for Apache Avro (#10568)
I cannot login and see the reports with my @apache.org email. OSS-Fuzz
supports only OAuth login via GMail and Github

Related-to: https://github.com/google/oss-fuzz/pull/10453
2023-06-21 13:53:37 +01:00
jonathanmetzman 9e4e62c473
Don't checkout chrome to build hermes (#10565) 2023-06-21 07:32:22 -04:00