Created
March 1, 2019 16:48
-
-
Save decidedlygray/ed14b8073ed0c2cc43e0cc0d7d914c2f to your computer and use it in GitHub Desktop.
Build and install script retdec (retargetable decompiler) on Kali Linux
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# 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