mirror of
https://github.com/github/codeql.git
synced 2026-04-30 11:15:13 +02:00
Python: restrict py/meta/points-to-call-graph to non-ignored files
This commit is contained in:
@@ -10,7 +10,11 @@
|
||||
|
||||
import python
|
||||
import semmle.python.dataflow.new.internal.DataFlowPrivate
|
||||
import meta.MetaMetrics
|
||||
|
||||
from DataFlowCall c, DataFlowCallableValue f
|
||||
where c.getCallable() = f
|
||||
where
|
||||
c.getCallable() = f and
|
||||
not c.getLocation().getFile() instanceof IgnoredFile and
|
||||
not f.getLocation().getFile() instanceof IgnoredFile
|
||||
select c, "Call to $@", f.getScope(), f.toString()
|
||||
|
||||
Reference in New Issue
Block a user