Skip to content

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wasm-validator

WebAssembly (Wasm) is a portable low-level bytecode format widely used across various platforms, including browsers and servers. To ensure the correctness of Wasm programs before execution, they must first undergo static validation through a validator.

Wasm validator does a recursive walk of the AST, passing down the expected type for expressions, and checking each expression against that. An expected empty type can be matched by any result, corresponding to implicit dropping of unused values (e.g. in a block).

Features

  • Supports the validation rules of Wasm 1.0 MVP, including but not limited to module structure verification, type checking, and control flow validation
  • Capable of performing static verification on .wasm files and providing detailed information and locations of verification errors

Reference

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages