I'm disassembled my program and I'm trying to understand what is it:
MOV DWORD PTR FS:[0],ESP
What is FS? I searched in google, and I found that is use as extra register. But when is it use? Why?
I'm disassembled my program and I'm trying to understand what is it:
MOV DWORD PTR FS:[0],ESP
What is FS? I searched in google, and I found that is use as extra register. But when is it use? Why?
The FS register is aligned with the thread information block, which contains various thread-specific information.
Of particular interest when disassembling is the head of the exception handler chain at offset zero.