• he/him

programming, video games, dadding. I happen to work for Xbox, but don't represent them.


more blog
dev.to/knutaf
discord
knutaf

Catfish-Man
@Catfish-Man

If you write code in C, C++, Objective-C, Swift, Rust (I think?), and probably some other languages, and you don't already regularly use ASAN (Address Sanitizer) and TSAN (Thread Sanitizer), you may be entitled to compensation are probably1 way more frustrated than necessary. I can't count the number of times I've gone from "this bug is impossible, it reproduces once every 10,000 attempts and makes no sense" to "oh there's the problem" just by clicking a checkbox and recompiling.


  1. or you're working in an unusual environment or have unusual needs


knutaf
@knutaf

That sounds very useful. On Windows, you can turn on AppVerifier for at least some of these checks. Doesn't even require recompiling!


You must log in to comment.

in reply to @Catfish-Man's post:

in reply to @knutaf's post:

You can also use ASAN on Windows :) AppVerifier appears to be more similar to the "GuardMalloc" checkbox in the screenshot, in that it works by swapping out the OS calls. The neat thing about ASAN is that it works even when you're not calling any functions at all, which makes it a lot more thorough, albeit at the cost of requiring recompilation and some runtime overhead.