From e8d726606b35f19301635f6eb056d96ec45ea44a Mon Sep 17 00:00:00 2001 From: Michael Nebel Date: Mon, 29 Aug 2022 11:53:38 +0200 Subject: [PATCH] C#/Java: Add descriptive comment on negative summaries in ExternalFlow. --- csharp/ql/lib/semmle/code/csharp/dataflow/ExternalFlow.qll | 2 ++ java/ql/lib/semmle/code/java/dataflow/ExternalFlow.qll | 1 + 2 files changed, 3 insertions(+) diff --git a/csharp/ql/lib/semmle/code/csharp/dataflow/ExternalFlow.qll b/csharp/ql/lib/semmle/code/csharp/dataflow/ExternalFlow.qll index 9285ba2f4a7..303c561721d 100644 --- a/csharp/ql/lib/semmle/code/csharp/dataflow/ExternalFlow.qll +++ b/csharp/ql/lib/semmle/code/csharp/dataflow/ExternalFlow.qll @@ -12,6 +12,8 @@ * `namespace; type; subtypes; name; signature; ext; input; output; kind; provenance` * - Negative Summaries: * `namespace; type; name; signature; provenance` + * A negative summary is used to indicate that there is no flow via a callable. + * * The interpretation of a row is similar to API-graphs with a left-to-right * reading. * 1. The `namespace` column selects a namespace. diff --git a/java/ql/lib/semmle/code/java/dataflow/ExternalFlow.qll b/java/ql/lib/semmle/code/java/dataflow/ExternalFlow.qll index d3f0492089d..3e8a11ce6a4 100644 --- a/java/ql/lib/semmle/code/java/dataflow/ExternalFlow.qll +++ b/java/ql/lib/semmle/code/java/dataflow/ExternalFlow.qll @@ -12,6 +12,7 @@ * `namespace; type; subtypes; name; signature; ext; input; output; kind; provenance` * - Negative Summaries: * `namespace; type; name; signature; provenance` + * A negative summary is used to indicate that there is no flow via a callable. * * The interpretation of a row is similar to API-graphs with a left-to-right * reading.