mirror of
https://github.com/github/codeql.git
synced 2026-04-24 08:15:14 +02:00
C#: Only disregard generated summaries in case there is a static call target in source code.
This commit is contained in:
@@ -364,7 +364,7 @@ class NonDelegateDataFlowCall extends DataFlowCall, TNonDelegateCall {
|
||||
DispatchCall getDispatchCall() { result = dc }
|
||||
|
||||
pragma[nomagic]
|
||||
private predicate hasSourceTarget() { dc.getADynamicTarget().fromSource() }
|
||||
private predicate hasSourceTarget() { dc.getAStaticTarget().fromSource() }
|
||||
|
||||
pragma[nomagic]
|
||||
private FlowSummary::SummarizedCallable getASummarizedCallableTarget() {
|
||||
|
||||
Reference in New Issue
Block a user