mirror of
https://github.com/github/codeql.git
synced 2026-04-24 16:25:15 +02:00
Python: Update all .expected files
I'm beginning to realise why I didn't do the `toString` overriding way back when. Thankfully, now that all of our tests are in the same place, this is actually not a terrible ordeal.
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
| test.py:3:17:3:23 | Str | Formatting string mixes implicitly and explicitly numbered fields. |
|
||||
| test.py:8:17:8:23 | Str | Formatting string mixes implicitly and explicitly numbered fields. |
|
||||
| test.py:3:17:3:23 | StringLiteral | Formatting string mixes implicitly and explicitly numbered fields. |
|
||||
| test.py:8:17:8:23 | StringLiteral | Formatting string mixes implicitly and explicitly numbered fields. |
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
| test.py:29:1:29:50 | Attribute() | Too many arguments for string format. Format $@ requires only 2, but 3 are provided. | test.py:5:20:5:29 | Str | "{0}, {1}" |
|
||||
| test.py:30:1:30:51 | format() | Too many arguments for string format. Format $@ requires only 2, but 3 are provided. | test.py:10:20:10:29 | Str | "{0}, {1}" |
|
||||
| test.py:32:1:32:50 | Attribute() | Too many arguments for string format. Format $@ requires only 2, but 3 are provided. | test.py:6:20:6:27 | Str | "{}, {}" |
|
||||
| test.py:33:1:33:51 | format() | Too many arguments for string format. Format $@ requires only 2, but 3 are provided. | test.py:11:20:11:27 | Str | "{}, {}" |
|
||||
| test.py:29:1:29:50 | Attribute() | Too many arguments for string format. Format $@ requires only 2, but 3 are provided. | test.py:5:20:5:29 | StringLiteral | "{0}, {1}" |
|
||||
| test.py:30:1:30:51 | format() | Too many arguments for string format. Format $@ requires only 2, but 3 are provided. | test.py:10:20:10:29 | StringLiteral | "{0}, {1}" |
|
||||
| test.py:32:1:32:50 | Attribute() | Too many arguments for string format. Format $@ requires only 2, but 3 are provided. | test.py:6:20:6:27 | StringLiteral | "{}, {}" |
|
||||
| test.py:33:1:33:51 | format() | Too many arguments for string format. Format $@ requires only 2, but 3 are provided. | test.py:11:20:11:27 | StringLiteral | "{}, {}" |
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
| test.py:17:1:17:44 | Attribute() | Surplus named argument for string format. An argument named 'world' is provided, but it is not required by $@. | test.py:4:17:4:31 | Str | format "{name!r}, {0}" |
|
||||
| test.py:18:1:18:45 | format() | Surplus named argument for string format. An argument named 'world' is provided, but it is not required by $@. | test.py:9:17:9:31 | Str | format "{name!r}, {0}" |
|
||||
| test.py:20:1:20:49 | Attribute() | Surplus named argument for string format. An argument named 'world' is provided, but it is not required by $@. | test.py:4:17:4:31 | Str | format "{name!r}, {0}" |
|
||||
| test.py:21:1:21:50 | format() | Surplus named argument for string format. An argument named 'world' is provided, but it is not required by $@. | test.py:9:17:9:31 | Str | format "{name!r}, {0}" |
|
||||
| test.py:45:1:45:35 | format() | Surplus named argument for string format. An argument named 'z' is provided, but it is not required by $@. | test.py:37:14:37:18 | Str | any format used. |
|
||||
| test.py:45:1:45:35 | format() | Surplus named argument for string format. An argument named 'z' is provided, but it is not required by $@. | test.py:39:14:39:18 | Str | any format used. |
|
||||
| test.py:46:1:46:34 | Attribute() | Surplus named argument for string format. An argument named 'z' is provided, but it is not required by $@. | test.py:37:14:37:18 | Str | any format used. |
|
||||
| test.py:46:1:46:34 | Attribute() | Surplus named argument for string format. An argument named 'z' is provided, but it is not required by $@. | test.py:39:14:39:18 | Str | any format used. |
|
||||
| unknown_format_string.py:9:12:9:30 | Attribute() | Surplus named argument for string format. An argument named 'b' is provided, but it is not required by $@. | unknown_format_string.py:8:15:8:19 | Str | format "{a}" |
|
||||
| unknown_format_string.py:17:12:17:30 | Attribute() | Surplus named argument for string format. An argument named 'b' is provided, but it is not required by $@. | unknown_format_string.py:16:15:16:19 | Str | format "{a}" |
|
||||
| unknown_format_string.py:25:12:25:30 | Attribute() | Surplus named argument for string format. An argument named 'b' is provided, but it is not required by $@. | unknown_format_string.py:24:15:24:19 | Str | format "{a}" |
|
||||
| test.py:17:1:17:44 | Attribute() | Surplus named argument for string format. An argument named 'world' is provided, but it is not required by $@. | test.py:4:17:4:31 | StringLiteral | format "{name!r}, {0}" |
|
||||
| test.py:18:1:18:45 | format() | Surplus named argument for string format. An argument named 'world' is provided, but it is not required by $@. | test.py:9:17:9:31 | StringLiteral | format "{name!r}, {0}" |
|
||||
| test.py:20:1:20:49 | Attribute() | Surplus named argument for string format. An argument named 'world' is provided, but it is not required by $@. | test.py:4:17:4:31 | StringLiteral | format "{name!r}, {0}" |
|
||||
| test.py:21:1:21:50 | format() | Surplus named argument for string format. An argument named 'world' is provided, but it is not required by $@. | test.py:9:17:9:31 | StringLiteral | format "{name!r}, {0}" |
|
||||
| test.py:45:1:45:35 | format() | Surplus named argument for string format. An argument named 'z' is provided, but it is not required by $@. | test.py:37:14:37:18 | StringLiteral | any format used. |
|
||||
| test.py:45:1:45:35 | format() | Surplus named argument for string format. An argument named 'z' is provided, but it is not required by $@. | test.py:39:14:39:18 | StringLiteral | any format used. |
|
||||
| test.py:46:1:46:34 | Attribute() | Surplus named argument for string format. An argument named 'z' is provided, but it is not required by $@. | test.py:37:14:37:18 | StringLiteral | any format used. |
|
||||
| test.py:46:1:46:34 | Attribute() | Surplus named argument for string format. An argument named 'z' is provided, but it is not required by $@. | test.py:39:14:39:18 | StringLiteral | any format used. |
|
||||
| unknown_format_string.py:9:12:9:30 | Attribute() | Surplus named argument for string format. An argument named 'b' is provided, but it is not required by $@. | unknown_format_string.py:8:15:8:19 | StringLiteral | format "{a}" |
|
||||
| unknown_format_string.py:17:12:17:30 | Attribute() | Surplus named argument for string format. An argument named 'b' is provided, but it is not required by $@. | unknown_format_string.py:16:15:16:19 | StringLiteral | format "{a}" |
|
||||
| unknown_format_string.py:25:12:25:30 | Attribute() | Surplus named argument for string format. An argument named 'b' is provided, but it is not required by $@. | unknown_format_string.py:24:15:24:19 | StringLiteral | format "{a}" |
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
| test.py:17:1:17:44 | Attribute() | Missing named argument for string format. Format $@ requires 'name', but it is omitted. | test.py:4:17:4:31 | Str | "{name!r}, {0}" |
|
||||
| test.py:18:1:18:45 | format() | Missing named argument for string format. Format $@ requires 'name', but it is omitted. | test.py:9:17:9:31 | Str | "{name!r}, {0}" |
|
||||
| test.py:17:1:17:44 | Attribute() | Missing named argument for string format. Format $@ requires 'name', but it is omitted. | test.py:4:17:4:31 | StringLiteral | "{name!r}, {0}" |
|
||||
| test.py:18:1:18:45 | format() | Missing named argument for string format. Format $@ requires 'name', but it is omitted. | test.py:9:17:9:31 | StringLiteral | "{name!r}, {0}" |
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
| test.py:20:1:20:49 | Attribute() | Too few arguments for string format. Format $@ requires at least 1, but 0 are provided. | test.py:4:17:4:31 | Str | "{name!r}, {0}" |
|
||||
| test.py:21:1:21:50 | format() | Too few arguments for string format. Format $@ requires at least 1, but 0 are provided. | test.py:9:17:9:31 | Str | "{name!r}, {0}" |
|
||||
| test.py:23:1:23:32 | Attribute() | Too few arguments for string format. Format $@ requires at least 2, but 1 is provided. | test.py:5:20:5:29 | Str | "{0}, {1}" |
|
||||
| test.py:24:1:24:33 | format() | Too few arguments for string format. Format $@ requires at least 2, but 1 is provided. | test.py:10:20:10:29 | Str | "{0}, {1}" |
|
||||
| test.py:26:1:26:32 | Attribute() | Too few arguments for string format. Format $@ requires at least 2, but 1 is provided. | test.py:6:20:6:27 | Str | "{}, {}" |
|
||||
| test.py:27:1:27:33 | format() | Too few arguments for string format. Format $@ requires at least 2, but 1 is provided. | test.py:11:20:11:27 | Str | "{}, {}" |
|
||||
| test.py:20:1:20:49 | Attribute() | Too few arguments for string format. Format $@ requires at least 1, but 0 are provided. | test.py:4:17:4:31 | StringLiteral | "{name!r}, {0}" |
|
||||
| test.py:21:1:21:50 | format() | Too few arguments for string format. Format $@ requires at least 1, but 0 are provided. | test.py:9:17:9:31 | StringLiteral | "{name!r}, {0}" |
|
||||
| test.py:23:1:23:32 | Attribute() | Too few arguments for string format. Format $@ requires at least 2, but 1 is provided. | test.py:5:20:5:29 | StringLiteral | "{0}, {1}" |
|
||||
| test.py:24:1:24:33 | format() | Too few arguments for string format. Format $@ requires at least 2, but 1 is provided. | test.py:10:20:10:29 | StringLiteral | "{0}, {1}" |
|
||||
| test.py:26:1:26:32 | Attribute() | Too few arguments for string format. Format $@ requires at least 2, but 1 is provided. | test.py:6:20:6:27 | StringLiteral | "{}, {}" |
|
||||
| test.py:27:1:27:33 | format() | Too few arguments for string format. Format $@ requires at least 2, but 1 is provided. | test.py:11:20:11:27 | StringLiteral | "{}, {}" |
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
| test.py:17:12:17:22 | Str | Backspace escape in regular expression at offset 1. |
|
||||
| test.py:19:12:19:28 | Str | Backspace escape in regular expression at offset 8. |
|
||||
| test.py:17:12:17:22 | StringLiteral | Backspace escape in regular expression at offset 1. |
|
||||
| test.py:19:12:19:28 | StringLiteral | Backspace escape in regular expression at offset 8. |
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
| test.py:46:12:46:18 | Str | This regular expression includes duplicate character 'A' in a set of characters. |
|
||||
| test.py:47:12:47:19 | Str | This regular expression includes duplicate character '0' in a set of characters. |
|
||||
| test.py:48:12:48:21 | Str | This regular expression includes duplicate character '-' in a set of characters. |
|
||||
| test.py:133:17:137:11 | Str | This regular expression includes duplicate character 'e' in a set of characters. |
|
||||
| test.py:46:12:46:18 | StringLiteral | This regular expression includes duplicate character 'A' in a set of characters. |
|
||||
| test.py:47:12:47:19 | StringLiteral | This regular expression includes duplicate character '0' in a set of characters. |
|
||||
| test.py:48:12:48:21 | StringLiteral | This regular expression includes duplicate character '-' in a set of characters. |
|
||||
| test.py:133:17:137:11 | StringLiteral | This regular expression includes duplicate character 'e' in a set of characters. |
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
| test.py:22:12:22:29 | Str | Regular expression is missing '?' in named group. |
|
||||
| test.py:23:12:23:33 | Str | Regular expression is missing '?' in named group. |
|
||||
| test.py:22:12:22:29 | StringLiteral | Regular expression is missing '?' in named group. |
|
||||
| test.py:23:12:23:33 | StringLiteral | Regular expression is missing '?' in named group. |
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
| test.py:4:12:4:19 | Str | This regular expression includes an unmatchable caret at offset 1. |
|
||||
| test.py:5:12:5:23 | Str | This regular expression includes an unmatchable caret at offset 5. |
|
||||
| test.py:6:12:6:21 | Str | This regular expression includes an unmatchable caret at offset 2. |
|
||||
| test.py:79:12:79:27 | Str | This regular expression includes an unmatchable caret at offset 8. |
|
||||
| test.py:4:12:4:19 | StringLiteral | This regular expression includes an unmatchable caret at offset 1. |
|
||||
| test.py:5:12:5:23 | StringLiteral | This regular expression includes an unmatchable caret at offset 5. |
|
||||
| test.py:6:12:6:21 | StringLiteral | This regular expression includes an unmatchable caret at offset 2. |
|
||||
| test.py:79:12:79:27 | StringLiteral | This regular expression includes an unmatchable caret at offset 8. |
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
| test.py:29:12:29:19 | Str | This regular expression includes an unmatchable dollar at offset 3. |
|
||||
| test.py:30:12:30:23 | Str | This regular expression includes an unmatchable dollar at offset 3. |
|
||||
| test.py:31:12:31:20 | Str | This regular expression includes an unmatchable dollar at offset 2. |
|
||||
| test.py:80:12:80:26 | Str | This regular expression includes an unmatchable dollar at offset 3. |
|
||||
| test.py:29:12:29:19 | StringLiteral | This regular expression includes an unmatchable dollar at offset 3. |
|
||||
| test.py:30:12:30:23 | StringLiteral | This regular expression includes an unmatchable dollar at offset 3. |
|
||||
| test.py:31:12:31:20 | StringLiteral | This regular expression includes an unmatchable dollar at offset 2. |
|
||||
| test.py:80:12:80:26 | StringLiteral | This regular expression includes an unmatchable dollar at offset 3. |
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
| expressions_test.py:3:14:3:14 | IntegerLiteral | Dictionary key 1 is subsequently $@. | expressions_test.py:4:14:4:14 | IntegerLiteral | overwritten |
|
||||
| expressions_test.py:5:14:5:17 | Str | Dictionary key 'a' is subsequently $@. | expressions_test.py:6:14:6:17 | Str | overwritten |
|
||||
| expressions_test.py:5:14:5:17 | StringLiteral | Dictionary key 'a' is subsequently $@. | expressions_test.py:6:14:6:17 | StringLiteral | overwritten |
|
||||
|
||||
@@ -1 +1 @@
|
||||
| str_fmt_test.py:8:12:8:16 | Str | Invalid conversion specifier at index 0 of '%Z'. |
|
||||
| str_fmt_test.py:8:12:8:16 | StringLiteral | Invalid conversion specifier at index 0 of '%Z'. |
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
| str_fmt_test.py:11:11:11:34 | BinaryExpr | Wrong number of $@ for string format. Format $@ takes 2, but 3 are provided. | str_fmt_test.py:11:23:11:33 | Tuple | arguments | str_fmt_test.py:11:11:11:18 | Str | %s %s |
|
||||
| str_fmt_test.py:14:11:14:23 | BinaryExpr | Wrong number of $@ for string format. Format $@ takes 1, but 2 are provided. | str_fmt_test.py:13:13:13:21 | Tuple | arguments | str_fmt_test.py:12:14:12:19 | Str | %hd |
|
||||
| str_fmt_test.py:11:11:11:34 | BinaryExpr | Wrong number of $@ for string format. Format $@ takes 2, but 3 are provided. | str_fmt_test.py:11:23:11:33 | Tuple | arguments | str_fmt_test.py:11:11:11:18 | StringLiteral | %s %s |
|
||||
| str_fmt_test.py:14:11:14:23 | BinaryExpr | Wrong number of $@ for string format. Format $@ takes 1, but 2 are provided. | str_fmt_test.py:13:13:13:21 | Tuple | arguments | str_fmt_test.py:12:14:12:19 | StringLiteral | %hd |
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
| test.py:17:9:18:18 | Str | Implicit string concatenation. Maybe missing a comma? |
|
||||
| test.py:23:9:24:18 | Str | Implicit string concatenation. Maybe missing a comma? |
|
||||
| test.py:33:9:34:30 | Str | Implicit string concatenation. Maybe missing a comma? |
|
||||
| test.py:35:9:36:18 | Str | Implicit string concatenation. Maybe missing a comma? |
|
||||
| test.py:17:9:18:18 | StringLiteral | Implicit string concatenation. Maybe missing a comma? |
|
||||
| test.py:23:9:24:18 | StringLiteral | Implicit string concatenation. Maybe missing a comma? |
|
||||
| test.py:33:9:34:30 | StringLiteral | Implicit string concatenation. Maybe missing a comma? |
|
||||
| test.py:35:9:36:18 | StringLiteral | Implicit string concatenation. Maybe missing a comma? |
|
||||
|
||||
@@ -1 +1 @@
|
||||
| hosttest.py:6:28:6:50 | (www\|beta).example.com/ | This regular expression has an unescaped '.' before 'example.com/', so it might match more hosts than expected. | hosttest.py:6:27:6:51 | ControlFlowNode for Str | here |
|
||||
| hosttest.py:6:28:6:50 | (www\|beta).example.com/ | This regular expression has an unescaped '.' before 'example.com/', so it might match more hosts than expected. | hosttest.py:6:27:6:51 | ControlFlowNode for StringLiteral | here |
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
| urltest.py:9:8:9:30 | Compare | The string $@ may be at an arbitrary position in the sanitized URL. | urltest.py:9:8:9:20 | Str | example.com |
|
||||
| urltest.py:15:8:15:37 | Attribute() | The string $@ may be at an arbitrary position in the sanitized URL. | urltest.py:15:24:15:36 | Str | example.com |
|
||||
| urltest.py:9:8:9:30 | Compare | The string $@ may be at an arbitrary position in the sanitized URL. | urltest.py:9:8:9:20 | StringLiteral | example.com |
|
||||
| urltest.py:15:8:15:37 | Attribute() | The string $@ may be at an arbitrary position in the sanitized URL. | urltest.py:15:24:15:36 | StringLiteral | example.com |
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
| test.py:8:12:8:23 | Str | test.py:8:19:8:21 | \\s+ | Strings with many repetitions of ' ' can start matching anywhere after the start of the preceeding \\s+$ |
|
||||
| test.py:9:14:9:29 | Str | test.py:9:25:9:27 | \\d+ | Strings starting with '0.9' and with many repetitions of '99' can start matching anywhere after the start of the preceeding \\d+ |
|
||||
| test.py:11:22:11:33 | Str | test.py:11:29:11:31 | \\s+ | Strings with many repetitions of ' ' can start matching anywhere after the start of the preceeding \\s+$ |
|
||||
| test.py:18:14:18:25 | Str | test.py:18:21:18:23 | \\s+ | Strings with many repetitions of ' ' can start matching anywhere after the start of the preceeding \\s+$ |
|
||||
| test.py:20:23:20:274 | Str | test.py:20:271:20:272 | .* | Strings starting with 'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAC' and with many repetitions of 'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAC' can start matching anywhere after the start of the preceeding (AA\|BB)(AA\|BB)(AA\|BB)(AA\|BB)(AA\|BB)(AA\|BB)(AA\|BB)(AA\|BB)(AA\|BB)(AA\|BB)(AA\|BB)(AA\|BB)(AA\|BB)(AA\|BB)(AA\|BB)(AA\|BB)(AA\|BB)(AA\|BB)(AA\|BB)(AA\|BB)(AA\|BB)(AA\|BB)(AA\|BB)(AA\|BB)(AA\|BB)(AA\|BB)(AA\|BB)(AA\|BB)(AA\|BB)(AA\|BB)(AA\|BB)(AA\|BB)(AA\|BB)(AA\|BB)(AA\|BB)C.*Y |
|
||||
| test.py:8:12:8:23 | StringLiteral | test.py:8:19:8:21 | \\s+ | Strings with many repetitions of ' ' can start matching anywhere after the start of the preceeding \\s+$ |
|
||||
| test.py:9:14:9:29 | StringLiteral | test.py:9:25:9:27 | \\d+ | Strings starting with '0.9' and with many repetitions of '99' can start matching anywhere after the start of the preceeding \\d+ |
|
||||
| test.py:11:22:11:33 | StringLiteral | test.py:11:29:11:31 | \\s+ | Strings with many repetitions of ' ' can start matching anywhere after the start of the preceeding \\s+$ |
|
||||
| test.py:18:14:18:25 | StringLiteral | test.py:18:21:18:23 | \\s+ | Strings with many repetitions of ' ' can start matching anywhere after the start of the preceeding \\s+$ |
|
||||
| test.py:20:23:20:274 | StringLiteral | test.py:20:271:20:272 | .* | Strings starting with 'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAC' and with many repetitions of 'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAC' can start matching anywhere after the start of the preceeding (AA\|BB)(AA\|BB)(AA\|BB)(AA\|BB)(AA\|BB)(AA\|BB)(AA\|BB)(AA\|BB)(AA\|BB)(AA\|BB)(AA\|BB)(AA\|BB)(AA\|BB)(AA\|BB)(AA\|BB)(AA\|BB)(AA\|BB)(AA\|BB)(AA\|BB)(AA\|BB)(AA\|BB)(AA\|BB)(AA\|BB)(AA\|BB)(AA\|BB)(AA\|BB)(AA\|BB)(AA\|BB)(AA\|BB)(AA\|BB)(AA\|BB)(AA\|BB)(AA\|BB)(AA\|BB)(AA\|BB)C.*Y |
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
edges
|
||||
| test.py:5:1:5:8 | ControlFlowNode for USERNAME | test.py:14:18:14:25 | ControlFlowNode for USERNAME | provenance | |
|
||||
| test.py:5:12:5:24 | ControlFlowNode for Str | test.py:5:1:5:8 | ControlFlowNode for USERNAME | provenance | |
|
||||
| test.py:5:12:5:24 | ControlFlowNode for StringLiteral | test.py:5:1:5:8 | ControlFlowNode for USERNAME | provenance | |
|
||||
| test.py:6:1:6:8 | ControlFlowNode for PASSWORD | test.py:15:18:15:25 | ControlFlowNode for PASSWORD | provenance | |
|
||||
| test.py:6:12:6:25 | ControlFlowNode for Str | test.py:6:1:6:8 | ControlFlowNode for PASSWORD | provenance | |
|
||||
| test.py:6:12:6:25 | ControlFlowNode for StringLiteral | test.py:6:1:6:8 | ControlFlowNode for PASSWORD | provenance | |
|
||||
nodes
|
||||
| test.py:5:1:5:8 | ControlFlowNode for USERNAME | semmle.label | ControlFlowNode for USERNAME |
|
||||
| test.py:5:12:5:24 | ControlFlowNode for Str | semmle.label | ControlFlowNode for Str |
|
||||
| test.py:5:12:5:24 | ControlFlowNode for StringLiteral | semmle.label | ControlFlowNode for StringLiteral |
|
||||
| test.py:6:1:6:8 | ControlFlowNode for PASSWORD | semmle.label | ControlFlowNode for PASSWORD |
|
||||
| test.py:6:12:6:25 | ControlFlowNode for Str | semmle.label | ControlFlowNode for Str |
|
||||
| test.py:6:12:6:25 | ControlFlowNode for StringLiteral | semmle.label | ControlFlowNode for StringLiteral |
|
||||
| test.py:14:18:14:25 | ControlFlowNode for USERNAME | semmle.label | ControlFlowNode for USERNAME |
|
||||
| test.py:15:18:15:25 | ControlFlowNode for PASSWORD | semmle.label | ControlFlowNode for PASSWORD |
|
||||
subpaths
|
||||
#select
|
||||
| test.py:5:12:5:24 | ControlFlowNode for Str | test.py:5:12:5:24 | ControlFlowNode for Str | test.py:14:18:14:25 | ControlFlowNode for USERNAME | This hardcoded value is $@. | test.py:14:18:14:25 | ControlFlowNode for USERNAME | used as credentials |
|
||||
| test.py:6:12:6:25 | ControlFlowNode for Str | test.py:6:12:6:25 | ControlFlowNode for Str | test.py:15:18:15:25 | ControlFlowNode for PASSWORD | This hardcoded value is $@. | test.py:15:18:15:25 | ControlFlowNode for PASSWORD | used as credentials |
|
||||
| test.py:5:12:5:24 | ControlFlowNode for StringLiteral | test.py:5:12:5:24 | ControlFlowNode for StringLiteral | test.py:14:18:14:25 | ControlFlowNode for USERNAME | This hardcoded value is $@. | test.py:14:18:14:25 | ControlFlowNode for USERNAME | used as credentials |
|
||||
| test.py:6:12:6:25 | ControlFlowNode for StringLiteral | test.py:6:12:6:25 | ControlFlowNode for StringLiteral | test.py:15:18:15:25 | ControlFlowNode for PASSWORD | This hardcoded value is $@. | test.py:15:18:15:25 | ControlFlowNode for PASSWORD | used as credentials |
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
| decorated_exports.py:3:33:3:45 | Str | The name 'not_defined' is exported by __all__ but is not defined. |
|
||||
| exports.py:1:57:1:64 | Str | The name 'nosuch' is exported by __all__ but is not defined. |
|
||||
| decorated_exports.py:3:33:3:45 | StringLiteral | The name 'not_defined' is exported by __all__ but is not defined. |
|
||||
| exports.py:1:57:1:64 | StringLiteral | The name 'nosuch' is exported by __all__ but is not defined. |
|
||||
|
||||
Reference in New Issue
Block a user