KOPI | ||
---|---|---|
Prev | Next |
KOPI classfile is an extensible package written completely in Java that allows you to read, edit and write classfiles. It is used by KJC (Java compiler), KSM (Java assembler) and DIS (Java disassembler).
This list shows typical tools that may be built with KOPI Classfile:
Backend for compilers that generate code for the Java Virtual Machine;
Java assembler;
Optimizer for classfiles (obfuscators, code optimizers, ...);
Bytecode level tools (instrumenters, profilers);
Disassembler and decompiler;
Native recompilers to C.
There are two main sections in this chapter:
An assembly language for the Java classfile format.
Two tools are available:
a Java disassembler that allows one to read and edit a classfile in kopi-assembler.
a Java assembler used to write classfile from kopi-assembler.
The package classfile itself, that allows one to handle Java code generation from within an other Java application without worrying about code optimization, stackand local variable handling, code checking and constant pool optimization.
An API for embedding Java code generation in other tools.
An in depth report about performed optimizations.
Prev | Home | Next |
Credits | KOPI Assembly Language |