* bytecode "disassembler"?
@ 1997-06-10 1:19 Lyn A Headley
1997-06-10 12:21 ` Francois Rouaix
0 siblings, 1 reply; 2+ messages in thread
From: Lyn A Headley @ 1997-06-10 1:19 UTC (permalink / raw)
To: caml-list
hi,
I'm thinking about targeting a compiler to ocaml's runtime system, and
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?
Lyn
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: bytecode "disassembler"?
1997-06-10 1:19 bytecode "disassembler"? Lyn A Headley
@ 1997-06-10 12:21 ` Francois Rouaix
0 siblings, 0 replies; 2+ messages in thread
From: Francois Rouaix @ 1997-06-10 12:21 UTC (permalink / raw)
To: Lyn A Headley; +Cc: caml-list
> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1997-06-12 8:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-06-10 1:19 bytecode "disassembler"? Lyn A Headley
1997-06-10 12:21 ` Francois Rouaix
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox