Jump to content
View in the app

A better way to browse. Learn more.

Tuts 4 You

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Ruby interpreter issues

Featured Replies

Posted

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

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

does the ODBGScript source help?

It has the same consept I think.

  • 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?).

  • 2 months later...

haven't worked with an embedded ruby interpreter before else i would have helped

i can look into it if you are willing to send the plugin

anyways it would be a nice plugin

Create an account or sign in to comment

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.