

def translate(self, instruction):
    'Return IR representation of an instruction.\n        '
    try:
        trans_instrs = self._translate(instruction)
    except NotImplementedError:
        unkn_instr = self._builder.gen_unkn()
        unkn_instr.address = ((instruction.address << 8) | (0 & 255))
        trans_instrs = [unkn_instr]
        self._log_not_supported_instruction(instruction)
    except:
        self._log_translation_exception(instruction)
        raise
    for instr in trans_instrs:
        try:
            check_operands_size(instr, self._arch_info.architecture_size)
        except:
            logger.error('Invalid operand size: %s (%s)', instr, instruction)
            raise
    return unkn_instr

dataset/ETHPy150Open programa-stic/barf-project/barf/barf/arch/x86/x86translator.py X86Translator.translate/VarMisuse@134/205 `trans_instrs`->`unkn_instr`