Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Build and install script retdec (retargetable decompiler) on Kali Linux
#
# Project Homepage: https://github.com/avast-tl/retdec#linux
# This file is based on the Dockerfile from the repo above
#
apt update -y
apt install -y build-essential cmake git perl python3 doxygen graphviz upx flex bison zlib1g-dev libtinfo-dev autoconf automake pkg-config m4 libtool
cd /opt
git clone https://github.com/avast-tl/retdec
cd retdec && mkdir build && cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/home/retdec/retdec-install
make -j$(nproc)
make install
echo "Just make sure 'python' is symlinked to 'python3', then you can run retdec using:"
echo "cd /home/retdec/retdec-install/bin"
echo "./retdec-decompiler.py -a arm /path/to/myfile"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.