This is an archive of the discontinued LLVM Phabricator instance.

[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

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

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.