Commit Graph

21 Commits

Author SHA1 Message Date
Alex Crichton 0dc597e53e
Add `handle_segv =1` to Wasmtime's options (#4266)
* Add `handle_segv =1` to Wasmtime's options

This is an attempt to handle #4264
2020-08-06 17:02:42 -07:00
Alex Crichton cd665e2a82
Add wasm-tools repository to wasmtime project (#4111)
* Add wasm-tools repository to wasmtime project

This commit expands the fuzzers run under the Wasmtime project to
include those in the https://github.com/bytecodealliance/wasm-tools
repository. This includes various parsing for utilities used by Wasmtime
itself but also generally useful for other Rust projects! The
maintainers of the wasm-tools repository are also all currently all on
the notification list for Wasmtime fuzz bugs as well.

* Load all corpuses from wasmtime-libfuzzer-corpus
2020-07-10 19:25:01 -07:00
devtty1er d561c49ae5
Update Dockerfiles (#4070)
* Use LABEL in place of MAINTAINER

* Remove LABEL maintainer from Dockerfiles
2020-07-06 13:18:23 -07:00
Abhishek Arya b74211ecf9
Skip coverage build in CI for non C/C++ projects. (#4075)
* Skip coverage build in CI for non C/C++ projects.

Fixes https://github.com/google/oss-fuzz/issues/4074

* Test wasmtime.
2020-07-06 13:13:02 -07:00
Nick Fitzgerald 82252c22ef
wasmtime: Only zip the seed corpus if it exists (#4065)
This will prevent build failures like
https://oss-fuzz-build-logs.storage.googleapis.com/log-5a0b58fe-4a35-46d5-b4d2-221905e7d208.txt
in the future.
2020-07-06 10:46:47 -07:00
Nick Fitzgerald 703b92adea
wasmtime: build fuzz targets with --all-features (#3850)
This enables not only the binaryen-using fuzz targets, but also the peepmatic fuzz targets (which is necessary after https://github.com/bytecodealliance/wasmtime/pull/1727).
2020-05-19 11:23:08 -07:00
Abhishek Arya bc45406906
Remove unneeded rust hacks after #3830. (#3840) 2020-05-18 08:04:26 -07:00
Abhishek Arya 4f7cf1b334
Simplify rust project setup. (#3830)
* Simplify rust project setup.

- Add rust and cargo-fuzz in base builder.
- Set RUSTC_BOOSTRAP to make ASan available.
- Set RUSTFLAGS and C,CXXFLAGS properly.
2020-05-17 16:45:54 -07:00
Alex Crichton f8cd51117f
[wasmtime] Update wasmtime's build script (#3515)
Accounts for changes in
https://github.com/bytecodealliance/wasmtime/pull/1343 where
compilation of all the fuzzers now requires extra features to be
enabled.
2020-03-17 17:24:39 -07:00
Alex Crichton f3f3da7523
wasmtime: Add @yurydelendik as a cc (#3360) 2020-02-07 09:19:14 -08:00
Alex Crichton ec58a65f33
[wasmtime] Fix default asan options (#3350)
This fixes typo mistakes from #3335 where we actually want the opposite
of the current defaults, not the current set of defaults!
2020-02-06 10:26:09 -08:00
Jonathan Foote 7f201a86e5
[wasmtime] correct auto_ccs (#3341)
I had used a site-specific alias for @tschneidereit in my last commit; he is unable to login to monorail with it. This corrects to an alias that should work. Apologies for the oversight.
2020-02-05 12:15:32 -08:00
Alex Crichton 94d0c3a7b4
[wasmtime] Try fixing delivery of SIGILL/SIGSEGV to JIT (#3335)
This is an attempt to apply the suggestions from #3316 to the fuzzing
infrastructure for the `wasmtime` target. This will hopefully allow the
delivery of SIGSEGV and SIGILL signals to the `wasmtime` program itself.
These are expected signals when executing wasm code so we don't want the
fuzzer to treat all forms of the signal as a fatal error.
2020-02-05 09:46:23 -08:00
Jonathan Foote a324584da1
[wasmtime] update auto_ccs (#3332)
Following up on internal bytecodealliance/wasmtime discussion, this removes the security@bytecodealliance.org alias from the wasmtime notification list and adds @tschneidereit.
2020-02-05 08:46:11 -08:00
Alex Crichton c2fa07a095
wasmtime: Enable debuginfo/frame pointers (#3314)
This commit does for Rust code what the `CFLAGS` are configured to do
for C++ code, which is to enable debuginfo (but line tables only) as
well as forcing frame pointer generation to all assist in generating
stack traces.
2020-01-31 15:02:20 -08:00
Max Moroz 7751ab5a87
[infra] Introduce "language" attribute in the project.yaml (#3297). (#3299)
* [infra] Introduce "language" attribute in the project.yaml (#3297).

* follow up

* enable the attribute for more projects

* trailing newline
2020-01-30 15:36:44 -08:00
Nick Fitzgerald 1405af8d0a
wasmtime: Add Alex Crichton to the auto cc list (#3308) 2020-01-30 14:04:10 -08:00
Jonathan Foote 22ea026e30
[wasmtime] fix security@bytecodealliance.org alias (#3307) 2020-01-29 18:43:23 -08:00
Alex Crichton 96c9cd26c2 Try to fix the wasmtime Rust build (#3298)
This is an attempt to fixup the errors found on #3292. Although I'm not
certain where the error was coming from this switches the Rust
installation to being in `PATH` by default so there's no need to
`source` any scripts to get access to the Rust compiler.
2020-01-28 06:41:49 -08:00
Jonathan Foote 038d4ac14a [wasmtime] initial integration (#3292) 2020-01-27 06:40:46 -08:00
Jonathan Foote 7964a95f75 [wasmtime] Add project.yaml (#3285) 2020-01-23 10:02:49 -08:00