Exetools

Exetools (https://forum.exetools.com/index.php)
-   General Discussion (https://forum.exetools.com/forumdisplay.php?f=2)
-   -   Debug for SEH , how to do! (https://forum.exetools.com/showthread.php?t=3609)

nig 03-08-2004 06:59

Debug for SEH , how to do!
 
sometime debugging, find int 3 or int 1, use OD how to do i can
run OK?

least 03-08-2004 17:40

Hi,
look at some info about SEH. From what I remember at FS[0] is pointer to SEH handler structure (one dword is addr of SEH routine and other is ptr to next similar structure in chain). Olly will catch the exception and lets you handle it or pass to program - I suppose that you should pass it because the SEH won't be executed. Looking at the FS[0] struc lets you know where the SEH routine resides so you can try to breakpoint it. I'm not sure if olly is capable of doing this; if not try SICE, it can do virtually anything.

Good luck,
least

britedream 03-08-2004 21:24

Just look at the stack when exception take place it tells you where the seh is, yes you can set bp on it.

nig 03-09-2004 20:56

thx a lot!
 
About programming , i must study at once , else i will be old!

Say Thx again.


All times are GMT +8. The time now is 18:16.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX