[Mono-dev] Getting a dissasembly of a function

Rodrigo Kumpera kumpera at gmail.com
Mon Nov 3 09:07:48 EST 2008


Russel, run mono --version and check if it is 2.1.

On Mon, Nov 3, 2008 at 11:48 AM, <russell.kay at realtimeworlds.com> wrote:

> Is this in Trunk? I am currently working from trunk?
>
> Russell
>
> -----Original Message-----
> From: Zoltan Varga [mailto:vargaz at gmail.com]
> Sent: 03 November 2008 13:46
> To: Russell Kay
> Cc: mono-devel-list at lists.ximian.com
> Subject: Re: [Mono-dev] Getting a dissasembly of a function
>
> 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
> >
> >
>
> ____________________________________________________________________
> This email has been scanned by the MessageLabs Email Security System
>
> ____________________________________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20081103/30bfaa04/attachment.html 


More information about the Mono-devel-list mailing list