Skip to content

Commit 9a76a68

Browse files
committed
Go: Add provenance to MaD format explanation
1 parent 98ea7e8 commit 9a76a68

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

go/ql/lib/semmle/go/dataflow/ExternalFlow.qll

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,15 @@
9191
* sources "remote" indicates a default remote flow source, and for summaries
9292
* "taint" indicates a default additional taint step and "value" indicates a
9393
* globally applicable value-preserving step.
94+
* 10. The `provenance` column is a tag to indicate the origin and verification of a model.
95+
* The format is {origin}-{verification} or just "manual" where the origin describes
96+
* the origin of the model and verification describes how the model has been verified.
97+
* Some examples are:
98+
* - "df-generated": The model has been generated by the model generator tool.
99+
* - "df-manual": The model has been generated by the model generator and verified by a human.
100+
* - "manual": The model has been written by hand.
101+
* This information is used in a heuristic for dataflow analysis to determine, if a
102+
* model or source code should be used for determining flow.
94103
*/
95104
overlay[local?]
96105
module;

0 commit comments

Comments
 (0)