summaryrefslogtreecommitdiff
path: root/src/tools/fuzzing/fuzzing.cpp
diff options
context:
space:
mode:
authorHeejin Ahn <aheejin@gmail.com>2024-04-24 01:59:23 +0900
committerGitHub <noreply@github.com>2024-04-24 01:59:23 +0900
commit94ddae02e591adeb994ae2f798878e814f976bc1 (patch)
tree02799d1f9a60beeb574d36e1848a2b40e301e2c6 /src/tools/fuzzing/fuzzing.cpp
parent3b9dc42525553653d7477874e854584e957887b2 (diff)
downloadbinaryen-94ddae02e591adeb994ae2f798878e814f976bc1.tar.gz
binaryen-94ddae02e591adeb994ae2f798878e814f976bc1.tar.bz2
binaryen-94ddae02e591adeb994ae2f798878e814f976bc1.zip
[EH] Fix assumption that all throw_refs are created from rethrows (#6524)
`shouldBeRef` incorrectly assumed that all `throw_ref`s within a `catch` body had been generated from `rethrow`s, which was not true, because `throw_ref`s are also created when translating `try`-`delegate`s: https://github.com/WebAssembly/binaryen/blob/219e668e87b012c0634043ed702534b8be31231f/src/passes/TranslateEH.cpp#L304 This fixes the assumption and changes `cast` to `dynCast`.
Diffstat (limited to 'src/tools/fuzzing/fuzzing.cpp')
0 files changed, 0 insertions, 0 deletions