use a more detailed alert message in bitwise-sign-check

This commit is contained in:
erik-krogh
2022-08-23 11:18:45 +02:00
parent d96d6721ba
commit afadcd9b45
3 changed files with 3 additions and 3 deletions

View File

@@ -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."