Version française
Home     About     Download     Resources     Contact us    
Browse thread
bytecode "disassembler"?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Francois Rouaix <Francois.Rouaix@i...>
Subject: Re: bytecode "disassembler"?
> I thought it might be handy to be able to disassemble a compiled
> object file to see how the ocaml compiler handles certain constructs,
> thereby obtaining a better feel for the machine's instruction
> set.  Before I start writing code, I wonder, has anyone else attempted
> such a thing?
It's already available in the tools directory of the distribution.
Simply compile it (make dumpobj) and you're done. It decompiles .cmo files.

--f