def fetch_instruction(s, x86_64=False):
    ip = s.ip
    s.trace.append(ip)

    if _translation_cache not in ip:
        bs = []

        for i in range(0, 128):
            try:
                bs.append(s.memory.read_byte(s, ip + i))
            except IndexError():
                break

        bs = ''.join(map(lambda x: chr(x.value), bs))
        for i in x86.translate(bs, ip, x86_64):
            _translation_cache[i.address] = i

    if ip not in _translation_cache:
        raise InvalidExecution(s, ip)

    i = _translation_cache[ip]
    s.ip += i.size

    if x86_64:
        s.registers['rip'] = bv.Constant(64, s.ip)

    return i
dataset/ETHPy150Open c01db33f/concolica/emulator.py/fetch_instruction/swapped operands of `not in`