diff options
author | Alon Zakai <alonzakai@gmail.com> | 2017-08-22 20:41:36 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-22 20:41:36 -0700 |
commit | ac8ee6c9e7c43c80d8fb2c8166fd73f23e212069 (patch) | |
tree | b7f4c8b89faa7fdae944f4417a39ddc8344b7618 /test | |
parent | cfeddd741f6503457c6c4a5e1741d91eb0e7e08d (diff) | |
download | binaryen-ac8ee6c9e7c43c80d8fb2c8166fd73f23e212069.tar.gz binaryen-ac8ee6c9e7c43c80d8fb2c8166fd73f23e212069.tar.bz2 binaryen-ac8ee6c9e7c43c80d8fb2c8166fd73f23e212069.zip |
Fuzzing improvement: Run execution results on the same instance (#1132)
* run execution results on the same instance, so side effects of memory writes persist, which is the same as when we run the code in a js vm, so we can directly compare
* fuzz only exported functions, not things that opts might remove
* note results in fuzz-exec by export name
Diffstat (limited to 'test')
-rw-r--r-- | test/passes/fuzz-exec_O.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/passes/fuzz-exec_O.txt b/test/passes/fuzz-exec_O.txt index bb6796494..317988f8b 100644 --- a/test/passes/fuzz-exec_O.txt +++ b/test/passes/fuzz-exec_O.txt @@ -1,5 +1,5 @@ -[fuzz-exec] note result: func_0 => (none.const ?) -[fuzz-exec] note result: func_1 => (none.const ?) +[fuzz-exec] note result: $func_0 => (none.const ?) +[fuzz-exec] note result: $func_1 => (none.const ?) [fuzz-exec] 2 results noted (module (type $0 (func (result i64))) @@ -23,8 +23,8 @@ ) ) ) -[fuzz-exec] note result: func_0 => (none.const ?) -[fuzz-exec] note result: func_1 => (none.const ?) +[fuzz-exec] note result: $func_0 => (none.const ?) +[fuzz-exec] note result: $func_1 => (none.const ?) [fuzz-exec] 2 results noted [fuzz-exec] comparing $func_0 [fuzz-exec] comparing $func_1 |