mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
use a more detailed alert message in bitwise-sign-check
This commit is contained in:
@@ -25,4 +25,4 @@ where
|
||||
forall(int op | op = lhs.(BitwiseAndExpr).getAnOperand().getValue().toInt() | op < 0) and
|
||||
// exception for cases involving macros
|
||||
not e.isAffectedByMacro()
|
||||
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