by rowanG077 · 3y ago · 0 comments
That's not really true. It means they produced wrong values with some input. They may have tested but not hit the pathological input case. No one is going to sweep the entirety of the domain. You really need a formal proof to avoid these bugs.
https://www.researchgate.net/publication/267809758_Use_of_Fo...
https://www.cs.utexas.edu/users/hunt/talks/2021-11-Centaur.p...
(Note: That one is kind of a marketing piece, too.)
In high-assurance systems, both formal methods and exhaustive testing are supposed to be used. I'd be curious to see the results of the submitted tech on designs such as the VAMP processor and Rockwell Collins AAMP7G.
https://www.researchgate.net/publication/220643416_Putting_i...
https://www.khoury.northeastern.edu/home/pete/acl206/slides/...
So, not literally exhaustive. They just covered every function, feature, interface, and combination that might trigger a bug.
Although, some rare folks did do literally- exhaustive testing of algorithms and FSM’s on 8-bit MCU’s since they had 256 values per variable. Others and I put timers on loops to force it to be terminating and just analyzed those cases. One could use exhaustive testing in the small to justify modeling a function with a specific formula. If you have several of those, then methods like Cleanroom Software Engineering let you semiformally verify the correctness of upper layers.
So, there’s some stuff like that which was used on an ad hoc basis. Most just tested values and combinations likely to trigger bugs since they were in ranges that cause effects.