[Mono-dev] Getting a dissasembly of a function
Zoltan Varga
vargaz at gmail.com
Mon Nov 3 08:45:54 EST 2008
Hi,
In mono 2.2, there will be an env variable called MONO_VERBOSE_METHOD, and
compilation of methods whose names match this will be printed, i.e:
MONO_VERBOSE_METHOD=Main mono hello.exe
Zoltan
2008/11/3 <russell.kay at realtimeworlds.com>:
> All,
>
>
>
> 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.
>
>
>
> Russell
>
>
>
> ____________________________________________________________________
> DISCLAIMER
>
> 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.
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
>
More information about the Mono-devel-list
mailing list