module lang::flybytes::Disassembler
rascal-0.43.0
org.rascalmpl.flybytes-0.2.12
Constructs an isomorphic symbolic representation of JVM bytecode
Usage
import lang::flybytes::Disassembler;
Dependencies
extend lang::flybytes::Syntax;
import Exception;
Benefits
- recompilation is semantics preserving
- can be used for further decompilation
- readable format for JVM bytecode which follows the JVM bytecode specification exactly.
function disassemble
reverses the flybytes compiler, but recovers only lists of instructions from the methods' bodies.
Class disassemble(loc classFile, bool signaturesOnly=false) throws IO
function disassemble
return the disassembled information from all (overloaded) methods with a given name in the given class.
list[Method] disassemble(loc classFile, str methodName)