Stream: git-wasmtime

Topic: wasmtime / PR #6001 fuzzgen: Generate random ISA flags


view this post on Zulip Wasmtime GitHub notifications bot (Mar 13 2023 at 13:54):

afonso360 opened PR #6001 from fuzz-isa to main:

:wave: Hey,

This PR allows fuzzgen to generate random ISA flags and run the tests with them. It has two modes, for icache since we are just compiling the code we enable all flags, but for fuzzgen we actually need to execute them, so we use cranelift-native and only allow flags available in the host.

So far this has found the following issues on icache, so we need to fix them before merging:

I also don't have AVX-512 hardware, so It would be really nice if someone could run this on one of those fancy machines before merging, or we can also let OSS-Fuzz do it.

This has otherwise found nothing on AArch64 and RISC-V.

Fixes #5816

view this post on Zulip Wasmtime GitHub notifications bot (Mar 13 2023 at 13:54):

afonso360 requested jameysharp for a review on PR #6001.

view this post on Zulip Wasmtime GitHub notifications bot (Mar 13 2023 at 13:55):

afonso360 edited PR #6001 from fuzz-isa to main:

:wave: Hey,

This PR allows fuzzgen to generate random ISA flags and run the tests with them. It has two modes, for icache since we are just compiling the code we enable all flags, but for fuzzgen we actually need to execute them, so we use cranelift-native and only allow flags available in the host.

This has found the following issues on icache, so we need to fix them before merging:

I also don't have AVX-512 hardware, so It would be really nice if someone could run this on one of those fancy machines before merging, or we can also let OSS-Fuzz do it.

This has otherwise found nothing on AArch64 and RISC-V.

Fixes #5816

view this post on Zulip Wasmtime GitHub notifications bot (Mar 13 2023 at 14:23):

afonso360 edited PR #6001 from fuzz-isa to main:

:wave: Hey,

This PR allows fuzzgen to generate random ISA flags and run the tests with them. It has two modes, for icache since we are just compiling the code we enable all flags, but for fuzzgen we actually need to execute them, so we use cranelift-native and only allow flags available in the host.

This has found the following issues on icache, so we need to fix them before merging:

I also don't have AVX-512 hardware, so It would be really nice if someone could run this on one of those fancy machines before merging, or we can also let OSS-Fuzz do it.

This has otherwise found nothing on AArch64 and RISC-V.

Fixes #5816

view this post on Zulip Wasmtime GitHub notifications bot (Mar 13 2023 at 14:27):

afonso360 edited PR #6001 from fuzz-isa to main:

:wave: Hey,

This PR allows fuzzgen to generate random ISA flags and run the tests with them.

It has two modes:

This has found the following issues on icache, so we need to fix them before merging:

I also don't have AVX-512 hardware, so It would be really nice if someone could run this on one of those fancy machines before merging, or we can also let OSS-Fuzz do it.

This has otherwise found nothing on AArch64 and RISC-V.

Fixes #5816

view this post on Zulip Wasmtime GitHub notifications bot (Mar 13 2023 at 14:27):

afonso360 edited PR #6001 from fuzz-isa to main:

:wave: Hey,

This PR allows fuzzgen to generate random ISA flags and run the tests with them.

It has two modes:

This has found the following issues on icache, so we need to fix them before merging:

I also don't have AVX-512 hardware, so It would be really nice if someone could run this on one of those fancy machines before merging, or we can also let OSS-Fuzz do it.

This has otherwise found nothing on AArch64 and RISC-V.

Fixes #5816

view this post on Zulip Wasmtime GitHub notifications bot (Mar 13 2023 at 14:35):

afonso360 edited PR #6001 from fuzz-isa to main:

:wave: Hey,

This PR allows fuzzgen to generate random ISA flags and run the tests with them.

It has two modes:

This has found the following issues on icache, so we need to fix them before merging:

I also don't have AVX-512 hardware, so It would be really nice if someone could run this on one of those fancy machines before merging, or we can also let OSS-Fuzz do it.

This has otherwise found nothing on any arch via fuzzgen.

Fixes #5816

view this post on Zulip Wasmtime GitHub notifications bot (Mar 13 2023 at 22:47):

jameysharp submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Mar 21 2023 at 15:56):

afonso360 has marked PR #6001 as ready for review.

view this post on Zulip Wasmtime GitHub notifications bot (Mar 22 2023 at 11:42):

afonso360 merged PR #6001.


Last updated: Oct 23 2024 at 20:03 UTC