Java: Sync files and make framework specific code.

This commit is contained in:
Michael Nebel
2022-08-03 15:42:59 +02:00
parent 15c05e201d
commit 5255e16816
4 changed files with 98 additions and 11 deletions

View File

@@ -7,11 +7,13 @@
*/
import java
import semmle.code.java.dataflow.internal.FlowSummaryImpl as FlowSummaryImpl
import ExternalApi
private predicate getRelevantUsages(ExternalApi api, int usages) {
not api.isUninteresting() and
not api.isSupported() and
not api instanceof FlowSummaryImpl::Public::NegativeSummarizedCallable and
usages =
strictcount(Call c |
c.getCallee().getSourceDeclaration() = api and