about summary refs log tree commit diff stats
path: root/html/subx
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2019-03-26 20:41:22 -0700
committerKartik Agaram <vc@akkartik.com>2019-03-26 22:20:15 -0700
commit104bd6555dcca42afb96e97585d007231a27daf3 (patch)
tree40c748b907cf0e0a1e21d70fb407864cf7c62e22 /html/subx
parent800fb25a8ff5c3eea783865915e03cd1d4b39d4c (diff)
downloadmu-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/subx')
0 files changed, 0 insertions, 0 deletions