HomePhabricator

[WebAssembly] Add validation to reloc section

Description

[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

Details

Committed
ncwMar 5 2018, 5:32 AM
Differential Revision
D43684: [WebAssembly] Add validation to reloc section
Parents
rL326696: [ARM][Asm] VMOVSRR and VMOVRRS need sequential S registers
Branches
Unknown
Tags
Unknown