ZhangZhuoSJTU / tiny-dec
PublicA tiny educational decompiler that helps people understand how decompilation works.
Tiny-dec is an educational tool that decompiles simple RISC-V machine code binaries into readable C source code via 19 inspectable analysis stages.
How It Works
You stumble upon this fun teaching tool while curious about how machine code turns back into readable programs.
Follow simple steps to get the tool ready, like downloading helpers and preparing examples.
Grab one of the included sample programs that were written in C and compiled to machine code.
Feed the machine code file to the tool and see it output clean, readable C source with loops, structs, and functions recovered.
Pause at any of the 19 clear stages to inspect how it simplifies, analyzes, and rebuilds the code.
You now grasp how professional tools reverse-engineer binaries, ready to tackle your own!
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.