diff options
author | Alon Zakai <alonzakai@gmail.com> | 2017-05-02 13:46:10 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-02 13:46:10 -0700 |
commit | 1f1018564c472b75335bf4bddbf65cfebb226fb0 (patch) | |
tree | 7af259bc900a7550d3f123f8dac31319661dd58c /src/wasm/wasm.cpp | |
parent | 7addcae1ea9a09b8c82e0ad660323a42d6535baa (diff) | |
download | binaryen-1f1018564c472b75335bf4bddbf65cfebb226fb0.tar.gz binaryen-1f1018564c472b75335bf4bddbf65cfebb226fb0.tar.bz2 binaryen-1f1018564c472b75335bf4bddbf65cfebb226fb0.zip |
Validation fixes for issues noticed by afl (#988)
* properly validate block endings
* blocks with a value must not have a last element that is none
* fully validate input types to binary expressions
* validate i32.eqz/i64.eqz more carefully
* if condition must be i32
Diffstat (limited to 'src/wasm/wasm.cpp')
0 files changed, 0 insertions, 0 deletions