B.3 DumpClass

B.3 DumpClass

Name

 COM.sootNsmoke.oolong.DumpClass  Print a detailed description of    a class file. 

Abbreviated name

 DumpClass 

Synopsis

 java COM.sootNsmoke.oolong.DumpClass file1.class ... java DumpClass file1.class ... 

Description

DumpClass writes a complete description of the input class file, detailing what each byte means. DumpClass can be used to examine the internal structure of a class file. Some uses include

  • Examining broken class files that cannot be disassembled

  • Looking for verification errors

  • Learning more about how the class file format works

The format of the output is divided into three columns: location, hex dump, and interpretation. The location gives the offset into the file in hexadecimal. The hex dump shows the bytes at that location. The interpretation column says what those bytes mean.



Programming for the Java Virtual Machine
Programming for the Javaв„ў Virtual Machine
ISBN: 0201309726
EAN: 2147483647
Year: 1998
Pages: 158
Authors: Joshua Engel

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net