diff options
author | Kartik Agaram <vc@akkartik.com> | 2019-03-26 20:41:22 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2019-03-26 22:20:15 -0700 |
commit | 104bd6555dcca42afb96e97585d007231a27daf3 (patch) | |
tree | 40c748b907cf0e0a1e21d70fb407864cf7c62e22 /html/edit/006-sandbox-copy.mu.html | |
parent | 800fb25a8ff5c3eea783865915e03cd1d4b39d4c (diff) | |
download | mu-104bd6555dcca42afb96e97585d007231a27daf3.tar.gz |
5023
Several bugs found after performing multiple loops through convert-data. This has been a general pattern: given how unsafe the x86 'language' is, the regular amount of testing with a single input doesn't really give sufficient confidence. Ever-present is the possibility that I forgot to pop something from the stack, either a spilled register or a local. Calling functions multiple times seems to help detect such bugs. So far I've been doing this extra level of testing implicitly when I build the next higher abstraction. But with `convert-data` the buck stopped, and much painful debugging ensued. One thing that would help is if `write` on streams didn't remain silent on overflow. But we actually need that sometimes, when streams are used as buffers.
Diffstat (limited to 'html/edit/006-sandbox-copy.mu.html')
0 files changed, 0 insertions, 0 deletions