Conversions between unrelated pointer types (e.g. char * and void *) involve bitcasts which were not properly modeled in case of static initializers. The patch fixes this problem.
The problem was originally spotted by Artem Dergachev.
Differential D14652
[analyzer] Improve modeling of static initializers. ygribov on Nov 13 2015, 5:40 AM. Authored by
Details Conversions between unrelated pointer types (e.g. char * and void *) involve bitcasts which were not properly modeled in case of static initializers. The patch fixes this problem. The problem was originally spotted by Artem Dergachev.
Diff Detail
Event Timeline
Comment Actions Fixed and committed.
|