-
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
RetDec recognizes GCC 7.2.0 binaries as GCC 4.6.3 #39
Comments
Hello, I believe REST API uses some older stable version of RetDec so this is a possible regression as detections are currently under development. Could you please upload mentioned binary? |
@mbandzi We looked into this today for a bit with @metthal. There seems to be a regression with compiler detection. Consider the following file (32b ELF compiled with GCC 7.2.0 on Arch Linux): hello-gcc-7.2.0.elf:
When decompiled, the JSON config
When generating the // Detected compiler/packer: comment, our back-end ( We believe that there is a problem with the ordering of the detected compilers by their priority. In this case, the heuristic should probably have a greater priority than a signature having only 27/49 significant nibbles. |
fixed in master, thanks for the report |
hi, I want to know if retdec on github and on online server have the different version. On my Arch Linux pc, gcc version is 7.2.0. And then, I try to decompile a binary.
This is the result from REST API:
and the result from my local build:
its wrong.
btw, the project is amazing!
The text was updated successfully, but these errors were encountered: