Skip to content

Commit 7a48152

Browse files
committed
Add Go Stubs for LibXML2
1 parent 2d33f86 commit 7a48152

File tree

3 files changed

+59
-1
lines changed

3 files changed

+59
-1
lines changed

go/ql/test/query-tests/Security/CWE-643/go.mod

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module main
22

3-
go 1.14
3+
go 1.21
44

55
require (
66
github.com/ChrisTrenkamp/goxpath v0.0.0-20190607011252-c5096ec8773d
@@ -13,3 +13,16 @@ require (
1313
github.com/lestrrat-go/libxml2 v0.0.0-20231124114421-99c71026c2f5
1414
github.com/santhosh-tekuri/xpathparser v1.0.0
1515
)
16+
17+
require (
18+
github.com/davecgh/go-spew v1.1.1 // indirect
19+
github.com/pkg/errors v0.9.1 // indirect
20+
github.com/pmezard/go-difflib v1.0.0 // indirect
21+
github.com/stretchr/objx v0.5.0 // indirect
22+
github.com/stretchr/testify v1.8.4 // indirect
23+
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 // indirect
24+
gopkg.in/xmlpath.v1 v1.0.0-20140413065638-a146725ea6e7 // indirect
25+
gopkg.in/yaml.v3 v3.0.1 // indirect
26+
launchpad.net/gocheck v0.0.0-20140225173054-000000000087 // indirect
27+
launchpad.net/xmlpath v0.0.0-20130614043138-000000000004 // indirect
28+
)

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

Lines changed: 12 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/modules.txt

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,39 @@ github.com/go-xmlpath/xmlpath
1919
# github.com/jbowtie/gokogiri v0.0.0-20190301021639-37f655d3078f
2020
## explicit
2121
github.com/jbowtie/gokogiri
22+
# github.com/lestrrat-go/libxml2 v0.0.0-20231124114421-99c71026c2f5
23+
## explicit
24+
github.com/lestrrat-go/libxml2
2225
# github.com/santhosh-tekuri/xpathparser v1.0.0
2326
## explicit
2427
github.com/santhosh-tekuri/xpathparser
28+
# github.com/davecgh/go-spew v1.1.1
29+
## explicit
30+
github.com/davecgh/go-spew
31+
# github.com/pkg/errors v0.9.1
32+
## explicit
33+
github.com/pkg/errors
34+
# github.com/pmezard/go-difflib v1.0.0
35+
## explicit
36+
github.com/pmezard/go-difflib
37+
# github.com/stretchr/objx v0.5.0
38+
## explicit
39+
github.com/stretchr/objx
40+
# github.com/stretchr/testify v1.8.4
41+
## explicit
42+
github.com/stretchr/testify
43+
# gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405
44+
## explicit
45+
gopkg.in/check.v1
46+
# gopkg.in/xmlpath.v1 v1.0.0-20140413065638-a146725ea6e7
47+
## explicit
48+
gopkg.in/xmlpath.v1
49+
# gopkg.in/yaml.v3 v3.0.1
50+
## explicit
51+
gopkg.in/yaml.v3
52+
# launchpad.net/gocheck v0.0.0-20140225173054-000000000087
53+
## explicit
54+
launchpad.net/gocheck
55+
# launchpad.net/xmlpath v0.0.0-20130614043138-000000000004
56+
## explicit
57+
launchpad.net/xmlpath

0 commit comments

Comments
 (0)