Skip to content

Commit 194f967

Browse files
committed
Rust: Required doc comments.
1 parent ed67dae commit 194f967

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

rust/ql/lib/codeql/rust/Concepts.qll

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,13 @@ class ActiveThreatModelSource extends ThreatModelSource {
5252
*/
5353
final class CommandLineArgsSource = CommandLineArgsSource::Range;
5454

55+
/**
56+
* Provides a class for modeling new sources for the program's command line arguments or path.
57+
*/
5558
module CommandLineArgsSource {
59+
/**
60+
* A data flow source corresponding to the program's command line arguments or path.
61+
*/
5662
abstract class Range extends ThreatModelSource::Range {
5763
override string getThreatModel() { result = "commandargs" }
5864

@@ -65,7 +71,13 @@ module CommandLineArgsSource {
6571
*/
6672
final class EnvironmentSource = EnvironmentSource::Range;
6773

74+
/**
75+
* Provides a class for modeling new sources for the program's environment.
76+
*/
6877
module EnvironmentSource {
78+
/**
79+
* A data flow source corresponding to the program's environment.
80+
*/
6981
abstract class Range extends ThreatModelSource::Range {
7082
override string getThreatModel() { result = "environment" }
7183

@@ -78,7 +90,13 @@ module EnvironmentSource {
7890
*/
7991
final class RemoteSource = RemoteSource::Range;
8092

93+
/**
94+
* Provides a class for modeling new sources of remote (network) data.
95+
*/
8196
module RemoteSource {
97+
/**
98+
* A data flow source for remote (network) data.
99+
*/
82100
abstract class Range extends ThreatModelSource::Range {
83101
override string getThreatModel() { result = "remote" }
84102

0 commit comments

Comments
 (0)