File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
cpp/ql/src/Security/CWE/CWE-020/ir Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ class UntrustedExternalApiDataNode extends ExternalApiDataNode {
13
13
UntrustedExternalApiDataNode ( ) { UntrustedDataToExternalApiFlow:: hasFlow ( _, this ) }
14
14
15
15
/** Gets a source of untrusted data which is passed to this external API data node. */
16
- DataFlow:: Node getAnUntrustedSource ( ) { UntrustedDataToExternalApiConfig :: hasFlow ( result , this ) }
16
+ DataFlow:: Node getAnUntrustedSource ( ) { UntrustedDataToExternalApiFlow :: hasFlow ( result , this ) }
17
17
}
18
18
19
19
/** DEPRECATED: Alias for UntrustedExternalApiDataNode */
Original file line number Diff line number Diff line change @@ -58,9 +58,9 @@ deprecated class UntrustedDataToExternalAPIConfig = UntrustedDataToExternalApiCo
58
58
59
59
/** A configuration for tracking flow from `RemoteFlowSource`s to `ExternalApiDataNode`s. */
60
60
module UntrustedDataToExternalApiConfig implements DataFlow:: ConfigSig {
61
- override predicate isSource ( DataFlow:: Node source ) { source instanceof RemoteFlowSource }
61
+ predicate isSource ( DataFlow:: Node source ) { source instanceof RemoteFlowSource }
62
62
63
- override predicate isSink ( DataFlow:: Node sink ) { sink instanceof ExternalApiDataNode }
63
+ predicate isSink ( DataFlow:: Node sink ) { sink instanceof ExternalApiDataNode }
64
64
}
65
65
66
66
module UntrustedDataToExternalApiFlow = TaintTracking:: Make< UntrustedDataToExternalApiConfig > ;
You can’t perform that action at this time.
0 commit comments