Software Assurance Reference Dataset
Walter Bright via Digitalmars-d
digitalmars-d at puremagic.com
Thu Jun 26 02:35:24 PDT 2014
On 6/26/2014 2:19 AM, bearophile wrote:
> One kind of problem left is to avoid stack overflows.
In general, stack overflow checking at compile time is the halting problem. It
needs a runtime check.
Stack overflows are not safety problems when a guard page is used past the end
of the stack. Then, overflow checking is done in hardware. Guard pages aren't
currently used for fibers, so overflows are a real danger there.
In 64 bit code, however, one should be able to use guard pages for fibers.
More information about the Digitalmars-d
mailing list