You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The statement *((char *)&x) = 0 assigns 0 to the last byte of x (on a little endian system), but the analyzer incorrectly models it as overwriting the value of x with 0. In reality the value of x remains 1024.
The statement
*((char *)&x) = 0
assigns0
to the last byte ofx
(on a little endian system), but the analyzer incorrectly models it as overwriting the value ofx
with0
. In reality the value ofx
remains1024
.See the example on Godbolt.
The text was updated successfully, but these errors were encountered: