;;; TOOL: run-gen-wasm ;;; FLAGS: --objdump ;;; ERROR: 1 magic version section(TYPE) { count[1] function params[0] results[1] i32 } section(FUNCTION) { count[1] type[0] } section(CODE) { count[1] func { locals[0] invalid_op[0xff] } } (;; STDERR ;;; Error running "wasm-objdump": *ERROR*: @0x00000019: unexpected opcode: 255 (0xff) ;;; STDERR ;;) (;; STDOUT ;;; bad-opcode.wasm: file format wasm 0x1 Section Details: Type: - type[0] () -> i32 Function: - func[0] sig=0 ;;; STDOUT ;;)