-
Notifications
You must be signed in to change notification settings - Fork 953
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
decompile.sh: "retdec/scripts/fileinfo: No such file or directory" #5
Comments
With the following patch, it runs further. diff --git a/scripts/config.sh b/scripts/config.sh
old mode 100644
new mode 100755
index 3db20e5..5f3a2b4
--- a/scripts/config.sh
+++ b/scripts/config.sh
@@ -78,7 +78,7 @@ BIN2LLVMIR_PARAMS="$BIN2LLVMIR_PARAMS_DISABLES -inst-opt -verify $BIN2LLVMIR_VOL
# The following options are useful during debugging of bin2llvmirl optimizations.
#BIN2LLVMIR_PARAMS+="-print-after-all -debug-only=idioms -print-before=idioms -print-after=idioms"
-FILEINFO="$INSTALL_BIN_DIR/fileinfo"
+FILEINFO="$INSTALL_BIN_DIR/fileinfo.sh"
FILEINFO_EXTERNAL_YARA_PRIMARY_CRYPTO_DATABASES=(
"$INSTALL_SHARE_YARA_DIR/signsrch/signsrch.yara"
) But stops with the following error:
Is there something in the installation step I'm missing? I installed retdec with the following command sequence:
And invoke |
For reference,
Should there be a symlink or should this file be copied to the scripts directory? |
And, after a manual copy of
|
Thank you for your report. It seems to me that you forgot to install the decompiler via For example, if you did
then you would decompile files via
No manual patching is needed. |
Thanks! Now it works. I put a retdec-git package up on AUR for Arch Linux users. Cheers, |
I really wanted to try out retdec, the compile finished successfully -- without any manual intervention -- after 1.5 hours.
However, when trying to use
decompile.sh
on a test binary, I got the following error:The text was updated successfully, but these errors were encountered: