This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Catching stack overflow errors
- To: "Earl S. Harris, Jr." <esharris at mitre dot org>
- Subject: Re: Catching stack overflow errors
- From: David Edelsohn <dje at watson dot ibm dot com>
- Date: Fri, 04 Aug 2000 17:04:27 -0400
- cc: gcc at gcc dot gnu dot org
>>>>> "Earl S Harris, Jr " writes:
Earl> Is there a machine independent way to catch stack overflow errors?
Earl> When I build a recursive program, I want to check if there is stack
Earl> overflow.
Earl> I have some solutions that work in one architecture, but not another.
Some members of IBM's Tokyo Research Lab have been investigating a
machine-independent change to GCC that would generate code to check for
stack overflow / corruption / smashing. They currently are judging
community interest to determine if they should try to contribute this code
to GCC. They have a research report on an external website, but the HTML
generates a server error at the moment.
David