4 ms·
Remember this is a set of parsers. So it's goal is to accept valid-according-to-spec data, and reject all other data, and do so in a safe way. In that sense, t
by DannyBee 4y ago
Remember this is a set of parsers. So it's goal is to accept valid-according-to-spec data, and reject all other data, and do so in a safe way.
In that sense, the spec can only be logically flawed in a few ways
For example:
1. if it specifies impossible constraints on data it accepts (IE field1 < field2 && field2 > field1)
2. misses dependent constraints necessary to safely prove other things (field2 - field1 > 0 without specifying that field2 > field1)
etc
Assuming you specify the assertions in the code, it will find these errors because it will not be able to prove the arithmetic is sound.
To the degree it is possible for the spec to be logically flawed, but not cause underflow/overflow/etc, it will not detect it.