java disassembler/assembler

Daniel Reynaud reynaud.danyel@wanadoo.fr
Wed Oct 19 16:15:00 GMT 2005


Hello,
I was looking through the archives of the mailing list when I saw somes 
posts earlier this year about a java disassembler which could produce output 
directly readable by a Java assembler, in order to generate test class files 
for the verifier.
Have you finally got these tools ? I am particularly interested because this 
is *exactly* what I am working on. I am writing a paper on J2ME security, 
and I have decided to run some tests on the KVM verifier. So I have decided 
to write my own tools to generate invalid class files easily.
My toolkit is quite not finished for the moment but it is a SourceForge 
project : http://tinapoc.sourceforge.net
I have developed (hacked would be more accurate) the following java tools :
zip2xml - a zip "disassembler", converts a zip (or jar) to xml
xml2zip - a zip "assembler", converts an xml file to zip (or jar)
dejasmin - a java disassembler, supporting jasmin output
I am now working on a new version of the Jasmin language as well as a new 
version of Jasmin (Jon Meyer has just added me to the Jasmin developers 
list).
Are you interested in such tools ? I would be glad if they could be useful 
to anybody. I also wouldn't refuse some help ;)
Regards,
Daniel
PS : in case you wondered why I wrote my own disassembler, it's because the 
existing ones don't work with broken class files. 


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /