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
bytecode "disassembler"?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 1997-06-12 (08:43)
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.