有没有一个程序来反编译Delphi? [英] Is there a program to decompile Delphi?

查看:643
本文介绍了有没有一个程序来反编译Delphi?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人刚把我的程序反编译成了C,这是一个非常好的反编译,产生了很好的,大部分是readabe的C代码(如果你忽略了一个变量或函数都没有一个可读的名字)大概看起来好像会实际编译。



但是有一个大问题。我碰巧知道他正在反编译的程序是用Delphi编写的,这里有很多难以翻译成C的概念。但是我对反编译器的输出印象深刻,这让我很奇怪。有没有什么可以做的Delphi?



最好的反编译工具,我看到的Delphi是DeDe。它可以做很多事情,但它甚至没有尝试产生Object Pascal代码作为其输出,并且自Delphi 6以来还没有更新。有什么更好的吗?

解决方案

我不认为有任何机器代码反编译器生成Pascal代码。大多数Delphi反编译器解析表单和RTTI数据,但实际上并不反编译机器代码。我只能建议使用DeDe(或类似的软件)来提取符号信息结合C反编译器,然后将反编译的C代码转换为Delphi(有很多源代码转换器)。


Someone just sent me a decompile of a program into C. It was a very good decompile, producing nice, mostly readabe C code (if you overlook the fact that none of the variables or functions had a human-readable name) that mostly looked like it would actually compile.

There was one big problem, though. I happen to know that the program he was decompiling was written in Delphi, which is full of concepts that are difficult to translate into C. But I was really impressed by the decompiler's output, and it made me wonder. Is there anything that can do that for Delphi?

The best decompiling tool I've seen for Delphi is DeDe. It can do a lot of things, but it doesn't even try to produce Object Pascal code as its output, and it hasn't been updated since Delphi 6. Is there anything better out there?

解决方案

I don't think there are any machine code decompilers that produce Pascal code. Most "Delphi decompilers" parse form and RTTI data, but do not actually decompile the machine code. I can only recommend using something like DeDe (or similar software) to extract symbol information in combination with a C decompiler, then translate the decompiled C code to Delphi (there are many source code converters out there).

这篇关于有没有一个程序来反编译Delphi?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆