Skip to content

hacker-volodya/tvm-spec-example

Repository files navigation

tvm-spec example decompiler

A small decompiler built on top of tvm-spec with a clear pipeline split into frontend/middle/backend. See docs/ARCHITECTURE.md for the high-level overview.

Usage

git clone --recursive https://github.com/hacker-volodya/tvm-spec-example
cd tvm-spec-example
npm i
npm run build
node dist/index.js test_contracts/simple-wallet.boc

The CLI loads a BOC, lifts it to an internal IR, runs simple inlining passes, and prints the result in a readable pseudo-code form.

To regenerate tvm-spec TypeScript types from the schema:

node gen-spec.js

About

Example disassembler using info from tvm-spec

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors