Check the validity of a .class file

Mario Mendez-Lojo marioml at ices.utexas.edu
Thu Nov 20 12:27:05 PST 2008


Hi guys,

I'm manipulating bytecode using the Soot tool. However, sometimes I'll output 
bytecode that is incorrect (Soot is not able to detect this): local variables 
declared as of void type, for instance. The transformed, invalid class will make 
the JVM crash.

The question is: is there any tool that can check whether a .class file is in 
the right format?

Thanks!



More information about the hotspot-dev mailing list