Ret: Reverse Engineering Tool from FUTO

9 hours ago 2

This is a quick and easy to use assembler/disassembler/emulator tool that runs in the browser through WebAssembly. It's perfect for learning a new CPU architecture, quickly disassembling bytecode, or trying out ideas in assembly.

  • Assemble, disassemble, and run X86, ARM64, ARM32, RISC-V, and PowerPC
  • Smart hex parser and formatter - output as bytes, 32-bit integers, or C arrays
  • Works entirely client-side in the browser through WebAssembly, no server required
  • Incredibly lightweight - no unnecessary JS frameworks, assets, or cookies
  • Customizable and ready for self-hosting - unpack a zip of static content into your web server

Install emscripten (sudo apt install emscripten). It should be installed in /usr/share/emscripten on Debian/Ubuntu.
If not, then you can install emsdk manually and use the toolchain file.

cmake -G Ninja -B build -DSUPPORT_ALL=ON -DCMAKE_TOOLCHAIN_FILE=/usr/share/emscripten/cmake/Modules/Platform/Emscripten.cmake cmake --build build

Run it in a web server that mimicks the deployed version:

cmake -G Ninja -B buildcli -DSUPPORT_ALL=ON cmake --build buildcli
Read Entire Article