Inspectopedia
 
2024.3

Shift operation by possibly wrong constant

Warning
Performance
New
Last modified: 03 December 2024

Reports a shift operation where the second operand is a constant outside the reasonable range, for example, an integer shift operation outside the range 0..31, shifting by negative or overly large values.