[Vm-dev] Is there a way to get the simulated/possible machine code of a CompiledMethod ?

Igor Stasenko siguctua at gmail.com
Sat Apr 16 23:59:55 UTC 2011


On 17 April 2011 01:50, Mariano Martinez Peck <marianopeck at gmail.com> wrote:
>
> Hi Eliot. For learning purposes, I would LOVE to be able to do something like:
>
>
> (StackInterpreter >> #lookupMethodInClass:) simulatedMachineCode
>
> and that answers a possible machine code for that compiled method ? is that possible ? Sorry for my ignorance if this is absurd.
>
> if you provide me such method I plan to build a little browser on top of that.
>
Yes, there is.
I even hacked some stuff to avoid using Boch plugin for generating code,
so i can use Cogit to generate machine code without using Boch and
Alien plugins.

However i forgot where i put that code.. need to investigate my hard
disk and find it :)

> Thanks
>
> --
> Mariano
> http://marianopeck.wordpress.com
>
>
>



-- 
Best regards,
Igor Stasenko AKA sig.


More information about the Vm-dev mailing list