Many-to-many binary translation using Ghidra and LLVM.
cmake -DGHIDRA_DIR=<ghidra repo root> -DLLVM_DIR=<LLVM build dir>/lib/cmake/llvm/
cmake --build .
./quadra <input binary>
Quadra has been tested to work on Ubuntu Linux 20.04.
The GHIDRA_DIR
enviroment variable must be set to the path of a Ghidra installation. The MIPS processor currently supported is the R5900, so the Ghidra installation must have the ghidra-emotionengine plugin installed (and compiled to a .sla file using the sleigh_opt utility included with the decompiler).