コード例 #1
0
 def floating_register_state(self):
     if self._floating_register_state is None:
         thread = self.threads[0]
         kind = 'x86_FLOAT_STATE' + str(self.pointer_size * 8)
         self._floating_register_state = debug.thread_get_state(thread,
                                                                kind)
     return self._floating_register_state
コード例 #2
0
 def general_register_state(self):
     if self._general_register_state is None:
         thread = self.threads[0]
         kind = 'x86_THREAD_STATE' + str(self.pointer_size * 8)
         self._general_register_state = debug.thread_get_state(thread, kind)
     return self._general_register_state