Files
codeql/csharp/ql/test/query-tests/Security Features/CWE-022/TaintedPath/TaintedPath.expected
Tom Hvitved 78ddb37a8c C#: Track type information in data flow
This commit adds type information to data flow paths, by mapping node types onto
the smaller set of GVN types, and implementing `ppReprType()`.

The effect is a mere change in `DataFlow::PathNode::toString()`; no type-based
pruning is done yet.
2019-12-10 15:46:28 +01:00

26 lines
4.2 KiB
Plaintext

edges
| TaintedPath.cs:12:23:12:45 | access to property QueryString : NameValueCollection | TaintedPath.cs:14:50:14:53 | access to local variable path |
| TaintedPath.cs:12:23:12:45 | access to property QueryString : NameValueCollection | TaintedPath.cs:19:51:19:54 | access to local variable path |
| TaintedPath.cs:12:23:12:45 | access to property QueryString : NameValueCollection | TaintedPath.cs:27:30:27:33 | access to local variable path |
| TaintedPath.cs:12:23:12:45 | access to property QueryString : NameValueCollection | TaintedPath.cs:33:30:33:33 | access to local variable path |
| TaintedPath.cs:12:23:12:45 | access to property QueryString : NameValueCollection | TaintedPath.cs:38:25:38:31 | access to local variable badPath |
| TaintedPath.cs:12:23:12:45 | access to property QueryString : NameValueCollection | TaintedPath.cs:40:49:40:55 | access to local variable badPath |
| TaintedPath.cs:12:23:12:45 | access to property QueryString : NameValueCollection | TaintedPath.cs:53:26:53:29 | access to local variable path |
nodes
| TaintedPath.cs:12:23:12:45 | access to property QueryString : NameValueCollection | semmle.label | access to property QueryString : NameValueCollection |
| TaintedPath.cs:14:50:14:53 | access to local variable path | semmle.label | access to local variable path |
| TaintedPath.cs:19:51:19:54 | access to local variable path | semmle.label | access to local variable path |
| TaintedPath.cs:27:30:27:33 | access to local variable path | semmle.label | access to local variable path |
| TaintedPath.cs:33:30:33:33 | access to local variable path | semmle.label | access to local variable path |
| TaintedPath.cs:38:25:38:31 | access to local variable badPath | semmle.label | access to local variable badPath |
| TaintedPath.cs:40:49:40:55 | access to local variable badPath | semmle.label | access to local variable badPath |
| TaintedPath.cs:53:26:53:29 | access to local variable path | semmle.label | access to local variable path |
#select
| TaintedPath.cs:14:50:14:53 | access to local variable path | TaintedPath.cs:12:23:12:45 | access to property QueryString : NameValueCollection | TaintedPath.cs:14:50:14:53 | access to local variable path | $@ flows to here and is used in a path. | TaintedPath.cs:12:23:12:45 | access to property QueryString | User-provided value |
| TaintedPath.cs:19:51:19:54 | access to local variable path | TaintedPath.cs:12:23:12:45 | access to property QueryString : NameValueCollection | TaintedPath.cs:19:51:19:54 | access to local variable path | $@ flows to here and is used in a path. | TaintedPath.cs:12:23:12:45 | access to property QueryString | User-provided value |
| TaintedPath.cs:27:30:27:33 | access to local variable path | TaintedPath.cs:12:23:12:45 | access to property QueryString : NameValueCollection | TaintedPath.cs:27:30:27:33 | access to local variable path | $@ flows to here and is used in a path. | TaintedPath.cs:12:23:12:45 | access to property QueryString | User-provided value |
| TaintedPath.cs:33:30:33:33 | access to local variable path | TaintedPath.cs:12:23:12:45 | access to property QueryString : NameValueCollection | TaintedPath.cs:33:30:33:33 | access to local variable path | $@ flows to here and is used in a path. | TaintedPath.cs:12:23:12:45 | access to property QueryString | User-provided value |
| TaintedPath.cs:38:25:38:31 | access to local variable badPath | TaintedPath.cs:12:23:12:45 | access to property QueryString : NameValueCollection | TaintedPath.cs:38:25:38:31 | access to local variable badPath | $@ flows to here and is used in a path. | TaintedPath.cs:12:23:12:45 | access to property QueryString | User-provided value |
| TaintedPath.cs:40:49:40:55 | access to local variable badPath | TaintedPath.cs:12:23:12:45 | access to property QueryString : NameValueCollection | TaintedPath.cs:40:49:40:55 | access to local variable badPath | $@ flows to here and is used in a path. | TaintedPath.cs:12:23:12:45 | access to property QueryString | User-provided value |
| TaintedPath.cs:53:26:53:29 | access to local variable path | TaintedPath.cs:12:23:12:45 | access to property QueryString : NameValueCollection | TaintedPath.cs:53:26:53:29 | access to local variable path | $@ flows to here and is used in a path. | TaintedPath.cs:12:23:12:45 | access to property QueryString | User-provided value |