I didn't expect this to take up 3 hours of my life today but it did. An off-by-one error in a bitmask, an incorrect pointer to a pointer, a leaked malloc. Altogether wrecked havoc. Interfacing with C APIs can be brutal. The primary reference is the LLVM source code. Pain.

0

If you have a fediverse account, you can quote this note from your own instance. Search https://hachyderm.io/users/mitchellh/statuses/114785781856784516 on your instance and quote it. (Note that quoting is not supported in Mastodon.)