Log in

View Full Version : VB app


vaxcine
June 8th, 2005, 08:50
Hi

Using OllyDgb, with a vb 5/6 app but keep getting inexact floating-point result - use+F7/F8/F9 to pass exception to program.

Run app with F9 but land up in kernal32 or ntdll module, if i keep tracing then the app does run but i'am still on the kernal module does anybody have any tutorials or guides. Just fishing for s# in VB 5/6 app.

Many thanks

Vax

Admiral
June 8th, 2005, 09:44
I thought it was Shift-Fx to pass the exception to the program .

It seems your app is raising an exception. This isn't uncommon and probably isn't doing any harm. OllyDbg will give you a brief description of the exception in the status bar when it breaks. If you want the app to carry on doing what it normally would, press Shift-F9. Check the call stack to find out where the exception occurred (if that interests you).
You haven't told us very much, but I guess this exception isn't the reason you're debugging the app. If so, you can quite easily set OllyDbg's exception handling options to pass them to the program by default by default.
You may want to read up on structured exception handling (SEH) to get a good idea of how exceptions work. If you aspire to be a competent reverser, such knowledge is pretty much required.

TBone
June 8th, 2005, 09:59
You can also disable all FPU exceptions, since they tend to be harmless but frequent, and therefore annoying. IIRC, Ollydbg "ships" with this option checked.

Options --> Debugging Options --> Exception Tab --> Ignore (pass to program) following exceptions: --> All FPU Exceptions

vaxcine
June 8th, 2005, 10:15
Thanks for the help, seems to of done the trick

Vaxcine