What is the GS register used for Windows?

I found the MSDN documentation for registering the FS register:

https://msdn.microsoft.com/en-us/library/ms253960(v=vs.90).aspx

which states that:

"In an x86 environment, the FS register indicates the current value of the stream information block (TIB) structure."

But I can not find strict documentation on the purpose of the GS registry in Windows.

Can someone tell me where to look, or give an explanation?

+4
source share
1 answer

On 32-bit Windows, GSreserved for future use.
A segment FSindicates an information block .

x64 FS GS .

x86 FS:[0] TIB, X64 GS:[0].
, Win64 GS, , FS 32- ( Wow64).
32- FS, Win64.
32- GS, 64- FS.

, , GS Win64 Wow64, , 32- 64- Windows.
"" 32- Windows GS .

+7

Source: https://habr.com/ru/post/1652405/


All Articles