www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/02/10/11:16:34

From: bobk AT ge DOT chem DOT binghamton DOT edu (Bob Kematick)
Subject: Re: Array bounds checking
Newsgroups: comp.os.msdos.djgpp
References: <Pine DOT SUN DOT 3 DOT 91 DOT 980208140216 DOT 6339V-100000 AT is>
NNTP-Posting-Host: ge.chem.binghamton.edu
Message-ID: <34e07b14.0@bingnews.binghamton.edu>
Date: 10 Feb 98 16:06:44 GMT
Organization: Binghamton University
Lines: 17
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Eli Zaretskii (eliz AT is DOT elta DOT co DOT il) wrote:

: On Sat, 7 Feb 1998, Rich wrote:

: > Do any of the gcc compilers do array bounds checking during runtime?  I
: > have a very large program, and it's very likely that some routines are
: > overstepping their array boundaries.

: There used to be a GCC extension to check array bounds.  Last time I
: heard about it it was at these URLs:

: 	ftp://dse.doc.ic.ac.uk/pub/misc/bcc
: 	http://www-dse.doc.ic.ac.uk/~rj3/bounds-checking.html
: 	http://www-ala.doc.ic.ac.uk/~phjk/BoundsChecking.html


FWIW : It is built in to the emx / nt09c port of gcc.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019