A Walking Tour of Wasm-Tools
summary
Command-line wasm-tools proves a working toolkit: print/validate/demangle/strip/objdump parse and json-from-w convert and inspect binaries and text, smith deterministically generates fuzzed modules and can allow-invalid-funcs, mutate tweaks them and shrink reduces a failing 3.5KB test down to 136 bytes to isolate a Wasmtime panic, and strip removes debug sections turning a 1.7MB hello.wasm into 54 kilobytes. Dwarf-backed validation maps binary offsets to text lines, component wit/embed/new roundtrips component types, and wasm-tools itself compiles to wasm and runs under Wasmtime.
AI-written summary · about
chapters (7)
- 0:00Introduction
- 1:07Exploring a WM file
- 8:45Exploring subcommands
- 9:27Translating text to binary
- 14:12Summary
- 14:57Testing Web Assembly
- 27:42Compile to WM
related talks
46mWebAssembly (Digging a bit deeper)
49mWasmer Things: An Upside-Down Guide to WebAssembly
26mNavigating Strategies for Debugging WASM
36mWasmer Things: An Upside-Down Guide to WebAssembly
53mWASM Wonders Decoding WebAssembly's Inner Workings
34mWasm Components: The Interchangeable Parts of Software
42mAdventures in Making Wasm Fast and More Secure
39mJavaScript Toolchain for WebAssembly Components
