News for hackers. Stuff that matters.
Re:Therac-25 by jacquesm on Tuesday February 18, 2014 @11:22AM (#7258956)
> Crashing is better that corrupt data.

In embedded control software of medical systems that are directly affecting the lives of the patients involved crashing is definitely not an option and it is not necessarily better than corrupt data.

What is an option is to very carefully model the permitted states of the machine and then to exhaustively test those states and their transitions to make sure there are no undefined states the machine can be in.

One way to do this is to have a watchdog process (or even an entirely different system) that monitors the state of the machine and that initiates a safe shutdown if any departure of the defined operation is detected.

There are no comments on this comment yet.