-
Notifications
You must be signed in to change notification settings - Fork 745
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
[Strings] Fuzzer: Emit StringConcat #6532
Changes from all commits
fb8c6c6
93707ac
e52b750
32174ac
9e5f865
e634ad4
cdcf0d6
b0280eb
be8b6d6
8951580
5a5cde0
6e9e358
cd3f4f1
82a3355
d3e1cd5
29c4429
551cc02
337d13e
d93dd0c
e2dd362
c63a3a2
ae5aec8
53462b5
acdb131
c6d9058
16a09f5
3e75d2d
ccacdbf
67387ef
439ceb3
805334b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
total | ||
[exports] : 4 | ||
[exports] : 3 | ||
[funcs] : 5 | ||
[globals] : 14 | ||
[imports] : 5 | ||
|
@@ -8,47 +8,37 @@ total | |
[table-data] : 1 | ||
[tables] : 1 | ||
[tags] : 1 | ||
[total] : 710 | ||
[vars] : 35 | ||
ArrayGet : 1 | ||
ArrayLen : 1 | ||
ArrayNew : 16 | ||
ArrayNewFixed : 1 | ||
AtomicRMW : 1 | ||
Binary : 77 | ||
Block : 57 | ||
Break : 8 | ||
Call : 33 | ||
Const : 159 | ||
Drop : 7 | ||
GlobalGet : 17 | ||
GlobalSet : 14 | ||
I31Get : 2 | ||
If : 19 | ||
Load : 22 | ||
LocalGet : 66 | ||
LocalSet : 37 | ||
[total] : 387 | ||
[vars] : 23 | ||
ArrayNew : 1 | ||
ArrayNewFixed : 3 | ||
AtomicCmpxchg : 1 | ||
AtomicNotify : 1 | ||
Binary : 57 | ||
Block : 33 | ||
Break : 2 | ||
Call : 4 | ||
Const : 95 | ||
Drop : 2 | ||
GlobalGet : 15 | ||
GlobalSet : 15 | ||
If : 9 | ||
Load : 16 | ||
LocalGet : 41 | ||
LocalSet : 20 | ||
Loop : 3 | ||
MemoryFill : 1 | ||
Nop : 7 | ||
Pop : 4 | ||
RefAs : 14 | ||
RefCast : 3 | ||
RefEq : 1 | ||
RefFunc : 4 | ||
RefI31 : 9 | ||
RefIsNull : 3 | ||
RefNull : 26 | ||
RefTest : 2 | ||
Return : 9 | ||
SIMDExtract : 3 | ||
StringConst : 2 | ||
StringNew : 1 | ||
StructGet : 1 | ||
StructNew : 27 | ||
Throw : 1 | ||
Try : 5 | ||
TupleExtract : 15 | ||
TupleMake : 9 | ||
Unary : 15 | ||
Unreachable : 7 | ||
Nop : 2 | ||
Pop : 1 | ||
RefAs : 3 | ||
RefFunc : 2 | ||
RefI31 : 4 | ||
RefNull : 5 | ||
Return : 3 | ||
Store : 1 | ||
StringConst : 1 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Maybe tweak the input data again? It looks like this single There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Heh, I thought the same and tinkered with it for maybe 10 minutes before giving up. It's just very hard to get it to emit the right stuff here without stopping to emit other stuff (like GC instructions) by chance. Perhaps if we had a very large input, or multiple input files, that would be better... but I'm not sure it's worth it. |
||
StructNew : 11 | ||
Try : 1 | ||
TupleExtract : 7 | ||
TupleMake : 11 | ||
Unary : 9 | ||
Unreachable : 8 |
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.
Isn't this true of lots of instructions, though? Don't we have some depth limiting mechanism that already takes care of this?
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.
We do have a limit, yeah, but it is nice to avoid reaching it I think (as reaching it has downsides - we've exhausted input bytes). And this still gives a reasonable chance for concat to happen I think.