Log in

View Full Version : What is the asm code executed by IsDebuggerPresent


yaa
October 28th, 2003, 08:50
Hello,

could anyone with a w9x machine cut and paste the assembly code executed by the IsDebuggerPresent API?
Thx.

yaa

psyCK0
October 29th, 2003, 16:50
Well, have no 9x machine handy but as far as I can remember it was something like:
<pre>mov ecx, large fs:30h
test ecx, ecx
js short NO_DEBUGGER</pre>