4 ms·
Weird indeed. But I also miss valgrind, which is precise, just very slow. I wonder if valgrind detects intra-object OOBAs.
by rurban 1y ago
Weird indeed.
But I also miss valgrind, which is precise, just very slow. I wonder if valgrind detects intra-object OOBAs.
- ev234 1y agoValgrind's Memcheck is included. It does not detect intra-object OOBAs.
- rurban 1y agoAh thanks, missed that
- pizlonator 1y agoNo, it's not that precise. Valgrind is based on tagging whether a memory location is live or not. So, it would not just fail the intra-object OOB test, it would also fail the "out of bounds but in bounds" case: https://github.com/pizlonator/llvm-project-deluge/blob/deluge/invisicaps_by_example.md#out-of-bounds-but-in-bounds https://github.com/pizlonator/llvm-project-deluge/blob/delug...