<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def find_global(self, pattern):
 		""" 		Searches for the pattern in the whole process memory space and returns the first occurrence. 		This is exhaustive! 		"""

		pos_s = self.reader.search(pattern)
		if len(pos_s) == 0:
			return -1
		
		return pos_s[0]