eclipse的java反编译器

发布于 2024-11-25 17:37:49 字数 203 浏览 6 评论 0原文

我用JD for eclipse来反编译类。行号有问题。例如,调试器显示当前第 1123 行,但 JD 生成的源代码不到 1000 行,但它在注释中显示正确(或非常接近)的行,

/*  519 */     this(new SunHTTPHandler());

而实际行号只有 51。

是否可以解决此问题?

I use JD for eclipse to decompile classes. There is a problem with line numbers. For example debugger shows current line 1123 but source code generated by JD has less than 1000 lines, however it shows correct (or very close to) lines in the comments

/*  519 */     this(new SunHTTPHandler());

while real line number is only 51.

Is it possible to solbe this issue?

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

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

发布评论

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

评论(2

悲凉≈ 2024-12-02 17:37:49

我不认为京东有能力把线路数弄对。我知道这非常烦人!

Jad 在行数方面比 JD 做得更好。然而,它在反编译方面表现较差。您可以尝试一下,看看它是否适合您。

或者,它应该是一个简单的 sed 脚本来处理输出文件以获得行号正确。

I don't think JD has any ability to get the line numbers right. This is incredibly annoying, i know!

Jad does a better job than JD with the line numbers. However, it does a worse job at decompilation. You could give it a try and see if it's good enough for you.

Alternatively, it should be a simple matter of sed scripting to massage the output files to get the line numbers right.

街角迷惘 2024-12-02 17:37:49

jadclipse 插件 可以对 jad 的输出进行排序以对齐行号,但代码非常有限(阅读:它经常失败)。

The jadclipse plugin can sort the output of jad to align line numbers but the code is pretty limited (read: it often fails).

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