def __set_bp(self, aProcess):
        """
        Sets the target pages as guard pages.

        @type  aProcess: L{Process}
        @param aProcess: Process object.
        """
        lpAddress    = self.get_address()
        dwSize       = self.get_size()
        flNewProtect = aProcess.mquery(lpAddress).Protect
        flNewProtect = flNewProtect | win32.PAGE_GUARD
        aProcess.mprotect(lpAddress, dwSize, flNewProtect)
def __set_bp ( self , aProcess ) : lpAddress = self . get_address ( ) dwSize = self . get_size ( ) flNewProtect = aProcess . mquery ( lpAddress ) . Protect flNewProtect = flNewProtect | win32 . PAGE_GUARD aProcess . mprotect ( lpAddress , dwSize , flNewProtect )
Sets the target pages as guard pages.

        @type  aProcess: L{Process}
        @param aProcess: Process object.