core/x86/instr.c
/* in this func, it must be the exact same register, not a sub reg. ie. eax!=ax */
in this func, it must be the exact same register, not a sub reg. ie. eax!=ax
in this func it must be the exact same register not a sub reg . ie . eax! = ax
bool instr_writes_to_exact_reg(instr_t *instr, reg_id_t reg)
{
    int i;
    opnd_t opnd;
    for (i=0; i<instr_num_dsts(instr); i++) {
        opnd=instr_get_dst(instr, i);
        if (opnd_is_reg(opnd)&&(opnd_get_reg(opnd)==reg))
            return true;
    }
    return false;
}
bool instr_writes_to_exact_reg ( instr_t * instr , reg_id_t reg ) { int i ; opnd_t opnd ; for ( i = 0 ; i < instr_num_dsts ( instr ) ; i ++ ) { opnd = instr_get_dst ( instr , i ) ; if ( opnd_is_reg ( opnd ) && ( opnd_get_reg ( opnd ) == reg ) ) return true ; } return false ; }
in this func, it must be the exact same register, not a sub reg.
in this func it must be the exact same register not a sub reg .