21 Oct
2021
21 Oct
'21
1:13 a.m.
Gavin Lambert wrote:
And the static analysis tooling is a bit better now at spotting such things, though not perfect.
Not really. https://godbolt.org/z/P8xb4Ern4 https://godbolt.org/z/Y56KnxGeT https://godbolt.org/z/M7aGb7jq8 https://pdimov.github.io/blog/2020/05/17/state-of-c-static-analysis-circa-20... https://godbolt.org/z/Pba64YjYv Well, there is https://godbolt.org/z/nz9Pvzfoj, I suppose. Oh, -fanalyzer has improved: https://godbolt.org/z/xhnr88ah1 It wasn't very useful for C++ last I checked, but it works now.