[PATCH] D48958: [clang][ubsan] Implicit Cast Sanitizer - integer truncation - clang part
Roman Lebedev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jul 10 02:54:15 PDT 2018
lebedev.ri added a comment.
Finished running it on a normal testset of my pet project <https://github.com/darktable-org/rawspeed>.
- It fired ~18 times.
- There were no obvious false-positives (e.g. when an explicit cast was involved).
- At least 3 of those appear to be a true bugs.
- 4-5 more are probably bugs, but it is hard to tell.
- Last 10-11 appear to be mostly OK intentional truncating casts.
This was on a normal test set, i suspect fuzzing will reveal more.
Repository:
rC Clang
https://reviews.llvm.org/D48958
More information about the cfe-commits
mailing list