Re: Test tool not only for Ada
- From: "Dmitry A. Kazakov" <mailbox@xxxxxxxxxxxxxxxxx>
- Date: Fri, 25 Jan 2008 10:31:04 +0100
On Fri, 25 Jan 2008 08:48:35 -0000, Stuart wrote:
The interesting challenge for 'Abstract Interpretation' tools is deciding
how much detail to preserve at each stage. From the example should the tool
note that 'y' might have the values 2..40 or the set of values {2, 4, 6,
..., 40}.
This can become important, for instance if you had the statement:
z := 1000 / (y - 9);
Could a divide by zero occur? If you had a lax model of 'y' [2..40] you
would be concerned, but a more accurate model would dispel the concern.
There is another difficult aspect of the problem of uncertain computations.
It is dependency analysis. For example:
y := x;
z := x * y;
When x is in [-1, 2] then without knowing that y equals x, i.e. assuming
that x and y are independent, the best possible estimation of z is [-2, 4].
With this knowledge it is [0, 4].
--
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de
.
- Follow-Ups:
- Re: Test tool not only for Ada
- From: T. Taft
- Re: Test tool not only for Ada
- References:
- Test tool not only for Ada
- From: Sönke Brix
- Re: Test tool not only for Ada
- From: Stuart
- Test tool not only for Ada
- Prev by Date: Re: Test tool not only for Ada
- Next by Date: Re: Why I hate Gtk+/GNOME (from the perspective of an Ada supporter)
- Previous by thread: Re: Test tool not only for Ada
- Next by thread: Re: Test tool not only for Ada
- Index(es):