|
|
|
|
|
by sparkie
10 days ago
|
|
The C standard does not make any guarantees that you can dereference it. And x86-64 is arguably still "segmented" in that you can use the FS and GC segment registers (they're typically used for TLS). Eg, if you cast a `thread_local` pointer to `intptr_t` - the standard makes no requirement that it point to the absolute virtual address (though this is the common implementation choice by GCC etc). |
|