anti-cracking library 1.0

HasBPX function
Detects a BPX breakpoint.


function HasBPX(Address: Pointer): Boolean;

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.

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.