Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] Is there a "disassembler" for Caml?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Christian Lindig <lindig@c...>
Subject: Re: [Caml-list] Is there a "disassembler" for Caml?
On Wed, Sep 03, 2003 at 09:44:58PM -0400, Ching-Tsun Chou wrote:
> Is there a "disassembler" for Caml Light or Objective Caml that can
> generate (more or less) readable Caml code from Caml bytecode?

The dumpobj utility in the tools/ directory of the distribution can
disasssemble byte code files. However, it just shows the bytecodes in
clear text, not the original OCaml code. The output is similar to
"ocamlc -dinstr".

I don't know of any tool that reconstructs the OCaml source code.

-- Christian

Christian Lindig

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: