mirror of
https://github.com/github/codeql.git
synced 2026-04-25 16:55:19 +02:00
Update java/ql/src/Telemetry/AutomodelFrameworkModeCharacteristics.qll
Co-authored-by: Aditya Sharad <6874315+adityasharad@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
32f2614fe0
commit
36aabc077e
@@ -190,8 +190,7 @@ private class UnexploitableExistsCharacteristic extends CharacteristicsImpl::Not
|
||||
exists(Callable callable |
|
||||
callable = getCallable(e) and
|
||||
(
|
||||
callable.getName().toLowerCase() = "exists" or
|
||||
callable.getName().toLowerCase() = "notexists"
|
||||
callable.getName().toLowerCase() = ["exists", "notexists"]
|
||||
) and
|
||||
callable.getReturnType() instanceof BooleanType
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user