module Disassembler: sig
.. end
Disassembling of class contents.
val disassemble_to_buffer : Utils.UTF8Buffer.t -> ClassPath.t -> Utils.UTF8.t -> unit
disassemble_to_buffer buff cp cn
disassembles the class whose name
is cn
in classpath cp
. The result is appended to buff
.
Raises ClassLoader.Exception
if the class cannot be loaded.
val disassemble_to_stream : OutputStream.t -> ClassPath.t -> Utils.UTF8.t -> unit
disassemble_to_stream chan cp cn
disassembles the class whose name
is cn
in classpath cp
. The result is printed onto chan
.
Raises Lookup.Exception
if the class cannot be loaded.
val disassemble : ClassPath.t -> Utils.UTF8.t -> unit
disassemble cp cn
disassembles the class whose name is cn
in
classpath cp
. The result is printed on the standard output.
Raises Lookup.Exception
if the class cannot be loaded.