- logging.debug("created thread id 0x%x of type %s, kern_cputype 0x%x cputype 0x%x"
- % (self.thread_id, self.reg_type, kern_cputype, cputype))
+ if cputype == CPU_TYPE_ARM64_32:
+ self.reg_type = "arm64"
+ self.saved_state = self.thread.machine.upcb.uss.ss_64
+
+ logging.debug("created thread id 0x%x of type %s, is_kern_64bit 0x%x cputype 0x%x"
+ % (self.thread_id, self.reg_type, is_kern_64bit, cputype))