RE: [GD-General] Is it possible to detect debugging?
Brought to you by:
vexxed72
From: Mat N. \(BUNGIE\) <mat...@mi...> - 2003-10-09 21:35:32
|
No. WinDBG and kd can attach in noninvasive mode and generate a full minidump, even if the process has attached to itself as a debugger. MSN -----Original Message----- From: gam...@li... [mailto:gam...@li...] On Behalf Of Colin Fahey Sent: Thursday, October 09, 2003 9:59 AM To: gam...@li... Subject: [GD-General] Is it possible to detect debugging? Can a Windows application determine if it is being debugged? Naturally it can't do anything if it has been suspended at a breakpoint, but I'm wondering if there is a way, during execution, to check for debugging. Sorry, it has been a while since I was in to Windows process information stuff, so I forget all the cool things a process can do. Anyhow, let's say the application is started. Meanwhile, something like Visual C++ has already been started, or is now started. Some time=20 during the execution of the application, the user of Visual C++ uses=20 the "Attach to Process..." option, and selects the application. Is there any way for the application to detect that it is being debugged, assuming it has not been immediately paused? The method cannot depend on any particular debugger (like checking for=20 certain states of, say, Visual Studio). But I assume that many debuggers work the same way -- although the 1337 haX0r might run the whole app in=20 an 80x86 emulator... I don't really have any particular objective, like popping up a dialog to embarrass the first haX0r who attempts to crack my application. I'm just making conversation. Relax! Talk amongst yourselves! --- Colin cp...@ea... ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Gamedevlists-general mailing list Gam...@li... https://lists.sourceforge.net/lists/listinfo/gamedevlists-general Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=3D557 |