;;; TOOL: run-objdump-gen-wasm
;;; ARGS: -x
;;; 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 ;;;
0000019: error: unexpected opcode: 255 (0xff)
;;; STDERR ;;)
(;; STDOUT ;;;

bad-opcode.wasm:	file format wasm 0x1

Section Details:

Type[1]:
 - type[0] () -> i32
Function[1]:
 - func[0] sig=0

Code Disassembly:

000016 func[0]:
;;; STDOUT ;;)
