Skip to content

Commit 98ea7e8

Browse files
committed
C++: Add provenance to MaD format explanation
1 parent 6b52ba8 commit 98ea7e8

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

cpp/ql/lib/semmle/code/cpp/dataflow/ExternalFlow.qll

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,15 @@
9999
* sources "remote" indicates a default remote flow source, and for summaries
100100
* "taint" indicates a default additional taint step and "value" indicates a
101101
* globally applicable value-preserving step.
102+
* 10. The `provenance` column is a tag to indicate the origin and verification of a model.
103+
* The format is {origin}-{verification} or just "manual" where the origin describes
104+
* the origin of the model and verification describes how the model has been verified.
105+
* Some examples are:
106+
* - "df-generated": The model has been generated by the model generator tool.
107+
* - "df-manual": The model has been generated by the model generator and verified by a human.
108+
* - "manual": The model has been written by hand.
109+
* This information is used in a heuristic for dataflow analysis to determine, if a
110+
* model or source code should be used for determining flow.
102111
*/
103112

104113
import cpp

0 commit comments

Comments
 (0)