Re: [Ironruby-core] Leveraging StdLib.Win32API class

2009-12-04 Thread James Leskovar
Hi Tomas, I've been playing around with DynamicMethod and generating IL at runtime, with varying levels of success. Currently I'm using DynamicMethod to generate the IL to load arguments, load function address, calli and ret. My script gets access to the DynamicMethod object, which gets passed

Re: [Ironruby-core] Leveraging StdLib.Win32API class

2009-11-30 Thread Tomas Matousek
Original Message- From: [email protected] [mailto:[email protected]] On Behalf Of James Leskovar Sent: Sunday, November 29, 2009 11:05 PM To: [email protected] Subject: [Ironruby-core] Leveraging StdLib.Win32API class Hi all, I'm work

[Ironruby-core] Leveraging StdLib.Win32API class

2009-11-29 Thread James Leskovar
Hi all, I'm working on using metasm (http://metasm.cr0.org/) with IronRuby in order to generate and ultimately execute code at runtime. At the moment, I've been successful in using metasm to get back a string containing the encoded x86 instruction opcodes. The next step would be to allocate memory