wasm-disassembler
TypeScript icon, indicating that this package has built-in type declarations

0.0.44-alpha • Public • Published

🙊 This is in alpha state

Build status

Alpha stage

Quick information

This is an NPM library that is capable to disassembly webassemblies binaries. It is based on typescript and is targeting to be high-performance and minimalistic in the amount of dependencies.

To install it just issue:

npm install wasm-disassembler

To disassemble a WASM binary:

import { WasmMemoryProvider, WasmDisassembler } from 'wasm-disassembler';

const binaryProvider = new WasmMemoryProvider(binary);
const disassembler = new WasmDisassembler(binaryProvider);
const disassembly = await disassembler.Disassemble();

where binary is a Uint8Array type. Note that you can implement your own binary provider besides the already existing WasmMemoryProvider. For that purpose you just need to implement the WasmBinaryProvider interface.

Feedback

Did you find any bugs? Do you want a specific feature to be implemented for your organization? Drop me a line.

Readme

Keywords

Package Sidebar

Install

npm i wasm-disassembler

Weekly Downloads

3

Version

0.0.44-alpha

License

ISC

Unpacked Size

73.7 kB

Total Files

115

Last publish

Collaborators

  • jfmp