commit | e0316ce24e5fca8ec644e96ba9208acc703395b3 | [log] [tgz] |
---|---|---|
author | Nicholas Wilson <nicholas@nicholaswilson.me.uk> | Mon Mar 05 13:32:38 2018 +0000 |
committer | Nicholas Wilson <nicholas@nicholaswilson.me.uk> | Mon Mar 05 13:32:38 2018 +0000 |
tree | 88243ca85a462422a7f4b03092b8efa04ee15f0b | |
parent | 4a9afc559e4a6b0fd9854cbb0eb1e7e9267826c2 [diff] |
[WebAssembly] Add validation to reloc section We now check relocations offsets are within range, and the relocation index is valid. Also updated tests which contained invalid Wasm files that were previously not checked. Differential Revision: https://reviews.llvm.org/D43684 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@326697 91177308-0d34-0410-b5e6-96231b3b80d8