Comment by fooker

Comment by fooker 2 days ago

0 replies

Same consequence yes.

But it will not execute xor, nor will it actually zero out eax in most cases.

It'll do something similar to constant propagation with the information that whenever xor eax, eax occurs; all uses of eax go through a simpler execution path until eax is overwritten.