[Mono-dev] Getting a dissasembly of a function

russell.kay at realtimeworlds.com russell.kay at realtimeworlds.com
Mon Nov 3 07:31:33 EST 2008



Is there any easy way to get a disassembly of a function that has been
through the JIT. Currently I am running with multiple "verbose" options
on the command line, writing the output through a file and then
searching for the function but that is fairly horrible, is there an
easier way?


So currently


mono -v -v -v -v -v test.cs >out


then open out in an editor and look at that output. This is very clunky
and the output is very verbose with way too much information.


Ideally I want to just pull out the disassembly of a single function
hopefully something like.


Mono -disassemble="TestMain.Main" test.cs


Would output the single function disassembly (in x86 not IL), is there
something hidden that I do not know about, any fancy tricks.


BTW this is on Linux and not windows.





This message and any attachments contain privileged and confidential information intended for the use of the addressee named above. If you are not the intended recipient of this message, you are hereby notified that any use, dissemination, distribution or reproduction of this message is prohibited. Please note that we cannot guarantee that this message or any attachment is virus free or that it has not been intercepted and amended. The views of the author may not necessarily reflect those of Realtime Worlds Ltd.


Realtime Worlds Ltd is registered in Scotland, number 225628. Registered Office: 152 West Marketgait, Dundee, DD1 1NJ.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20081103/fd5d7c33/attachment.html 

More information about the Mono-devel-list mailing list