View Single Post
  #1  
Old 01-24-2026, 20:29
CodeCracker CodeCracker is offline
VIP
 
Join Date: Jun 2011
Posts: 905
Rept. Given: 68
Rept. Rcvd 661 Times in 278 Posts
Thanks Given: 64
Thanks Rcvd at 3,820 Times in 717 Posts
CodeCracker Reputation: 500-699 CodeCracker Reputation: 500-699 CodeCracker Reputation: 500-699 CodeCracker Reputation: 500-699 CodeCracker Reputation: 500-699 CodeCracker Reputation: 500-699
MethodBodyEditor for Java

MethodBodyEditor for Java
A Java class editor
Just Open the desired Java class (File->Open)
and then select the desired method from "Methods" tree
after that you will see a list with all instructions
of selected method. In order to edit instructions
double click on instruction or do a right click on the instruction
and select from menu "Show Opcode"
then simple enter the hexadecimal opcodes of new instructions
and click OK.
Finally save with File->Save.

MethodBodyEditorJava8:
- Added Java 8 new contants pools:
http://www.docjar.com/html/api/com/sun/tools/classfile/ConstantPool.java.html
- Added search member name: File->Search

MethodBodyEditor v2:
- Added jar support, now you can select a class from jar,
- It will output as jar if save file name end with .jar (jar extension)! (But it takes some time!)
- Nop between Block Start and Block End - including margins
* on method body: click choose start instruction and click "Block start", choose end instruction and click "Block end",
finally nop between them by clicking on "Nop Start-End".

MethodBodyEditor v1.1, MethodBodyEditor v2.1
New:
- added invokedynamic opcode
Attached Files
File Type: rar MethodBodyEditor_invokedynamic_opcode.rar (260.9 KB, 12 views)
Reply With Quote
The Following 3 Users Say Thank You to CodeCracker For This Useful Post:
niculaita (01-24-2026), tonyweb (01-25-2026), wilson bibe (01-25-2026)