My parser read past the input. AddressSanitizer stayed quiet.
I gave a deliberately broken parser three bytes. It read byte four. AddressSanitizer said nothing. Then I changed the allocation around the input. Same parser, same three bytes, same compiler flags: heap-buffer-overflow . There it was. 🧪 The bug hadn't appeared between runs.