You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
research: MemorySanitizer or equivalent built in to debug mode #1471
enhancementSolving this issue will likely involve adding new logic or components to the codebase.researchThis proposal requires a considerable amount of investigation before it can be considered.
This issue is to investigate MemorySanitizer and do something like it or an idea inspired by it. The idea is to detect loads and stores of undefined or otherwise invalid memory and treat them as safety violations.
Ideally the performance penalty would be small enough that we would include it in ReleaseSafe mode as well as Debug mode.
Reacted by kristopher tate, cgag, bmeh, Meai, Conscat, lin72h and 190n
Can the AddressSanitizer be used also, if you are not using it already? It would be nice to know if there's a way to know anything about both sanitizer's performance penalty in relation to Zig.
I hope it will not be included in ReleaseFast though, or at the very least one should be able to disable those completely.
enhancementSolving this issue will likely involve adding new logic or components to the codebase.researchThis proposal requires a considerable amount of investigation before it can be considered.
Activity
bmeh commentedon Sep 8, 2018
Can the AddressSanitizer be used also, if you are not using it already? It would be nice to know if there's a way to know anything about both sanitizer's performance penalty in relation to Zig.
I hope it will not be included in ReleaseFast though, or at the very least one should be able to disable those completely.
andrewrk commentedon Sep 9, 2018
It would certainly not be in ReleaseFast or ReleaseSmall builds.
I think I was actually thinking of AddressSanitizer, not MemorySanitizer, but I'll let this issue be to investigate both of them.