News for hackers. Stuff that matters.
Re:Hacking Java Bytecode for Programmers (Part 2) by ShabbyDoo on Friday May 17, 2013 @06:34PM (#5727015)
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

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/

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.

Re:Hacking Java Bytecode for Programmers (Part 2) by jfolkins on Friday May 17, 2013 @06:43PM (#5727048)
:) Agreed. ASM is awesome. I'm assuming we will get there.

I've never heard of soot. Thanks I've now starred it.