anti-cracking library 1.0

HasBPR function
Detects a BPR breakpoint.

Group
Breakpoints

function HasBPR(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 or a pointer to a variable containing important data.
Function returns true if a breakpoint is detected.

Remarks
A BPR is set by setting the PAGE_NOACCESS attribute to a memory page. If a program tryes to read, write or execute data from the page, exception is raised (debugger handles it).