防止/减缓反编译的技术

发布于 2024-11-19 07:04:02 字数 327 浏览 8 评论 0原文

可能的重复:
最好的 Java 混淆器?

对于我的例子,我知道 eclipse 提供了一个反编译插件。我确信还有其他一些方法可以反编译程序。

我还听说反编译不是100%准确,并且结果可能相差很大(即使以相同的方式反编译相同的程序)。准确性将取决于代码的构造方式等。

可以使用哪些技术来使 java(或任何)程序更难以反编译?

Possible Duplicate:
Best Java obfuscator ?

For my example I know that eclipse offers a decompiling plugin. And I am sure there are a few other ways out there to go about decompiling programs.

I have also heard that decompiling is not 100% accurate, and the results can vary greatly(even when decoiling same program in same way). The accuracy will depend on how the code was constructed etc.

What techniques would one use to make a java (or any) program more difficult to decompile?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

明天过后 2024-11-26 07:04:02

您无法有效地使程序更难以反编译。一旦反编译,你可以让它变得更难理解,但反编译过程是确定性的。

You can't make the program effectively more difficult to decompile. You can make it harder to understand once it's decompiled, but the decompilation process is deterministic.

も星光 2024-11-26 07:04:02

第一种技术是使用混淆器。很多人喜欢 ProGuard 因为它与 Eclipse 集成得很好并且是免费的。另请参阅 Obfuscate4e,它可与其他混淆器以及 ProGuard 配合使用。

The number one technique is to use an obfuscator. Lots of people like ProGuard because it integrates nicely with Eclipse and is free. Also see Obfuscate4e, which works with other obfuscators as well as with ProGuard.

三生路 2024-11-26 07:04:02

来自谷歌的第一个结果:http://proguard.sourceforge.net/

First result from google: http://proguard.sourceforge.net/

給妳壹絲溫柔 2024-11-26 07:04:02

我还使用过yGuard,它似乎工作得很好。您也可以相当轻松地将它集成到 Ant 脚本中。

I've also used yGuard and it seemed to work nicely. You can integrate it into your Ant scripts fairly easily also.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文