This repository was archived by the owner on Jan 5, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 126
More cleanup #153
Merged
Merged
More cleanup #153
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
31c636f
Standardise on capitalisation `WebSocket`.
adc3ce8
Extend documentation for `package` and use it in two more places.
3c8fa02
Regularise a few comments.
1d479d9
Add change note.
bccf750
Sort `go.qll` alphabetically.
223d0db
Fix missing `</p>` in qhelp.
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| lgtm,codescanning | ||
| * Modeling of several WebSocket libraries has been added, which may lead to more results from the | ||
| security queries. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
8 changes: 8 additions & 0 deletions
8
ql/test/library-tests/semmle/go/frameworks/WebSocket/Read.expected
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| | WebSocketReadWrite.go:31:7:31:10 | definition of xnet | | ||
| | WebSocketReadWrite.go:35:3:35:7 | definition of xnet2 | | ||
| | WebSocketReadWrite.go:41:3:41:40 | ... := ...[1] | | ||
| | WebSocketReadWrite.go:44:3:44:48 | ... := ...[1] | | ||
| | WebSocketReadWrite.go:51:7:51:16 | definition of gorillaMsg | | ||
| | WebSocketReadWrite.go:55:3:55:10 | definition of gorilla2 | | ||
| | WebSocketReadWrite.go:61:3:61:38 | ... := ...[1] | | ||
| | WebSocketReadWrite.go:67:3:67:36 | ... := ...[0] | |
2 changes: 1 addition & 1 deletion
2
...ts/semmle/go/frameworks/Websocket/Read.ql → ...ts/semmle/go/frameworks/WebSocket/Read.ql
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...sts/semmle/go/frameworks/Websocket/go.mod → ...sts/semmle/go/frameworks/WebSocket/go.mod
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| module codeql-go-tests/frameworks/Websocket | ||
| module codeql-go-tests/frameworks/WebSocket | ||
|
|
||
| go 1.14 | ||
|
|
||
|
|
||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
8 changes: 0 additions & 8 deletions
8
ql/test/library-tests/semmle/go/frameworks/Websocket/Read.expected
This file was deleted.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A thought for the future: should we add a
versionparameter to match the version as well?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could do, in the future.