comp.lang.ada
 help / color / mirror / Atom feed
From: Robert Dewar <dewar@gnat.com>
Subject: Re: FY Ammo: Study about Security Bugs
Date: 1999/11/26
Date: 1999-11-26T00:00:00+00:00	[thread overview]
Message-ID: <81m32q$bji$1@nnrp1.deja.com> (raw)
In-Reply-To: m3yabltvy5.fsf@kiuk0156.chembio.ntnu.no

In article <m3yabltvy5.fsf@kiuk0156.chembio.ntnu.no>,
  Preben Randhol <randhol@pvv.org> wrote:

> Which pragmas do one have to set to turn the checks on (if not
> by default). Looked at the Annex L in RM, but it didn't make
> it clearer.

The RM model is that checks are on and can be optionally turned
off. All Ada compilers must have a mode in which this required
RM semantics is provided. Check with your vendor and/or read the
vendor documentation to determine the details for this mode
(note that the validation VSR shows what options were used for
the validation tests, and this will of course also show how to
operate in this mode).

The RM has nothing to say about what "by default" might mean,
since this is clearly an implementation dependent, OS dependent
concept.

In GNAT, there is a pragma Unsuppress (now being discussed for
semi-standardization) that can be used either as a configuration
pragma, or locally to ensure that checks are on, even if they
were turned off at the command line level. Unsuppress has
exactly the same form and usage as Suppress.

Robert Dewar
Ada Core Technologies


Sent via Deja.com http://www.deja.com/
Before you buy.




  reply	other threads:[~1999-11-26  0:00 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-11-25  0:00 FY Ammo: Study about Security Bugs Lutz Donnerhacke
1999-11-25  0:00 ` Preben Randhol
1999-11-25  0:00   ` Robert Dewar
1999-11-26  0:00     ` Lutz Donnerhacke
1999-11-26  0:00       ` Robert Dewar
1999-11-26  0:00     ` Preben Randhol
1999-11-26  0:00       ` Robert Dewar [this message]
1999-11-26  0:00         ` Keith Thompson
1999-11-26  0:00       ` Gisle S�lensminde
1999-11-26  0:00         ` Robert Dewar
1999-11-26  0:00         ` Preben Randhol
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox