wasm-tools 1.251.0

CLI tools for interoperating with WebAssembly files
Documentation
  0x0 | 00 61 73 6d | version 1 (Module)
      | 01 00 00 00
  0x8 | 01 04       | type section
  0xa | 01          | 1 count
--- rec group 0 (implicit) ---
  0xb | 60 00 00    | [type 0] SubType { is_final: true, supertype_idx: None, composite_type: CompositeType { inner: Func(FuncType { params: [], results: [] }), shared: false, descriptor_idx: None, describes_idx: None } }
  0xe | 03 02       | func section
 0x10 | 01          | 1 count
 0x11 | 00          | [func 0] type 0
 0x12 | 00 23       | custom section
 0x14 | 19 6d 65 74 | name: "metadata.code.branch_hint"
      | 61 64 61 74
      | 61 2e 63 6f
      | 64 65 2e 62
      | 72 61 6e 63
      | 68 5f 68 69
      | 6e 74      
 0x2e | 01          | 1 count
 0x2f | 00          | func: 0
 0x30 | 02          | 2 count
 0x31 | 03 01 00    | BranchHint { func_offset: 3, taken: false }
 0x34 | 06 01 01    | BranchHint { func_offset: 6, taken: true }
 0x37 | 0a 0c       | code section
 0x39 | 01          | 1 count
============== func 0 ====================
 0x3a | 0a          | size of function
 0x3b | 00          | 0 local blocks
 0x3c | 41 00       | i32_const value:0
 0x3e | 04 40       | if blockty:Empty
 0x40 | 0b          | end
 0x41 | 04 40       | if blockty:Empty
 0x43 | 0b          | end
 0x44 | 0b          | end