From: dewar@cs.nyu.edu (Robert Dewar)
Subject: Re: Mandatory stack check (was: Changing discriminants...)
Date: 1996/08/09
Date: 1996-08-09T00:00:00+00:00 [thread overview]
Message-ID: <dewar.839617507@schonberg> (raw)
In-Reply-To: 3209AC29.3E21@lmtas.lmco.com
Ken said
"Interesting. Does stack checking typically introduce an extra branch in the
object code? If so, then someone with a requirement to test every object-code
branch point would have to introduce a test to force a stack overflow for each
affected code segment (including elaboration), or have to justify why the
overflow check didn't need to be tested. That could be a little annoying..."
Right, that would be a real disadvantage of the branch based approach. Our
approach is to map out a page at the end of the stack and catch the
reference (there are quite a few fine points to get this to work right, and
it tends to be quite taget dependent).
I would have thought that anyone with a requirement to test every object-code
branch point would also include requirements to verify that the stack cannot
overflow, but perhaps not!
next prev parent reply other threads:[~1996-08-09 0:00 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-08-07 0:00 Changing discriminants at run-time: erroneous execution? Andre Spiegel
1996-08-07 0:00 ` Robert Dewar
1996-08-07 0:00 ` Robert A Duff
1996-08-07 0:00 ` Robert Dewar
1996-08-08 0:00 ` Mandatory stack check (was: Changing discriminants...) Ken Garlington
1996-08-08 0:00 ` Robert A Duff
1996-08-12 0:00 ` Ken Garlington
1996-08-13 0:00 ` Robert A Duff
1996-08-14 0:00 ` Ken Garlington
1996-08-09 0:00 ` Robert Dewar [this message]
1996-08-08 0:00 ` Changing discriminants at run-time: erroneous execution? Andre Spiegel
1996-08-10 0:00 ` Robert Dewar
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox