bytecodealliance / bytecodealliance/wasmtime

cranelift: Use `bugpoint` mutators in `cranelift-icache` fuzzer

Open
#4,799 4 comments 1 reaction 0 assignees View on GitHub
cranelift fuzzing
Dominant language
Rust
Stars
18.6k
Forks
1.8k
Avg merge
1d 18h
Merged PRs (30d)
126

Description

👋 Hey,

I had this thought overnight and I'm not sure if there are any hidden downsides.

Both `cranelift-icache` and `clif-util bugpoint` change the input functions. `cranelift-icache` is a bit more random in its approach and `bugpoint` has some constraints to preserve. However `bugpoint` is quite developed and can mutate functions in a bunch of ways that `icache` can't, we could try to use those mutators in `icache` and check if it breaks the cache or not.

cc: @bjorn3 @bnjbvr @jameysharp

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.