Skip to content

Latest commit

 

History

History
11 lines (6 loc) · 562 Bytes

README.md

File metadata and controls

11 lines (6 loc) · 562 Bytes

Checking for a Debugger with IsDebuggerPresent

Background

IsDebuggerPresent is a method that's located inside the Windows.h header. Behind the scenes, it checks a particular struct (the PEB) for the BeingDebugged flag. If it's set, then IsDebuggerPresent returns something that's not 0.

Relevant Links

MSDN Page

More Examples