Skip to content

Fuzz the compiler with a non-trivial code but not overly complex #214

@greenhat

Description

@greenhat

Motivation

To fill the gap between manually written Wasm (too simple) and Rust programs using the malloc (too complex to debug) in our tests. We need something in the middle to cover a non-trivial control flow and memory ops (byte vs. word memory addressing), etc.

Implementation details

Generate the Wasm code with wasm-smith, compile it to MASM and run them both, comparing the runtime state (stack, memory) afterward.

Metadata

Metadata

Assignees

Labels

testingAnything involving the test suite, missing tests, test maintenance

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions