Exetools

Exetools (https://forum.exetools.com/index.php)
-   General Discussion (https://forum.exetools.com/forumdisplay.php?f=2)
-   -   Debugging a thread (https://forum.exetools.com/showthread.php?t=4549)

Numega Softice 07-02-2004 19:06

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.

redbull 07-02-2004 19:28

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.


All times are GMT +8. The time now is 14:38.

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