Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

java bytecode editor? [closed]

Tags:

java

bytecode

What's a good free bytecode editor? I want an editor, something with a GUI...

I tried jbe-0.1b with no luck (can't save the bytecode changes).

like image 313
AlfaTeK Avatar asked Mar 07 '10 08:03

AlfaTeK


People also ask

What is Java bytecode editor?

Bytecode editing is a quick solution when minor changes need to be made to a compiled Java program. The technique is particularly useful when you need to change static values such as strings, as these are simple changes that don't require complex knowledge of the underlying mechanisms of the Java compilation process.

What happens to Java bytecode?

When a Java program is executed, the compiler compiles that piece of code and a Bytecode is generated for each method in that program in the form of a . class file. We can run this bytecode on any other platform as well. But the bytecode is a non-runnable code that requires or relies on an interpreter.

Can you reverse engineer bytecode?

The compiled Java bytecode can be easily reversed engineered back into source code by a freely available decompilers. Bytecode Obfuscation is the process of modifying Java bytecode (executable or library) so that it is much harder to read and understand for a hacker but remains fully functional.


1 Answers

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

like image 57
Jevgeni Kabanov Avatar answered Oct 04 '22 18:10

Jevgeni Kabanov