You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The simple command bashbash retdec-decompiler.sh test.exe provides different results, depending on how the path to 'retdec-decompiler.sh' is specified.
Only when including the 'C:' it's working (3rd case)
C:\Users\Michael>bash retdec-decompiler.sh test.exe /c/retdec/bin/retdec-decompiler.sh: line 23: ./retdec-utils.sh: No such file or directory /c/retdec/bin/retdec-decompiler.sh: line 169: get_realpath: command not found /c/retdec/bin/retdec-decompiler.sh: line 170: get_realpath: command not found
C:\Users\Michael>bash \retdec\bin\retdec-decompiler.sh test.exe \retdec\bin\retdec-decompiler.sh: line 23: ./retdec-utils.sh: No such file or directory \retdec\bin\retdec-decompiler.sh: line 169: get_realpath: command not found \retdec\bin\retdec-decompiler.sh: line 170: get_realpath: command not found
C:\Users\Michael>bash c:\retdec\bin\retdec-decompiler.sh test.exe Checking if file is a Mach-O Universal static library... RUN: c:/retdec/bin/retdec-macho-extractor --list C:/Users/Michael/test.exe
'c:\retdec\bin' is included in the PATH.
'bash' points to C:\msys64\usr\bin\bash.exe
The text was updated successfully, but these errors were encountered:
retdec-decompiler.sh uses a few shortcuts that make it not support being run outside of retdec's /bin folder, on any platform, though it seems like absolute path works. Patches are welcome. You might look into the Python branch, which doesn't have this limitation, currently at https://github.com/TheCodez/retdec/tree/bash_to_python
I will not look into this. We are working on Bash to Python re-implementation of all the scripts. I hope it will be ready soon and it will solve all these problems. Will check up on this once it is done.
Bash scripts were replaced by Python scripts (see #147#338). A new binary release will follow in a few days. If there are new problems, please create new issues, but this one is no longer relevant.
The simple command
bashbash retdec-decompiler.sh test.exe
provides different results, depending on how the path to 'retdec-decompiler.sh' is specified.Only when including the 'C:' it's working (3rd case)
C:\Users\Michael>bash retdec-decompiler.sh test.exe /c/retdec/bin/retdec-decompiler.sh: line 23: ./retdec-utils.sh: No such file or directory /c/retdec/bin/retdec-decompiler.sh: line 169: get_realpath: command not found /c/retdec/bin/retdec-decompiler.sh: line 170: get_realpath: command not found
C:\Users\Michael>bash \retdec\bin\retdec-decompiler.sh test.exe \retdec\bin\retdec-decompiler.sh: line 23: ./retdec-utils.sh: No such file or directory \retdec\bin\retdec-decompiler.sh: line 169: get_realpath: command not found \retdec\bin\retdec-decompiler.sh: line 170: get_realpath: command not found
C:\Users\Michael>bash c:\retdec\bin\retdec-decompiler.sh test.exe Checking if file is a Mach-O Universal static library... RUN: c:/retdec/bin/retdec-macho-extractor --list C:/Users/Michael/test.exe
'c:\retdec\bin' is included in the PATH.
'bash' points to C:\msys64\usr\bin\bash.exe
The text was updated successfully, but these errors were encountered: