Skip to content

Commit 667861f

Browse files
committed
depstubber with latest change
- still failing with ./tst.go:195:25: undefined: parser.XMLParseNoEnt
1 parent 6f3867d commit 667861f

File tree

3 files changed

+46
-12
lines changed

3 files changed

+46
-12
lines changed

go/ql/test/query-tests/Security/CWE-643/XPathInjection.expected

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ edges
5050
| tst.go:152:14:152:35 | call to Get | tst.go:164:31:164:126 | ...+... |
5151
| tst.go:152:14:152:35 | call to Get | tst.go:173:21:173:116 | ...+... |
5252
| tst.go:152:14:152:35 | call to Get | tst.go:182:27:182:122 | ...+... |
53+
| tst.go:193:14:193:19 | selection of Form | tst.go:193:14:193:35 | call to Get |
54+
| tst.go:193:14:193:35 | call to Get | tst.go:198:23:198:85 | ...+... |
5355
nodes
5456
| XPathInjection.go:13:14:13:19 | selection of Form | semmle.label | selection of Form |
5557
| XPathInjection.go:13:14:13:35 | call to Get | semmle.label | call to Get |
@@ -105,6 +107,9 @@ nodes
105107
| tst.go:164:31:164:126 | ...+... | semmle.label | ...+... |
106108
| tst.go:173:21:173:116 | ...+... | semmle.label | ...+... |
107109
| tst.go:182:27:182:122 | ...+... | semmle.label | ...+... |
110+
| tst.go:193:14:193:19 | selection of Form | semmle.label | selection of Form |
111+
| tst.go:193:14:193:35 | call to Get | semmle.label | call to Get |
112+
| tst.go:198:23:198:85 | ...+... | semmle.label | ...+... |
108113
subpaths
109114
#select
110115
| XPathInjection.go:16:29:16:91 | ...+... | XPathInjection.go:13:14:13:19 | selection of Form | XPathInjection.go:16:29:16:91 | ...+... | XPath expression depends on a $@. | XPathInjection.go:13:14:13:19 | selection of Form | user-provided value |
@@ -147,3 +152,4 @@ subpaths
147152
| tst.go:173:21:173:116 | ...+... | tst.go:152:14:152:19 | selection of Form | tst.go:173:21:173:116 | ...+... | XPath expression depends on a $@. | tst.go:152:14:152:19 | selection of Form | user-provided value |
148153
| tst.go:182:27:182:122 | ...+... | tst.go:151:14:151:19 | selection of Form | tst.go:182:27:182:122 | ...+... | XPath expression depends on a $@. | tst.go:151:14:151:19 | selection of Form | user-provided value |
149154
| tst.go:182:27:182:122 | ...+... | tst.go:152:14:152:19 | selection of Form | tst.go:182:27:182:122 | ...+... | XPath expression depends on a $@. | tst.go:152:14:152:19 | selection of Form | user-provided value |
155+
| tst.go:198:23:198:85 | ...+... | tst.go:193:14:193:19 | selection of Form | tst.go:198:23:198:85 | ...+... | XPath expression depends on a $@. | tst.go:193:14:193:19 | selection of Form | user-provided value |

go/ql/test/query-tests/Security/CWE-643/vendor/github.com/lestrrat-go/libxml2/parser/stub.go

Lines changed: 40 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

go/ql/test/query-tests/Security/CWE-643/vendor/github.com/lestrrat-go/libxml2/stub.go

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)