core/x86/interp.c
/* Converts instr_t EFLAGS_ flags to corresponding fragment_t FRAG_ flags,
 * assuming that the instr_t flags correspond to the start of the fragment_t
 */
Converts instr_t EFLAGS_ flags to corresponding fragment_t FRAG_ flags,
assuming that the instr_t flags correspond to the start of the fragment_t
Converts instr_t EFLAGS_ flags to corresponding fragment_t FRAG_ flags assuming that the instr_t flags correspond to the start of the fragment_t
uint
instr_eflags_to_fragment_eflags(uint instr_eflags)
{
    uint frag_eflags = 0;
    if (instr_eflags == EFLAGS_WRITE_OF) {
        frag_eflags |= FRAG_WRITES_EFLAGS_OF;
    } else if (instr_eflags == EFLAGS_WRITE_6) {
        frag_eflags |= FRAG_WRITES_EFLAGS_6;
        frag_eflags |= FRAG_WRITES_EFLAGS_OF;
    }
    return frag_eflags;
}
uint instr_eflags_to_fragment_eflags ( uint instr_eflags ) { uint frag_eflags = 0 ; if ( instr_eflags == EFLAGS_WRITE_OF ) { frag_eflags |= FRAG_WRITES_EFLAGS_OF ; } else if ( instr_eflags == EFLAGS_WRITE_6 ) { frag_eflags |= FRAG_WRITES_EFLAGS_6 ; frag_eflags |= FRAG_WRITES_EFLAGS_OF ; } return frag_eflags ; }
Converts instr_t EFLAGS_ flags to corresponding fragment_t FRAG_ flags,
 assuming that the instr_t flags correspond to the start of the fragment_t
Converts instr_t EFLAGS_ flags to corresponding fragment_t FRAG_ flags assuming that the instr_t flags correspond to the start of the fragment_t
/* this fragment writes OF before reading it 
         * May still read other flags before writing them.
         */ /* fragment writes all 6 prior to reading */