codeql-action/node_modules/@webassemblyjs/wasm-parser
2020-08-11 12:43:27 +01:00
..
esm commit node_modules and generated files 2020-08-11 12:43:27 +01:00
lib commit node_modules and generated files 2020-08-11 12:43:27 +01:00
LICENSE commit node_modules and generated files 2020-08-11 12:43:27 +01:00
package.json commit node_modules and generated files 2020-08-11 12:43:27 +01:00
README.md commit node_modules and generated files 2020-08-11 12:43:27 +01:00

@webassemblyjs/wasm-parser

WebAssembly binary format parser

Installation

yarn add @webassemblyjs/wasm-parser

Usage

import { decode } from "@webassemblyjs/wasm-parser";

const decoderOpts = {};

const ast = decode(binary, decoderOpts);

Decoder options

  • dump: print dump information while decoding (default false)
  • ignoreCodeSection: ignore the code section (default false)
  • ignoreDataSection: ignore the data section (default false)