mirror of
https://github.com/github/codeql.git
synced 2026-05-02 04:05:14 +02:00
Update InsufficientControlFlowManagementWhenUsingBitOperations.ql
This commit is contained in:
@@ -61,8 +61,7 @@ class DangerousBitOperations extends BinaryBitwiseOperation {
|
||||
/** Holds when the bit expression contains both arguments and a function call. */
|
||||
predicate dangerousArgumentChecking() {
|
||||
not this.getLeftOperand() instanceof Call and
|
||||
globalValueNumber(this.getLeftOperand().getAChild*()) =
|
||||
globalValueNumber(bfc.getAnArgument())
|
||||
globalValueNumber(this.getLeftOperand().getAChild*()) = globalValueNumber(bfc.getAnArgument())
|
||||
}
|
||||
|
||||
/** Holds when function calls are present in the bit expression. */
|
||||
|
||||
Reference in New Issue
Block a user