forked from bytecodealliance/wasmtime
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
implement fuzzing for statically-defined component types
This is the first part of my work to address bytecodealliance#4307. We now generate 1000 arbitrary types and tests for those types at build time. Each test includes a component which imports and exports functions that take and return its respective type. The exported function calls the imported function, which is implemented by the host, and the host verifies that both the host function argument and the guest function return value match the original input value. In terms of bytecodealliance#4307, this includes the test case generator and the static API oracle. I'll follow up with a dynamic API oracle in a subsequent PR. Signed-off-by: Joel Dice <[email protected]>
- Loading branch information
Showing
9 changed files
with
1,153 additions
and
90 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.