Michael B. Gale
65c654e946
Go: Do not use a named return variable in buildWithoutCustomCommands
2024-05-13 15:33:52 +01:00
Michael B. Gale
4d5f05a8dd
Go: Adjust log messages depending on whether build scripts were found or not
2024-05-13 12:42:00 +01:00
Michael B. Gale
1b9e8ae86f
Go: Modify Autobuild to return an array of scripts that were run
2024-05-13 12:38:51 +01:00
Michael B. Gale
bbc359ebde
Go: Improve messages in buildWithoutCustomCommands
2024-05-13 12:31:04 +01:00
Paolo Tranquilli
c30ca4d9f6
Merge pull request #16398 from github/redsun82/go-make
...
Go: update `make` and CI to use `bazel`
2024-05-13 08:37:52 +02:00
Erik Krogh Kristensen
0d814e0e20
Merge pull request #16220 from erik-krogh/domainAnc
...
Go: Add an example specific to domain names in missing-regexp-anchor
2024-05-11 07:52:13 +02:00
Owen Mansel-Chan
f7e6bf7ef5
Two tests have different paths but same results
2024-05-10 23:41:00 +01:00
Owen Mansel-Chan
f8e17fe8cc
Accept expected test changes
2024-05-10 23:40:59 +01:00
Owen Mansel-Chan
76946184de
Accept MaD renumbering for edge provenance
2024-05-10 23:40:58 +01:00
Owen Mansel-Chan
e1c85e3581
Fix elementWrite to include flow summaries
2024-05-10 23:40:58 +01:00
Owen Mansel-Chan
8cc9838628
Add change note
2024-05-10 23:40:57 +01:00
Owen Mansel-Chan
d5aa08dbf3
Local flow steps for flow summaries for built-in functions
2024-05-10 23:40:57 +01:00
Owen Mansel-Chan
86e2b845f3
Add tests for copy (taint passes, value fails)
2024-05-10 23:40:56 +01:00
Owen Mansel-Chan
eab1569342
Update ExternalValueFlow to use value flow
2024-05-10 23:40:56 +01:00
Owen Mansel-Chan
c816412795
Create copy of ExternalTaintFlow called ExternalValueFlow
2024-05-10 23:40:55 +01:00
Owen Mansel-Chan
84b7319688
Rename test folder ExternalFlow to ExternalTaintFlow
2024-05-10 23:40:54 +01:00
Owen Mansel-Chan
f95ccd242f
Remove old-style models of built-in functions
2024-05-10 23:40:54 +01:00
Owen Mansel-Chan
fcdac0aeb0
Add models for min and max built-in functions
2024-05-10 23:40:53 +01:00
Owen Mansel-Chan
1322ce35d6
Add model for built-in function copy
2024-05-10 23:40:53 +01:00
Owen Mansel-Chan
e857eedd4a
Fix model for append - it is variadic
2024-05-10 23:40:52 +01:00
Erik Krogh Kristensen
462e564c19
apply suggestion from code review
...
Co-authored-by: Owen Mansel-Chan <62447351+owen-mc@users.noreply.github.com >
2024-05-10 18:59:55 +02:00
Owen Mansel-Chan
674e65e134
Fix test expectations
2024-05-09 16:26:30 +01:00
Owen Mansel-Chan
526204dc43
Merge pull request #16458 from owen-mc/go/fix-mad-for-builtin-functions
...
Go: fix `hasQualifiedName` and models-as-data for built-in functions
2024-05-09 15:06:07 +01:00
Sarita Iyer
aab5da0435
Merge pull request #16320 from github/subatoi/deprecate-codeql-for-vs-code
...
[8th May 2024] Add deprecation notices to CodeQL for VS Code documentation
2024-05-08 17:00:42 -04:00
Owen Mansel-Chan
279b2c7a95
Merge pull request #16457 from owen-mc/go/fix-implicitvarargsslice-type
...
Go: Fix `getType` on `ImplicitVarArgsSlice`
2024-05-08 20:52:01 +01:00
erik-krogh
811c175556
add example for domain names with sub-domains to missing-regexp-anchor
2024-05-08 20:50:43 +02:00
Owen Mansel-Chan
4f10cb5fa0
Local flow tests: do not list summary models
...
This is so that when we don't change the test results every time we add
a summary model for a built-in function.
2024-05-08 16:13:37 +01:00
Owen Mansel-Chan
57ff30c5f3
Update tests: built-in models now work
2024-05-08 16:07:02 +01:00
Owen Mansel-Chan
1ccea884ff
Add change note
2024-05-08 15:37:25 +01:00
Owen Mansel-Chan
f6f594e4b5
parse empty string as package name
2024-05-08 15:33:19 +01:00
Owen Mansel-Chan
fb74a2a170
Use "" in qualified name for entities without a package
2024-05-08 15:33:19 +01:00
Owen Mansel-Chan
4d42a88c3c
Add change note
2024-05-08 15:31:22 +01:00
Owen Mansel-Chan
9842445b52
Fix getType on ImplicitVarArgsSlice
...
It was not defined for built-in functions or for functions called via
a function variable.
2024-05-08 15:22:27 +01:00
Paolo Tranquilli
e359744b8b
Go: bring back qhelp in action
2024-05-08 14:31:00 +02:00
Michael B. Gale
896fb87d1d
Go: Fix err being shadowed in RunListWithEnv
2024-05-08 13:29:28 +01:00
Michael B. Gale
724d026238
Go: Move go list functions to toolchain package
2024-05-08 13:29:28 +01:00
Paolo Tranquilli
12c28f3f68
Go: reorganize CI steps
2024-05-08 12:32:57 +02:00
Paolo Tranquilli
5b1b30a171
Apply suggestions from code review
...
Co-authored-by: Michael B. Gale <mbg@github.com >
2024-05-08 12:23:16 +02:00
Paolo Tranquilli
e71d038d7f
Go: specify Go runtime version in actions
2024-05-06 14:57:24 +02:00
Paolo Tranquilli
c123513311
Go: bring back test action
...
This reverts commit 9055d9567a .
2024-05-06 14:56:57 +02:00
Paolo Tranquilli
bab2dd4427
Go: bring back make and CI changes
...
This reverts commit 12b9b805e2 .
2024-05-06 14:56:21 +02:00
Paolo Tranquilli
73df4fa920
Go: fix Windows installation
2024-05-06 14:55:35 +02:00
Paolo Tranquilli
5b184c179a
Bazel/Go: add some comments
2024-05-06 12:48:01 +02:00
Chuan-kai Lin
1dd3a0fd76
Go: Use entities in reorder directives
2024-05-03 11:16:08 -07:00
Paolo Tranquilli
77128de105
Bazel/Go: make installer work from internal repo and on windows
...
It turns out everything that is needed for the installer to work on
windows is enabling runfiles. This also requires symlinks to avoid
excessive copying of files.
2024-05-03 17:45:57 +02:00
Paolo Tranquilli
17990da205
Update go/extractor/BUILD.bazel
...
Co-authored-by: Cornelius Riemenschneider <cornelius@github.com >
2024-05-03 15:58:43 +02:00
Paolo Tranquilli
2132c7bf96
Bazel/Go: make @codeql//go:gen runnable from internal repo
2024-05-03 14:52:17 +02:00
Paolo Tranquilli
8f0b88497a
Bazel/Go: be more specific in go/extractor/BUILD.bazel comments
2024-05-03 13:15:08 +02:00
Paolo Tranquilli
31c427e64c
Bazel/Go: add more explanation in gen.py
2024-05-03 13:15:08 +02:00
Paolo Tranquilli
00baccbc15
Go: autoformat
2024-05-02 17:08:23 +02:00