Menu

#33 unsafe code-transform "mov 0" to "xor"

open
O3 jit (8)
5
2001-12-13
2001-11-28
Shi Xiaohua
No

char *mov(char *inst,const R_Opnd *r,const Imm_Opnd
*imm)
uses a unsafe conde-transform from "mov eax, 0"
to "xor eax, eax", if we need the CF set by the prev-
instruction.

Discussion

  • Shi Xiaohua

    Shi Xiaohua - 2001-12-13
    • summary: unsafe code-transform "mov 0" to "xor" --> unsafe code-transform "mov 0" to "xor"
    • status: open --> pending
     
  • Shi Xiaohua

    Shi Xiaohua - 2001-12-13

    Logged In: YES
    user_id=190089

    Fixed

     
  • Shi Xiaohua

    Shi Xiaohua - 2001-12-13
    • summary: unsafe code-transform "mov 0" to "xor" --> unsafe code-transform "mov 0" to "xor"
    • status: pending --> open
     
  • Shi Xiaohua

    Shi Xiaohua - 2001-12-13

    Logged In: YES
    user_id=190089

    Fixed

     

Log in to post a comment.

MongoDB Logo MongoDB