mirror of
https://github.com/github/codeql.git
synced 2025-12-20 02:44:30 +01:00
use a more detailed alert message in bitwise-sign-check
This commit is contained in:
@@ -16,4 +16,4 @@ where
|
||||
e.isStrict() and
|
||||
e.getGreaterOperand() instanceof BitwiseExpr and
|
||||
e.getLesserOperand().(IntegerLiteral).getIntValue() = 0
|
||||
select e, "Sign check of a bitwise operation."
|
||||
select e, "Potential unsafe sign check of a bitwise operation."
|
||||
|
||||
Reference in New Issue
Block a user