If this kind of assumption is very ill-advised, is there anything written up about implementation details in different operating systems / compilers ?
Address of data that is static, be it shared or tls or __gshared or immutable on o/s
Cecil Ward via Digitalmars-d-learn Wed, 06 Sep 2017 08:31:10 -0700
If someone has some static data somewhere, be it in tls or marked
shared __gshared or immutable or combinations (whatever), and
someone takes the address of it and pass that address to some
other routine of mine that does not have access to the source
code of the original definition of the object in question, then
is it possible to just use 'the address' passed without knowing
anything about that data? I'm assuming that the answer might also
depend on compilers, machine architectures and operating systems?
- Address of data that is static, be... Cecil Ward via Digitalmars-d-learn
- Re: Address of data that is s... Ali Çehreli via Digitalmars-d-learn
- Re: Address of data that ... Cecil Ward via Digitalmars-d-learn
- Re: Address of data t... John Burton via Digitalmars-d-learn
- Re: Address of da... Ali Çehreli via Digitalmars-d-learn
- Re: Address of data t... Walter Bright via Digitalmars-d-learn
- Re: Address of da... Ali Çehreli via Digitalmars-d-learn
- Re: Address of da... Moritz Maxeiner via Digitalmars-d-learn