Exetools  

Go Back   Exetools > General > General Discussion

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 07-02-2004, 19:06
Numega Softice
 
Posts: n/a
Debugging a thread

I am working on target which uses threads (4 in number) to check for a presense of dongle. I am also using ollydebug to work on this target. How can i work with this. I was put off by a statement in Hacker Disassembly Uncovered which states

" In general, threads are great things that demand a special approach. It is difficult for a human to recognize that a program can run simultaneously in several places. Commonly used debuggers have a weak point: They debug each thread separately, never simultaneously. The following example shows how this can be used for protection."

Is there a way to override this ? How can you debug threads.
Reply With Quote
  #2  
Old 07-02-2004, 19:28
redbull redbull is offline
Friend
 
Join Date: Mar 2004
Posts: 160
Rept. Given: 17
Rept. Rcvd 5 Times in 4 Posts
Thanks Given: 3
Thanks Rcvd at 6 Times in 6 Posts
redbull Reputation: 5
SoftIce,

No the article means that you cant debug two threads at exactly the same time..

Image you have two threads and you put one break point on each thread. The debugger will break at both break points, however thread 2 will stop running the moment thread 1's breakpoint is reached and vice versa.
Reply With Quote
Reply

Thread Tools
Display Modes

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
Error submitting a new thread giv General Discussion 6 09-03-2014 16:51
How to Relocate thread Stack? visu General Discussion 0 03-29-2005 12:36
Olly thread patching... help SvensK General Discussion 5 10-11-2003 11:52


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


Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX
( 1998 - 2021 )