English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

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.

--f