-
Notifications
You must be signed in to change notification settings - Fork 753
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[fuzzing] wasm2c integration #2772
Merged
Changes from all commits
Commits
Show all changes
139 commits
Select commit
Hold shift + click to select a range
225e383
wip [ci skip]
kripken 9bbef19
moar [ci skip]
kripken cb0637f
Merge remote-tracking branch 'origin/master' into refuzz
kripken 8d47a6c
work [ci skip]
kripken 3d849ef
fix
kripken 9302a8c
[ci skip]
kripken e430048
[ci skip]
kripken eab9225
[ci skip]
kripken ab7b31c
[ci skip]
kripken acdf1b5
[ci skip]
kripken 7f0feab
[ci skip]
kripken d5c6347
[ci skip]
kripken 5d0fe4c
[ci skip]
kripken c863d12
[ci skip]
kripken f68b197
trap on unaligned atomics
kripken 33f7c29
[ci skip]
kripken b89815f
[ci skip]
kripken 594fb6b
wrap [ci skip]
kripken 09ccac9
notifyOOB [ci skip]
kripken ddde0f0
[ci skip]
kripken 091213f
fix
kripken 225c852
[ci skip]
kripken 93eb265
fix
kripken b1e0da7
[ci skip]
kripken d006b8b
moar [ci skip]
kripken d243cf6
[ci skip]
kripken 0659b54
apply [ci skip]
kripken cd42dc7
apply [ci skip]
kripken 30ab1f0
test
kripken 91dd33c
[ci skip]
kripken 2008363
[ci skip]
kripken 66c39c5
python3
kripken bfee084
[ci skip]
kripken e1266c5
[ci skip]
kripken 1b6683b
[ci skip]
kripken cc14e69
[ci skip]
kripken 96afbad
go
kripken 0247207
Merge remote-tracking branch 'origin/atomic4' into atomic4
kripken d8e3a69
restore size
kripken 70f6124
seeds [ci skip]
kripken 06ffa35
back
kripken afb1990
[ci skip]
kripken 94192aa
unsigned
kripken 3e2af17
test
kripken 48ce612
style
kripken 7bb358b
tests
kripken 7d6e545
fix warning
kripken abf1709
[ci skip]
kripken d0d9005
[ci skip]
kripken 22a1934
[ci skip]
kripken 85b9a39
fixes
kripken 33212c9
more [ci skip]
kripken fd71421
style [ci skip]
kripken 1d2cf75
[ci skip]
kripken 89f829a
[ci skip]
kripken d5f6fde
[ci skip]
kripken a6b64a1
more [ci skip]
kripken f56102a
test [ci skip]
kripken 45ce956
[ci skip]
kripken 72e7597
[ci skip]
kripken 5d07e34
[ci skip]
kripken d947ed4
[ci skip]
kripken 65e31e3
style [ci skip]
kripken 2da1a85
[ci skip]
kripken e09ca94
[ci skip]
kripken 2a82b4b
wasm2js
kripken cc0d759
style [ci skip]
kripken 3235411
Merge remote-tracking branch 'origin/atomic4' into refuzz
kripken 16f0264
Merge remote-tracking branch 'origin/master' into refuzz
kripken 6379f47
fix [ci skip]
kripken 26e0fb3
more
kripken 9c8f498
Merge remote-tracking branch 'origin/master' into refuzz
kripken 6051c47
[ci skip]
kripken 764a328
[ci skip]
kripken dce9c46
[ci skip]
kripken 09abf7b
[ci skip]
kripken de84768
[ci skip]
kripken b24b2e2
[ci skip]
kripken f2aad14
[ci skip]
kripken 6c529d6
[ci skip]
kripken c603bff
[ci skip]
kripken 5040e0a
test [ci skip]
kripken 788948b
[ci skip]
kripken 7f51bfe
Merge remote-tracking branch 'origin/master' into refuzz
kripken 5970c7e
[ci skip]
kripken 56e2e76
Merge remote-tracking branch 'origin/master' into refuzz
kripken 0538fd0
Merge remote-tracking branch 'origin/master' into refuzz
kripken 73006a4
exec
kripken 28a4193
fix
kripken 59f1e0c
update test
kripken e1e45b0
remove unit tests as they fail on the bots; will investigate and foll…
kripken 575ec16
more [ci skip]
kripken 712b614
num => num_lines
kripken 12ef3f2
Merge branch 'refuzz2' into refuzz
kripken d6d995b
more feedback
kripken b2bfa3c
fix
kripken 95ee6c8
wasm2c fuzzing wip [ci skip]
kripken e30a42c
wasm2c fuzzing wip [ci skip]
kripken 1d00799
[ci skip]
kripken aa0ab6d
more [ci skip]
kripken cc36b4b
more [ci skip]
kripken 4eefb67
more [ci skip]
kripken 63b7477
more [ci skip]
kripken ca11613
more [ci skip]
kripken ad60120
more [ci skip]
kripken f89f0dc
more [ci skip]
kripken 1db10c8
more [ci skip]
kripken 8d02b2c
more [ci skip]
kripken 7bc435c
more [ci skip]
kripken 524bd32
more [ci skip]
kripken f711379
[ci skip]
kripken 84ee869
more [ci skip]
kripken 2ff63f9
more [ci skip]
kripken a780987
[ci skip]
kripken 67d25de
Merge remote-tracking branch 'origin/master' into wasm2c
kripken b2d7b32
fixes [ci skip]
kripken 561dd26
style
kripken d55a7b1
fixes [ci skip]
kripken b1558e6
fix
kripken 99f7c0f
nicer
kripken 8ac8042
fixes
kripken ba396ee
Disable multivalue in fuzzer in a clearer way
kripken 983e037
Merge remote-tracking branch 'origin/multifuzz' into wasm2c
kripken 16ca12b
Merge remote-tracking branch 'origin/master' into wasm2c
kripken 34b82e0
what year is this [ci skip]
kripken 001ecc9
Merge remote-tracking branch 'origin/master' into wasm2c
kripken 66c98ee
fix one clang-tidy issue that is unrelated to this PR
kripken 69d93a0
more tidy attempts
kripken f417436
more tidying
kripken f204459
review feedback
kripken 7e47ee9
more tidy
kripken c32f148
moar tidy
kripken 4c076d4
Merge remote-tracking branch 'origin/master' into wasm2c
kripken 7909e6e
Revert "moar tidy"
kripken a7b643c
Revert "more tidy"
kripken f7d1510
Revert "more tidy attempts"
kripken c8df1a4
review feedback
kripken 119e399
Merge remote-tracking branch 'origin/master' into wasm2c
kripken 32ede3a
comments
kripken File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure why generating this wrapper makes sense as part of wasm-opt. It seems like a separate function to me.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It could be a new tool I suppose, but we have 3 wrapper generators now (spec, js, wasm2c), and it's convenient to run them from wasm-opt so you can emit the wrapper as you generate the fuzz code, in a single invocation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
idk, it seems similar to a lot of other auxiliary functionality in wasm-opt like the fuzzing stuff or the JS wrappers.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh I see, there is a precedent here. In that case that fine for now.
But maybe as a followup this should be a separate tool? So you would
wasm-opt
and thenwasm-generate-fuzz-wrapper -type=wasm2c
or something less clunky than that.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, maybe that's better. Another option would be to make all 3 of those be passes.