Skip to content

chaijie2018/wasm-validator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published