Skip to content

Commit a593a52

Browse files
committed
add missing qldoc (that was already missing?)
1 parent e89e0eb commit a593a52

File tree

7 files changed

+13
-0
lines changed

7 files changed

+13
-0
lines changed

cpp/ql/src/Security/CWE/CWE-020/ExternalAPIs.qll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ class UntrustedExternalApiDataNode extends ExternalApiDataNode {
2121
/** DEPRECATED: Alias for UntrustedExternalApiDataNode */
2222
deprecated class UntrustedExternalAPIDataNode = UntrustedExternalApiDataNode;
2323

24+
/** An external API which is used with untrusted data. */
2425
private newtype TExternalApi =
26+
/** An untrusted API method `m` where untrusted data is passed at `index`. */
2527
TExternalApiParameter(Function f, int index) {
2628
exists(UntrustedExternalApiDataNode n |
2729
f = n.getExternalFunction() and

cpp/ql/src/Security/CWE/CWE-020/ir/ExternalAPIs.qll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ class UntrustedExternalApiDataNode extends ExternalApiDataNode {
2121
/** DEPRECATED: Alias for UntrustedExternalApiDataNode */
2222
deprecated class UntrustedExternalAPIDataNode = UntrustedExternalApiDataNode;
2323

24+
/** An external API which is used with untrusted data. */
2425
private newtype TExternalApi =
26+
/** An untrusted API method `m` where untrusted data is passed at `index`. */
2527
TExternalApiParameter(Function f, int index) {
2628
exists(UntrustedExternalApiDataNode n |
2729
f = n.getExternalFunction() and

csharp/ql/lib/semmle/code/csharp/security/dataflow/ExternalAPIsQuery.qll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,9 @@ class UntrustedExternalApiDataNode extends ExternalApiDataNode {
102102
/** DEPRECATED: Alias for UntrustedExternalApiDataNode */
103103
deprecated class UntrustedExternalAPIDataNode = UntrustedExternalApiDataNode;
104104

105+
/** An external API which is used with untrusted data. */
105106
private newtype TExternalApi =
107+
/** An untrusted API method `m` where untrusted data is passed at `index`. */
106108
TExternalApiParameter(Callable m, int index) {
107109
exists(UntrustedExternalApiDataNode n |
108110
m = n.getCallable().getUnboundDeclaration() and

go/ql/lib/semmle/go/security/ExternalAPIs.qll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,9 @@ class UntrustedExternalApiDataNode extends ExternalApiDataNode {
195195
/** DEPRECATED: Alias for UntrustedExternalApiDataNode */
196196
deprecated class UntrustedExternalAPIDataNode = UntrustedExternalApiDataNode;
197197

198+
/** An external API which is used with untrusted data. */
198199
private newtype TExternalApi =
200+
/** An untrusted API method `m` where untrusted data is passed at `index`. */
199201
TExternalApiParameter(Function m, int index) {
200202
exists(UntrustedExternalApiDataNode n |
201203
m = n.getFunction() and

java/ql/lib/semmle/code/java/security/ExternalAPIs.qll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,9 @@ class UntrustedExternalApiDataNode extends ExternalApiDataNode {
126126
/** DEPRECATED: Alias for UntrustedExternalApiDataNode */
127127
deprecated class UntrustedExternalAPIDataNode = UntrustedExternalApiDataNode;
128128

129+
/** An external API which is used with untrusted data. */
129130
private newtype TExternalApi =
131+
/** An untrusted API method `m` where untrusted data is passed at `index`. */
130132
TExternalApiParameter(Method m, int index) {
131133
exists(UntrustedExternalApiDataNode n |
132134
m = n.getMethod() and

javascript/ql/lib/semmle/javascript/security/dataflow/ExternalAPIUsedWithUntrustedDataQuery.qll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ deprecated class UntrustedExternalAPIDataNode = UntrustedExternalApiDataNode;
8181
* Name of an external API sink, boxed in a newtype for consistency with other languages.
8282
*/
8383
private newtype TExternalApi =
84+
/** An external API sink with `name`. */
8485
MkExternalApiNode(string name) {
8586
exists(Sink sink |
8687
any(Configuration c).hasFlow(_, sink) and

python/ql/src/Security/CWE-020-ExternalAPIs/ExternalAPIs.qll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,9 @@ class UntrustedExternalApiDataNode extends ExternalApiDataNode {
129129
/** DEPRECATED: Alias for UntrustedExternalApiDataNode */
130130
deprecated class UntrustedExternalAPIDataNode = UntrustedExternalApiDataNode;
131131

132+
/** An external API which is used with untrusted data. */
132133
private newtype TExternalApi =
134+
/** An untrusted API method `m` where untrusted data is passed at `index`. */
133135
TExternalApiParameter(DataFlowPrivate::DataFlowCallable callable, int index) {
134136
exists(UntrustedExternalApiDataNode n |
135137
callable = n.getCallable() and

0 commit comments

Comments
 (0)