diff options
author | Alon Zakai <azakai@google.com> | 2021-07-13 08:18:02 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-13 08:18:02 -0700 |
commit | b217effd56b644c08f6ce4b86533c133b564af6d (patch) | |
tree | 5c4c72677143011f154d46049a9461eb3ad02bdc /src/wasm-interpreter.h | |
parent | 2bdd9e2f70063ebc9004ea2dd2e89e2090ee1c20 (diff) | |
download | binaryen-b217effd56b644c08f6ce4b86533c133b564af6d.tar.gz binaryen-b217effd56b644c08f6ce4b86533c133b564af6d.tar.bz2 binaryen-b217effd56b644c08f6ce4b86533c133b564af6d.zip |
Fix features section handling in the fuzzer (#3980)
The features section is additive since #3960. For the fuzzer to know which features
are used, it therefore needs to also scan the features section. To do this,
run --print-features to get the total features used from both flags + the
features section.
A result of this is that we now have a list of enabled features instead of
"enable all, then disable". This is actually clearer I think, but it does require
inverting the logic in some places.
Diffstat (limited to 'src/wasm-interpreter.h')
0 files changed, 0 insertions, 0 deletions