From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id KAA24904 for caml-redistribution; Thu, 12 Jun 1997 10:43:08 +0200 (MET DST) Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id OAA15286 for ; Tue, 10 Jun 1997 14:21:43 +0200 (MET DST) Received: from madiran.inria.fr (madiran.inria.fr [128.93.8.77]) by concorde.inria.fr (8.8.5/8.7.3) with ESMTP id OAA21780; Tue, 10 Jun 1997 14:21:19 +0200 (MET DST) Received: from madiran.inria.fr (localhost.inria.fr [127.0.0.1]) by madiran.inria.fr (8.7.4/8.6.6) with ESMTP id OAA30703; Tue, 10 Jun 1997 14:21:03 +0200 Message-Id: <199706101221.OAA30703@madiran.inria.fr> X-Mailer: exmh version 1.6.4 10/10/95 From: Francois Rouaix To: Lyn A Headley cc: caml-list@inria.fr Subject: Re: bytecode "disassembler"? In-reply-to: Your message of "Mon, 09 Jun 1997 20:19:51 CDT." <199706100119.UAA01017@kimbark.uchicago.edu> Reply-To: Francois.Rouaix@inria.fr Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 10 Jun 1997 14:21:02 +0200 Sender: weis > 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