0.3.1 • Published 2 years ago

@scaleton/tvm-disassembler v0.3.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

TVM Disassembler

Evolution of tvm-disassembler library that is built to be used also as a library that returns structured code. Has a list of typed opcodes and ability to read individual opcode from a slice.

Installation

yarn add @scaleton/tvm-disassembler

Basic Usage

import { Cell } from '@ton/core';
import { decompileAll, AssemblerWriter } from '@scaleton/tvm-disassembler';

const code = Cell.fromBase64('...');
const ast = decompileAll(code); // Build AST
const assembler = AssemblerWriter.write(ast); // Generate assembler from AST

Authors

License

MIT License

0.3.1

2 years ago

0.3.0

2 years ago

0.2.0

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago