4 ms·
I implemented a .class disassembler a while back by literally reading the spec. It's surprisingly accessible.
by pdpi 4y ago
I implemented a .class disassembler a while back by literally reading the spec. It's surprisingly accessible.
- noone_youknow 4y agoIt really is. We've Sun to thank for that I think.
- deleted 4y ago[deleted]
- weaksauce 4y agoYeah we had to create a java compiler and java interpreter in the compiler class I took(of course it was just a small subset of the runtime) pretty fun project for school but tedious.
- jbaiter 4y agoYeah, I had to write a small bytecode patcher from scratch the other day and was amazed at the quality of the writing in the spec. Took me all but 2h to implement what I wanted, with no real prior knowledge of JVM bytecodes and class file structure.