Skip to content
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

Better support for Delphi programs. #342

Open
0xBEEEF opened this issue Jun 20, 2018 · 0 comments
Open

Better support for Delphi programs. #342

0xBEEEF opened this issue Jun 20, 2018 · 0 comments

Comments

@0xBEEEF
Copy link

0xBEEEF commented Jun 20, 2018

Since the new adjustments, the decompiler works much better with Delphi programs than before. The result is really impressive, and is more than many decompilers achieved. The recognition of standard functions works well, and the parameters are also recognized correctly.

Personally I think that you can get a lot more out of Delphi. Best example is the IDR. This was once an interesting decompiler for Delphi programs, but apparently will not be further developed. The last commmits were several months ago. In the issues there is also a point for decompiling x64 programs. There it was mentioned that for this the complete decompiler core would have to be rewritten. But nothing's happened since.

What I think you should do: IDR contains a lot of know-how about the structure of Delphi programs. This recognizes inheritance of classes, interfaces and even events of controls, for example OnButtonClick. The assignment of methods to classes also works without any problems, which of course makes it much easier to understand the context of a function. All the methods are also recognized by RetDec and decompiled correctly. Wouldn't it make sense to somehow integrate all these possibilities into the RetDec environment, which have certainly been painstakingly developed by hand within several years? Somehow that would be cool if you could access all the metadata available in Delphi programs and integrate these names and prototypes directly into the decompilation.

In issue #116 a part of Delphi was already mentioned. The methods, which are in the header of a file, should also be read over it. That was already part of point #116.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants