top | item 46114105

(no title)

wildlogic | 3 months ago

I learned this trick writing shellcode - the shellcode has to be null byte (0x00) free, or it will terminate and not progress past the null byte, since it is the string terminator. of course, when you xor something with itself, the result is zero. the byte code generated by the instruction xor eax, eax doesn't contain null bytes, whereas mov eax, 0 does.

discuss

order

anhldbk|3 months ago

Yes, it's one of my favorite trick also.