コード例 #1
0
 def esp(self, value):
     '''Sets the value of the ESP register.'''
     if not (0 <= value < 2**32):
         console.warning('Overflow occured with register ESP.')
     self._esp = value % 2**32
コード例 #2
0
 def ebx(self, value):
     '''Sets the value of the EBX register.'''
     if not (0 <= value < 2**32):
         console.warning('Overflow occured with register EBX.')
     self._ebx = value % 2**32
コード例 #3
0
 def edi(self, value):
     '''Sets the value of the EDI register.'''
     if not (0 <= value < 2**32):
         console.warning('Overflow occured with register EDI.')
     self._edi = value % 2**32