How to use otool (or another tool)- to look into cmos on a Mac
| Newsgroups | gmane.comp.lang.ocaml.beginners |
|---|---|
| Message-ID | <[email protected]> |
I would like to visualize the "inside" of my cmo files the way dumpobj does. (I clarify that I already know about ocamlobjinfo which displays the list of "Imported Interfaces". I'm looking for something that does a deeper analysis, like dumpobj). Unfortunately, I don't have dumpobj installed on my Yosemite Mac (and did not find a way to install it). This webpage (http://superuser.com/questions/206547/how-can-i-install-objdump-on-mac-os-x) suggests that the best solution to use is otool, which I do have on my Mac. However it would seem that otool works only with executables not with cmos. Any help appreciated.