|
|||
![]() |
|||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||
|
2.4. Calling the disassemblerIn the previous section you have used the assembler to create a Java class-file from an XJBC representation. In this section we will disassemble this generated class-file to re-generate it's XJBC representation. Provided that you have the file HelloWorld.class as previously created, you may use the disassembler to create an XML-representation: $ jbc2xml <HelloWorld.class >HelloWorld.xml Now you have disassembled the class-file and generated an XML-file. As you may see using a text editor, the contents of the previous file HelloWorld.xjbc and the newly created file HelloWorld.xml are nearly identical. Therefore you may use the output of the assembler as input to the disassembler, and the output of the disassembler as input to the assembler, nearly without loss of information (we will discuss this point later). |
||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||
|
©2003, tangentum.com
All rights reserved.
|
|||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||