Skip to content

x64 and ARM64 TLS, syscalls, threads, futexes without the standard library

Notifications You must be signed in to change notification settings

kromych/tls-curious

Repository files navigation

Topics touched:

  1. x64 and ARM64 inline assembly in gcc
  2. Working without any standard libraries
  3. Modifying the Local Descriptor Table and loading a LDT selector into FS on x64
  4. Setting the FS.base Machine Specific Register on x64
  5. Setting the tpidr_el0 register for TLS on ARM64
  6. Accessing variables in the Thread-Local Storage
  7. Cloning threads
  8. Waiting for a thread to exit, futexes

Releases

No releases published

Packages

No packages published

Languages