wasm
Encoding of WebAssembly binaries, independent of the definy compiler: instruction opcodes, LEB128, sections · Public
Status: In progress · Every branch of the project (change the status there)
wasm.signed-leb128: Fn(n: Number) -> List<Number> // Encode an integer as signed LEB128 bytes (for i64.const immediates) wasm.unsigned-leb128: Fn(n: Number) -> List<Number> // Encode a non-negative integer as unsigned LEB128 bytes (for Wasm section and body sizes) wasm.uleb-range: Fn(start: Number, count: Number) -> List<Number> // Unsigned LEB128 encodings of start, start + 1, ... (count numbers) wasm.unreachable: Number // Opcode of the Wasm instruction unreachable (0x00) wasm.if: Number // Opcode of the Wasm instruction if (0x04) wasm.else: Number // Opcode of the Wasm instruction else (0x05) wasm.end: Number // Opcode of the Wasm instruction end (0x0b) wasm.call: Number // Opcode of the Wasm instruction call (0x10) wasm.call-indirect: Number // Opcode of the Wasm instruction call_indirect (0x11) wasm.return-call-indirect: Number // Opcode of the Wasm instruction return_call_indirect (0x13) wasm.local-get: Number // Opcode of the Wasm instruction local.get (0x20) wasm.local-set: Number // Opcode of the Wasm instruction local.set (0x21) wasm.local-tee: Number // Opcode of the Wasm instruction local.tee (0x22) wasm.i32-load: Number // Opcode of the Wasm instruction i32.load (0x28) wasm.i64-load: Number // Opcode of the Wasm instruction i64.load (0x29) wasm.i32-load8-u: Number // Opcode of the Wasm instruction i32.load8_u (0x2d) wasm.i32-store: Number // Opcode of the Wasm instruction i32.store (0x36) wasm.i32-store8: Number // Opcode of the Wasm instruction i32.store8 (0x3a) wasm.i32-const: Number // Opcode of the Wasm instruction i32.const (0x41) wasm.i64-const: Number // Opcode of the Wasm instruction i64.const (0x42) wasm.i32-eqz: Number // Opcode of the Wasm instruction i32.eqz (0x45) wasm.i32-eq: Number // Opcode of the Wasm instruction i32.eq (0x46) wasm.i64-eqz: Number // Opcode of the Wasm instruction i64.eqz (0x50) wasm.i64-eq: Number // Opcode of the Wasm instruction i64.eq (0x51) wasm.i64-lt-s: Number // Opcode of the Wasm instruction i64.lt_s (0x53) wasm.i64-gt-s: Number // Opcode of the Wasm instruction i64.gt_s (0x55) wasm.i64-le-s: Number // Opcode of the Wasm instruction i64.le_s (0x57) wasm.i64-ge-s: Number // Opcode of the Wasm instruction i64.ge_s (0x59) wasm.i64-add: Number // Opcode of the Wasm instruction i64.add (0x7c) wasm.i64-sub: Number // Opcode of the Wasm instruction i64.sub (0x7d) wasm.i64-mul: Number // Opcode of the Wasm instruction i64.mul (0x7e) wasm.i64-div-s: Number // Opcode of the Wasm instruction i64.div_s (0x7f) wasm.i64-rem-s: Number // Opcode of the Wasm instruction i64.rem_s (0x81) wasm.i64-and: Number // Opcode of the Wasm instruction i64.and (0x83) wasm.i64-or: Number // Opcode of the Wasm instruction i64.or (0x84) wasm.i64-xor: Number // Opcode of the Wasm instruction i64.xor (0x85) wasm.i64-shl: Number // Opcode of the Wasm instruction i64.shl (0x86) wasm.i64-shr-s: Number // Opcode of the Wasm instruction i64.shr_s (0x87) wasm.i64-extend-i32-u: Number // Opcode of the Wasm instruction i64.extend_i32_u (0xad) wasm.f64-load: Number // Opcode of the Wasm instruction f64.load (0x2B) wasm.f64-store: Number // Opcode of the Wasm instruction f64.store (0x39) wasm.f64-const: Number // Opcode of the Wasm instruction f64.const (0x44) wasm.f64-eq: Number // Opcode of the Wasm instruction f64.eq (0x61) wasm.f64-lt: Number // Opcode of the Wasm instruction f64.lt (0x63) wasm.f64-le: Number // Opcode of the Wasm instruction f64.le (0x65) wasm.f64-ceil: Number // Opcode of the Wasm instruction f64.ceil (0x9B) wasm.f64-floor: Number // Opcode of the Wasm instruction f64.floor (0x9C) wasm.f64-trunc: Number // Opcode of the Wasm instruction f64.trunc (0x9D) wasm.f64-sqrt: Number // Opcode of the Wasm instruction f64.sqrt (0x9F) wasm.f64-add: Number // Opcode of the Wasm instruction f64.add (0xA0) wasm.f64-sub: Number // Opcode of the Wasm instruction f64.sub (0xA1) wasm.f64-mul: Number // Opcode of the Wasm instruction f64.mul (0xA2) wasm.f64-div: Number // Opcode of the Wasm instruction f64.div (0xA3) wasm.f64-convert-i64-s: Number // Opcode of the Wasm instruction f64.convert_i64_s (0xB9) wasm.block: Number // Opcode of the Wasm instruction block (0x02) wasm.block-type-empty: Number // The empty Wasm block type (0x40), for block, loop and if without a result wasm.br: Number // Opcode of the Wasm instruction br (0x0c) wasm.br-if: Number // Opcode of the Wasm instruction br_if (0x0d) wasm.global-get: Number // Opcode of the Wasm instruction global.get (0x23) wasm.global-set: Number // Opcode of the Wasm instruction global.set (0x24) wasm.i32-add: Number // Opcode of the Wasm instruction i32.add (0x6a) wasm.i32-and: Number // Opcode of the Wasm instruction i32.and (0x71) wasm.i32-ge-u: Number // Opcode of the Wasm instruction i32.ge_u (0x4f) wasm.i32-gt-u: Number // Opcode of the Wasm instruction i32.gt_u (0x4b) wasm.i32-lt-u: Number // Opcode of the Wasm instruction i32.lt_u (0x49) wasm.i32-ne: Number // Opcode of the Wasm instruction i32.ne (0x47) wasm.i32-or: Number // Opcode of the Wasm instruction i32.or (0x72) wasm.i32-shl: Number // Opcode of the Wasm instruction i32.shl (0x74) wasm.i32-shr-u: Number // Opcode of the Wasm instruction i32.shr_u (0x76) wasm.i32-sub: Number // Opcode of the Wasm instruction i32.sub (0x6b) wasm.i32-wrap-i64: Number // Opcode of the Wasm instruction i32.wrap_i64 (0xa7) wasm.i64-store: Number // Opcode of the Wasm instruction i64.store (0x37) wasm.loop: Number // Opcode of the Wasm instruction loop (0x03) wasm.memory-grow: Number // Opcode of the Wasm instruction memory.grow (0x40) wasm.memory-size: Number // Opcode of the Wasm instruction memory.size (0x3f) wasm.return: Number // Opcode of the Wasm instruction return (0x0f) wasm.select: Number // Opcode of the Wasm instruction select (0x1b) wasm.value-type-i32: Number // The Wasm value type i32 (0x7f), for local variable declarations and block types wasm.value-type-i64: Number // The Wasm value type i64 (0x7e), for local variable declarations and block types wasm.misc-prefix: Number // Prefix byte of the Wasm miscellaneous instructions (0xFC), such as i64.trunc_sat_f64_s (0xFC 6) wasm.section-custom: Number // ID of the Wasm custom section (0) wasm.section-type: Number // ID of the Wasm type section (1) wasm.section-import: Number // ID of the Wasm import section (2) wasm.section-function: Number // ID of the Wasm function section (3) wasm.section-table: Number // ID of the Wasm table section (4) wasm.section-memory: Number // ID of the Wasm memory section (5) wasm.section-global: Number // ID of the Wasm global section (6) wasm.section-export: Number // ID of the Wasm export section (7) wasm.section-start: Number // ID of the Wasm start section (8) wasm.section-element: Number // ID of the Wasm element section (9) wasm.section-code: Number // ID of the Wasm code section (10) wasm.section-data: Number // ID of the Wasm data section (11) wasm.section-data-count: Number // ID of the Wasm data-count section (12) wasm.module-header: List<Number> // The first 8 bytes of a Wasm module: the magic number \0asm and version 1 wasm.section: Fn(id: Number, payload: List<Number>) -> List<Number> // A Wasm section: the section ID, the byte length of the payload (unsigned LEB128) and the payload wasm.code-entry: Fn(function: List<Number>) -> List<Number> // An entry of the Wasm code section: the byte length of the function (unsigned LEB128) followed by the function (local variable declarations and instructions) wasm.drop: Number // Opcode of the Wasm instruction drop wasm.ref-null: Number // Opcode of the Wasm instruction ref.null (0xD0), followed by a heap type wasm.ref-is-null: Number // Opcode of the Wasm instruction ref.is_null (0xD1) wasm.ref-eq: Number // Opcode of the Wasm instruction ref.eq (0xD3)
1–100 (of 115) Next 100