Version française
Home     About     Download     Resources     Contact us    
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 foo.ml".

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

-- Christian

-- 
Christian Lindig         http://www.st.cs.uni-sb.de/~lindig/

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners