Page MenuHomePhabricator

[WebAssembly] Check function type indexes
ClosedPublic

Authored by ncw on Mar 1 2018, 9:55 AM.

Details

Summary

Also update tests containing invalid Wasm files, exposed by the check


Split out of D43940 as requested

Diff Detail

Repository
rL LLVM

Event Timeline

ncw created this revision.Mar 1 2018, 9:55 AM
sbc100 accepted this revision.Mar 1 2018, 9:12 PM
sbc100 added inline comments.
lib/Object/WasmObjectFile.cpp
775 ↗(On Diff #136556)

Maybe just "Invalid function type"?

This revision is now accepted and ready to land.Mar 1 2018, 9:12 PM
This revision was automatically updated to reflect the committed changes.