metr0 Posted April 12, 2009 Posted April 12, 2009 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
movzxEax Posted April 13, 2009 Posted April 13, 2009 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.
metr0 Posted April 13, 2009 Author Posted April 13, 2009 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?).
GEEK Posted June 19, 2009 Posted June 19, 2009 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now