4 ms·
Rather than using a hex editor, one might consider a tool like Soot from McGill's Sable group. It includes a DSL for dealing with bytecode: https://github.com
by ShabbyDoo 13y ago
Rather than using a hex editor, one might consider a tool like Soot from McGill's Sable group. It includes a DSL for dealing with bytecode:
https://github.com/Sable/soot https://github.com/Sable/soot
I had looked at Soot some time ago because of Dava, the Java decompiler included with the project.
Also, for programatic manipulation of bytecode, ASM is a great tool:
http://asm.ow2.org/ http://asm.ow2.org/
It includes a Java source generator which, given a .class file as input, produces a Java source class which will regenerate the input via the ASM builder APIs. Obviously, the benefit is that you get a starting point for building various re-writers, analyzes, etc.
- jfolkins 13y ago:) Agreed. ASM is awesome. I'm assuming we will get there. I've never heard of soot. Thanks I've now starred it.