summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2020-10-21 09:03:56 -0700
committerGitHub <noreply@github.com>2020-10-21 09:03:56 -0700
commitb7c452ea1bf0ebce9f8da19e8124c20b4373a009 (patch)
tree575bc5ede60ffdad8fc3c71cda5c1478ae74279b /test
parentfd4cfd180db4d8c9b2b99dca18e31763399b4702 (diff)
downloadbinaryen-b7c452ea1bf0ebce9f8da19e8124c20b4373a009.tar.gz
binaryen-b7c452ea1bf0ebce9f8da19e8124c20b4373a009.tar.bz2
binaryen-b7c452ea1bf0ebce9f8da19e8124c20b4373a009.zip
Fuzzer: Tweak constants during mutation as well (#3272)
Move the tweak function to an outer location, and call it from mutate() with some probability.
Diffstat (limited to 'test')
-rw-r--r--test/passes/fuzz_metrics_noprint.bin.txt50
1 files changed, 25 insertions, 25 deletions
diff --git a/test/passes/fuzz_metrics_noprint.bin.txt b/test/passes/fuzz_metrics_noprint.bin.txt
index a79ff8f26..da8acec57 100644
--- a/test/passes/fuzz_metrics_noprint.bin.txt
+++ b/test/passes/fuzz_metrics_noprint.bin.txt
@@ -1,30 +1,30 @@
total
[events] : 0
- [exports] : 18
- [funcs] : 22
+ [exports] : 45
+ [funcs] : 72
[globals] : 7
[imports] : 4
[memory-data] : 4
- [table-data] : 9
- [total] : 4993
- [vars] : 58
- binary : 397
- block : 736
- break : 204
- call : 173
- call_indirect : 32
- const : 823
- drop : 42
- global.get : 421
- global.set : 190
- if : 292
- load : 95
- local.get : 392
- local.set : 297
- loop : 146
- nop : 97
- return : 189
- select : 39
- store : 55
- switch : 1
- unary : 372
+ [table-data] : 30
+ [total] : 5321
+ [vars] : 256
+ binary : 416
+ block : 755
+ break : 178
+ call : 234
+ call_indirect : 49
+ const : 970
+ drop : 58
+ global.get : 461
+ global.set : 201
+ if : 313
+ load : 98
+ local.get : 412
+ local.set : 301
+ loop : 119
+ nop : 80
+ return : 209
+ select : 46
+ store : 43
+ unary : 375
+ unreachable : 3