;;; 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[0xfe 0x7f] } } (;; STDERR ;;; Error running "wasm-objdump": *ERROR*: @0x0000001a: unexpected opcode: 254 127 (0xfe 0x7f) ;;; STDERR ;;) (;; STDOUT ;;; bad-opcode-prefix.wasm: file format wasm 0x1 Section Details: Type: - type[0] () -> i32 Function: - func[0] sig=0 ;;; STDOUT ;;)