code: def _init_regs_random(self):
          
          # Generate random values and make sure they are all different.
          values = set()
  
          while len(values) != len(self._arch_regs_parent):
              values.add(random.randint(0, 2**self._arch_info.operand_size - 1))
  
          values = list(values)
  
          # Assign random values to registers.
          regs = {}
  
          for idx, reg in enumerate(self._arch_regs_parent):
              regs[reg] = values[idx] & (2**self._arch_regs_size[reg] - 1)
  
          return regs
docs: Initialize register with random values.