File tree Expand file tree Collapse file tree 4 files changed +40
-1
lines changed
python/ql/src/utils/modelgenerator Expand file tree Collapse file tree 4 files changed +40
-1
lines changed Original file line number Diff line number Diff line change
1
+ /**
2
+ * @name Capture neutral models.
3
+ * @description Finds neutral models to be used by other queries.
4
+ * @kind diagnostic
5
+ * @id py/utils/modelgenerator/neutral-models
6
+ * @tags modelgenerator
7
+ */
8
+
9
+ import internal.CaptureModels
10
+
11
+ from DataFlowSummaryTargetApi api , string noflow
12
+ where noflow = captureNoFlow ( api )
13
+ select noflow order by noflow
Original file line number Diff line number Diff line change
1
+ /**
2
+ * @name Capture sink models.
3
+ * @description Finds public methods that act as sinks as they flow into a known sink.
4
+ * @kind diagnostic
5
+ * @id py/utils/modelgenerator/sink-models
6
+ * @tags modelgenerator
7
+ */
8
+
9
+ import internal.CaptureModels
10
+
11
+ from DataFlowSinkTargetApi api , string sink
12
+ where sink = captureSink ( api )
13
+ select sink order by sink
Original file line number Diff line number Diff line change
1
+ /**
2
+ * @name Capture source models.
3
+ * @description Finds APIs that act as sources as they expose already known sources.
4
+ * @kind diagnostic
5
+ * @id py/utils/modelgenerator/source-models
6
+ * @tags modelgenerator
7
+ */
8
+
9
+ import internal.CaptureModels
10
+
11
+ from DataFlowSourceTargetApi api , string source
12
+ where source = captureSource ( api )
13
+ select source order by source
Original file line number Diff line number Diff line change 2
2
* @name Capture summary models.
3
3
* @description Finds applicable summary models to be used by other queries.
4
4
* @kind diagnostic
5
- * @id python /utils/modelgenerator/summary-models
5
+ * @id py /utils/modelgenerator/summary-models
6
6
* @tags modelgenerator
7
7
*/
8
8
You can’t perform that action at this time.
0 commit comments