Main Content
CWE Rule 196
Description
Rule Description
The software uses an unsigned primitive and performs a cast to a signed primitive, which can produce an unexpected value if the value of the unsigned primitive can not be represented using a signed primitive.
Polyspace Implementation
The rule checker checks for Sign change integer conversion overflow.
Examples
Check Information
Category: Others |
Version History
Introduced in R2023a