java bytecode editor? [closed]

吃可爱长大的小学妹 提交于 2019-11-27 08:04:44

Nothing decent with a UI, but you can use the Eclipse Bytecode Outline plugin to turn any Java class into ASM code, edit it, and produce the changed class. It's probably the most painless way at the moment.

http://asm.ow2.org/eclipse/index.html

I understand jasmin and jasper are the usual pair used to translate between bytecode and an assemly language representation.

IIRC, Apache BCEL comes with a tool to disassemble class files to code which creates the class file with BCEL.

I've used vi. :)

Just to be sure. Have you tried to decompile the class files? I don't know what are you trying to do exactly, but you could first decompile the classes, edit the sources and recompile again.

JAD is a very good decompiler which can handle pretty ugly bytecode and produce readable sources from it.

To create java bytecode you could use ASM which offers also eclipse plugins.

ASM is an all purpose Java bytecode manipulation and analysis framework. It can be used to modify existing classes or dynamically generate classes, directly in binary form.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!