anti-cracking library 1.0

HasBPX function
Detects a BPX breakpoint.

Group
Breakpoints

function HasBPX(Address: Pointer): Boolean;

Description
Checks for a breakpoint at a specific memory location. The location is in most cases pointer to a procedure where you think, that someone will try to set a breakpoint.
Function returns true if a breakpoint is detected.

Remarks
A BPX is set by replacing the BPXed memory with instruction INT 3 (opcode $CC). Executing INT 3 will raise an exception which is handled by the debugger.