[Issue 9242] Add stack smashing code to flush out heisenbugs

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Jan 24 01:33:38 PST 2013


http://d.puremagic.com/issues/show_bug.cgi?id=9242



--- Comment #7 from bearophile_hugs at eml.cc 2013-01-24 01:33:36 PST ---
(In reply to comment #6)

> Stack overflow checking is common on CPUs with no virtual memory, such as 16
> bit DOS. Virtual memory systems get stack overflow checking "for free", by
> marking the memory page beyond the end of the stack as neither readable nor
> writeable. Then the hardware does the check for you.

OK. (I'd like an error message plus a stack trace when D programs overflow the
stack.)


> The stack smashing thing is completely different.

I am aware of this.


See also those pages on StackGuard, that is a third different thing.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list