Exetools  

Go Back   Exetools > General > General Discussion

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 03-08-2004, 06:59
nig
 
Posts: n/a
Debug for SEH , how to do!

sometime debugging, find int 3 or int 1, use OD how to do i can
run OK?
Reply With Quote
  #2  
Old 03-08-2004, 17:40
least
 
Posts: n/a
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
Reply With Quote
  #3  
Old 03-08-2004, 21:24
britedream britedream is offline
Friend
 
Join Date: Jun 2002
Posts: 436
Rept. Given: 0
Rept. Rcvd 0 Times in 0 Posts
Thanks Given: 0
Thanks Rcvd at 7 Times in 7 Posts
britedream Reputation: 0
Just look at the stack when exception take place it tells you where the seh is, yes you can set bp on it.
Reply With Quote
  #4  
Old 03-09-2004, 20:56
nig
 
Posts: n/a
thx a lot!

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

Say Thx again.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Debug with x64dbg dnvthv General Discussion 2 03-22-2025 21:49
Mac OS app debug wx69wx2023 General Discussion 2 04-10-2024 20:37
How to Debug JNI dll using OD? winndy General Discussion 1 10-21-2005 23:52


All times are GMT +8. The time now is 12:42.


Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX, chessgod101
( Since 1998 )