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
{{ message }}
Repository navigation
Commit 79522f6
Browse filesBrowse the repository at this point in the historyBrowse files
Fix #15265 FP uninitvar: ProgramMemoryState::assume() drops a condition on a variable assigned an unknown value
A variable assigned an unknown value is stored in the program memory as
unknown. Since 35dc425 (#13930) ProgramMemoryState::replace() keeps an
unknown value (skipUnknown), and assume() stores the state with the
condition applied through it, so the condition is dropped: on the false
path of 'if (err == 0)' err is not known to be non-zero. 4b66976
(#15042) made this visible in more cases.
The true path that is assumed again at the end of its block keeps an
unknown value as before: with the condition, the path past the if knows
values that the forward analysis does not lower when only other paths
modify the tracked value (knownConditionTrueFalse FP).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
0 commit comments