-
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
Decompilation fails on assertion error in bin2llvmir::StaticCodeAnalysis::getAddressFromRef_x86() #333
Comments
Hi. If you were able to process the files with the previous version of RetDec and via other tools, then there indeed seems to be a bug in the current implementation of the PE parser in RetDec. As you have said, we have made several changes in the PE parser, so this seems to be a regression. A couple of things to get started:
|
What operating system do you use? Please, provide answers to the questions above, then we can start investigating the problem. |
OK, here's more information. RetDec crashes completely in different places. This is just an example. I already had an example of a crash in the "Providers initialization" step. But this error is occurring now.
|
Incorrect C++/CLI detection has already been reported (by you) in #233, so in this issue, let's just focus on the assertion error that you are getting. @PeterMatula will take a look at it and will let you know. |
Yeah, that's right. It's not important here. I just wanted to mention it. |
I removed the assert that caused this. It was mostly useful during writing that module, but I still do not know how to properly handle the case that assert was guarding. I was unable to find a binary in our testing suite that would trigger it. |
First of all, many thanks for the release of the new version! The performance and memory usage is now significantly better than on the first released version. You just made some changes when reading PE and ELF files. But now I have my problems with some programs. Somehow these PE files don't seem to be standard, or have content that isn't standard-compliant. I'm afraid I haven't been able to figure out exactly what it is yet. I only know that these files were created with the Visual C++ compiler, and also have a signature. But with e.g. the decompiler Snowman I can read the files without any problems. So I assume you still have some mistake here. Now I have a problem with the binaries themselves. I am not allowed to pass them on directly to you, I was forbidden to do so. Would it be possible to activate a kind of protocol to find out where something goes wrong? I would like to help you here, so that these files are also readable. That's a bit hard if I'm not allowed to share the files. Or maybe you know a program that allows you to analyze the PE files and find out exactly what is different about these files?
The text was updated successfully, but these errors were encountered: