3 ms·
Note that UBSan is a dynamic analysis tool.
by saagarjha 4y ago
Note that UBSan is a dynamic analysis tool.
- pjmlp 4y agoThanks for the correction, one should use those as well on debug builds for integration tests.
- saagarjha 4y agoAgreed :)
- eru 4y agoIndeed. But still a good idea to run at least your test-suite with it. And also with address sanitizer and clang's memory sanitizer, etc. Whatever you can find.
- astrange 4y agoThe static analysis is you compile with it and see if there's any trap instructions emitted by the compiler. (The answer is: yes.)