Java 类文件编辑器
我可以反编译的最有效的方法是什么?编辑类文件?我真的只想编辑文件中的一行代码,但是 JBE(java ByteCode Editor)不允许我更改浮点常量。
反编译该类并重新编译将不起作用,正如我尝试过的那样,我收到许多依赖项错误和名称错误。 我怎样才能有效地解决这个问题?
谢谢
What is the most effective way I can decompile & Edit a class file? I really just want to edit one line of code in the file, however JBE (java ByteCode Editor) isn't letting me change a floating point constant.
Decompiling the class and recompiling will not work, as I have tried this, I get many dependency errors, and name errors.
How can I go about this effectively?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
我个人喜欢使用并且完全适合您的问题:
http://dirty-joe.com/
What I personally like to use and fits exactly your problem:
http://dirty-joe.com/
我不确定之前是否已经提到过,但我使用了这个 http://classeditor.sourceforge。 net/screenshot/index.html 当我遇到类似的问题时。
该工具非常不错,可以帮助您查看类文件字段/方法等。GUI 上有一个选项,可以选中它来编辑字段的“值”或直接反映在类文件中的内容。
I am not sure it has been mentioned before or not but i used this http://classeditor.sourceforge.net/screenshot/index.html when i ran into the similar problem.
The tool is pretty decent, can help you look at the class files fields/methods etc. There is an option on the GUI which can be checked to edit the "values" of fields or soemthing which will reflect directly in class file.
我尝试下载很多类文件反编译器,这是我发现的最好的一个:
Luyten
I tried downloading a LOT of class file decompilers and this is the best one that I found:
Luyten
https://en.wikipedia.org/wiki/Java_Decompiler
也已经失效了,你也可以使用内置的 IntelliJ 反编译器
https://en.wikipedia.org/wiki/Java_Decompiler
also it's defunct, you can also use builtin IntelliJ decompiler