Eliminate some false positive results.

main
Kevin Backhouse 3 years ago
parent 118731d8b8
commit cb50787ec4
No known key found for this signature in database
GPG Key ID: 9DD01852EE40366E

@ -53,7 +53,7 @@ predicate indexK_with_fixedarray(ClassTemplateInstantiation t, ArrayIndexCall ca
t.getSimpleName() = "array" and
idx = call.getArgument(0) and
lowerBound(idx) >= 0 and
upperBound(idx) < t.getTemplateArgument(1).(Literal).getValue().toInt()
upperBound(idx) < lowerBound(t.getTemplateArgument(1))
)
}

Loading…
Cancel
Save