Re:Learning to Read X86 Assembly Language
by CalChris on Monday November 28, 2016 @12:10AM
(#13053542)
Google's Native Client uses segmentation to enforce sandboxing.
http://static.googleusercontent.com/media/research.google.co...
Re:Learning to Read X86 Assembly Language
by qwertyuiop924 on Sunday November 27, 2016 @08:02PM
(#13052710)
Oh. Handy. I didn't know that.
Stupid outdated resources...
Under Windows gs (under x86-32 fs) points to the Thread Information Block (TIB):
> https://en.wikipedia.org/wiki/Win32_Thread_Information_Block
Under Linux gs is used for thread-local storage (TLS).
But "as a typical programmer" indeed you only have to worry about the internal details of this if you are an OS developer, otherwise you can simply use the appropriate segment override prefix and otherwise don't care about it.