BanMe
March 9th, 2011, 16:54
Code:
PUSH FS
POP GS
PUSH GS
POP DS
Now I would expect fs to be propagated to gs and ds.. which it does under normal circumstances..But if you single step it gs is reset to 0..
normal
fs:003b
gs:0000
ds:0023
So instead of this which is what you would think would happen and in fact does under f9 execution..
fs:003b
gs:003b
ds:003b
we end up with this..under singlestepping..
fs:003b
gs:0000
ds:0000
my bad.. although both patterns 'work' on XP home and professional this can be equated to 4 or 5 pops..
from entry to execution..