diff options
author | Alon Zakai <alonzakai@gmail.com> | 2018-11-13 16:35:53 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-13 16:35:53 -0800 |
commit | 6b99d143a32263478b7d525886b0bea46cbbdcaa (patch) | |
tree | d6895579e11e03c9498bfe79f2da2ce8ffb8b446 /test/wasm2js/forward.2asm.js | |
parent | ea158f22d646c7b9bd49c6279189e25fdb31b247 (diff) | |
download | binaryen-6b99d143a32263478b7d525886b0bea46cbbdcaa.tar.gz binaryen-6b99d143a32263478b7d525886b0bea46cbbdcaa.tar.bz2 binaryen-6b99d143a32263478b7d525886b0bea46cbbdcaa.zip |
Better fuzzing (#1735)
* Recombine function pieces after randomly generating them, by creating copies and moving them around. This gives a realistic probability to seeing duplicate expressions, which some optimizations look for, which otherwise the fuzzer would have almost never reached.
* Mutate function pieces after recombination, giving not only perfect duplicates but also near-duplicates.
These operations take into account the type, but not the nesting and uniqueness of labels, so we fix that up afterwards (when something is broken, we replace it with something trivial).
Diffstat (limited to 'test/wasm2js/forward.2asm.js')
0 files changed, 0 insertions, 0 deletions