Posted April 12, 200916 yr Hey,Porting this post to the public area. Anyway, here it goes:I've been writing a small ruby extension which provides to functions in a class, to log some text to Olly's log window and to put a MessageBox on the screen; nothing complex. I then embedded a ruby interpreter into an Olly plugin, hoping to be able to call the extension function from my script. But calling the script using the embedded ruby interpreter causes either an exception or simply doesn't work (with ruby_exec doing nothing).If anyone has been working with an embedded ruby interpreter before: suggestions are welcome.Regards,metr0
April 13, 200916 yr Hey,Porting this post to the public area. Anyway, here it goes:I've been writing a small ruby extension which provides to functions in a class, to log some text to Olly's log window and to put a MessageBox on the screen; nothing complex. I then embedded a ruby interpreter into an Olly plugin, hoping to be able to call the extension function from my script. But calling the script using the embedded ruby interpreter causes either an exception or simply doesn't work (with ruby_exec doing nothing).If anyone has been working with an embedded ruby interpreter before: suggestions are welcome.Regards,metr0does the ODBGScript source help?It has the same consept I think.
April 13, 200916 yr Author This rather seems to be a Ruby-related issue. I also tried to remove the direct dependency of OllyDbg.exe from my extension and let it resolve the APIs in the wrapper using GetProcAddress cause I thought the Ruby interpreter doesn't seem to like that, but that wasn't the problem.Parsing the Olly library as a whole using Swig doesn't work since Swig doesn't support nested unions (yet?).
June 19, 200916 yr haven't worked with an embedded ruby interpreter before else i would have helpedi can look into it if you are willing to send the pluginanyways it would be a nice plugin
Create an account or sign in to comment