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.

Programmatically (using scripting) set ignored exceptions

Featured Replies

Posted

Hello,

I'd like to know if it's possible to programmatically configure the debugger to ignore execptions.

What I'd like to achieve is this configuration:

spacer.png

I couldn't find any script cmds to configure this aspect of the debugger. 

Is this even possible?

Thanks a lot,

Luca

Edited by Luca91

Can you explain more? do you want to add exceptions?

you can do it manually.

Edited by X0rby

  • Author
4 minutes ago, X0rby said:

Can you explain more? do you want to add exceptions?

you can do it manually.

Hi @X0rby thank you for your reply.

That's the point, I don't wan't to add them manually, but instead I'd like to know is there is any way (programmatically) to configure the debugger to ignore such range of exceptions.

I have written some scripts (OEP finders) that relies on the fact that exceptions are ingored, that's why I'm interested in this: in order to have a 100% automatic unpacking script 😝

It depends if debugger plugin API  has such a feature... (I doubt)

but I"ve got another crazy idea..

you could try to update the debugger ini file and set options you need, eg:

 

[Ignored exceptions]
Range[0]=0 ffffffff
 

Ignore illegal instructions=1
Ignore all FPU exceptions=1
Ignore all service exceptions=1
Ignore custom exception ranges=1
Call UnhandledExceptionFilter=0
Report ignored exceptions to log=1
 

 

etc

 

 

  • Author
11 minutes ago, jackyjask said:

It depends if debugger plugin API  has such a feature... (I doubt)

but I"ve got another crazy idea..

you could try to update the debugger ini file and set options you need, eg:

 

[Ignored exceptions]
Range[0]=0 ffffffff
 

Ignore illegal instructions=1
Ignore all FPU exceptions=1
Ignore all service exceptions=1
Ignore custom exception ranges=1
Call UnhandledExceptionFilter=0
Report ignored exceptions to log=1
 

 

etc

 

 

That's a crazy idea but a cool one to be honest! Anyway I'm looking for a programmatically way to achieve this, but within the script context!

Edited by Luca91

Hopefully, this is helpful

Snipaste_2023-05-12_16-17-30.png

Snipaste_2023-05-12_16-17-34.png

  • Author
10 hours ago, minh said:

Hopefully, this is helpful

Snipaste_2023-05-12_16-17-30.png

Snipaste_2023-05-12_16-17-34.png

Hi @minh thanks for your reply, but I was looking for a way to do this from the script context (not from a 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.