3 ms·
How do you calculate those checksums without relying on the memory?
by marcosdumay 10y ago
How do you calculate those checksums without relying on the memory?
- Retra 10y agoYou can't really, but you are now requiring the error to occur specifically in the memory containing your checksum, rather than anywhere in your data.
- marcosdumay 10y agoIt deeper than that. What are you calculating the checksum of? Is it corrupted already? If you can't trust your RAM, you have no hard truth to rely on. It's only probabilistic programing or living with the errors. (Although, rereading the GP, he seems to be talking about corrupted binaries. Yes, you can catch corrupted binaries, but only after they corrupted some data.)
- lomnakkus 10y agoIt's even worse than that: where's the code that's doing all the chucksumming and checking of checksums? Presumably it came from memory at some point... Maybe it was read fine from the binary the first time, but the second time... At some point you just have to hope.
- 8note 10y agothe chances of the memory erroring in such a way that the checksum still matches becomes quite small