Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
octoploid
· 10y ago · 0 comments
Well, just use -fsanitize=undefined and it will point out (most of) the isuses for you.
Comments
[–]
Ace17
10y ago
Provided that your test suite properly trigger the execution of tricky parts, in tricky situations (You do have a test suite, right?)
[–]
Kristine1975
10y ago
>You do have a test suite, right?
Of course I do. I call it "customers".
[–]
Ace17
10y ago
Ok great then, and don't forget to tell them to compile using "-fsanitize=undefined" !
[–]
typon
10y ago
We do love our customers don't we? They make the best testers.
[–]
pjmlp
10y ago
Well, not all C compilers have it.