Skip to content

Commit

Permalink
Update qhelp to explain possible source of FPs
Browse files Browse the repository at this point in the history
  • Loading branch information
owen-mc committed Oct 9, 2024
1 parent b087fde commit 500992c
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ the bit size you specified when parsing the number.
If this is not possible, then add upper (and lower) bound checks specific to each type and
bit size (you can find the minimum and maximum value for each type in the <code>math</code> package).
</p>
<p>
Note that CodeQL is only able to identify bounds checks that compare against a constant value. When a variable
is used in the comparison, CodeQL is unable to determine the value of the variable at runtime and will not
recognize the bounds check.
</p>
</recommendation>

<example>
Expand Down

0 comments on commit 500992c

Please sign in to comment.