On 05/01/2011 06:08 PM, David Simcha wrote:
On 5/1/2011 8:30 PM, Sean Kelly wrote:
Is core.atomic not saving and restoring a register it should?


Doesn't look like. I've reviewed this code to check for that. I think it could be one of two things:

1.  A DMD codegen bug that's not saving the registers properly.

2. An extremely subtle concurrency bug that's causing codepaths that "can't happen" to be executed, meaning DMD doesn't save the registers properly because the relevant codepaths "can't happen".


If it is the second case, then it might also exist as a problem in DMC which suggests that it might be open to attack via the methods this guy is developing/using:

http://blog.regehr.org/archives/503

(The first half is background, the second half is the relevant part)

_______________________________________________
phobos mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/phobos

_______________________________________________
phobos mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/phobos

Reply via email to