Owen Mansel-Chan
0895853a23
Delete unused testing predicate
2023-07-28 17:09:53 +01:00
Owen Mansel-Chan
00d5cb737c
Different approach to avoiding getTarget()
2023-07-28 17:00:36 +01:00
Owen Mansel-Chan
d2b8d836e9
Avoid using getTarget() as it may not exist
...
Try to also deal with the case that we are calling a function
through a variable that it has been assigned to.
2023-07-28 17:00:34 +01:00
Chris Smowton
f08879a2df
Format; add change note
2023-07-28 14:16:30 +01:00
Chris Smowton
6fa2d2764d
Don't treat logrus' WithContext method as a logging function
...
This isn't output by the default formatters (though a custom formatter could potentially output things stored in it)
2023-07-28 14:11:03 +01:00
Owen Mansel-Chan
e0cc337c71
Fix DataFlow::MergePathGraph3
...
Need to get the signatures correct.
2023-07-26 21:48:08 +01:00
Owen Mansel-Chan
f40bcd0cdd
Merge pull request #13824 from owen-mc/go/fix-compiler-error-messages-for-1.20.6
...
Go: Compiler error messages changed in Go 1.20.6
2023-07-26 21:46:54 +01:00
Owen Mansel-Chan
778de6b5d2
Compiler error messages changed in Go 1.20.6
2023-07-26 16:55:26 +01:00
github-actions[bot]
f91b7a9342
Post-release preparation for codeql-cli-2.14.1
2023-07-21 16:16:25 +00:00
github-actions[bot]
c936a920b0
Release preparation for version 2.14.1
2023-07-20 16:32:27 +00:00
Chris Smowton
8e63bd6c78
Correct Golang change note format
2023-07-20 16:40:18 +01:00
Owen Mansel-Chan
374f13e0dc
Revert "Go: Fix missing flow through receiver for function variable"
2023-07-20 13:31:14 +01:00
Owen Mansel-Chan
5b0d4ce7cb
Merge pull request #13644 from porcupineyhairs/dsnImprove
...
Go : Improvements to DSN Injection query
2023-07-19 16:10:34 +01:00
Owen Mansel-Chan
0a0e9bb25b
Merge pull request #13767 from owen-mc/go/missing-flow-through-receiver
...
Go: Fix missing flow through receiver for function variable
2023-07-19 13:52:25 +01:00
Anders Schack-Mulligen
a9c76d4175
Merge pull request #13717 from aschackmull/dataflow/neverskipadditionalsteps
...
Dataflow: Add support for not skipping configuration-specific nodes in big-step
2023-07-19 14:06:54 +02:00
Owen Mansel-Chan
b9027a0806
Avoid using getTarget() as it may not exist
2023-07-19 12:48:34 +01:00
Owen Mansel-Chan
a1fdc6f438
Merge pull request #13599 from pwntester/ruby/gopg_improvements
...
Go: Improve go-pg support
2023-07-19 12:40:39 +01:00
Owen Mansel-Chan
9b3ff82279
Address review comments
2023-07-19 11:18:20 +01:00
Owen Mansel-Chan
a3ba74a6a6
Cast to MethodCallNode before calling getReceiver()
...
This is not required, because getReceiver is still defined on CallNode,
but is done for consistency.
2023-07-19 11:17:38 +01:00
Anders Schack-Mulligen
e72a0b2f8c
Dataflow: Add change notes.
2023-07-19 11:41:15 +02:00
Anders Schack-Mulligen
95d17045c9
Dataflow: Sync.
2023-07-19 11:41:15 +02:00
Owen Mansel-Chan
de8794e9ba
Make MethodCallNode char pred more accurate
...
When a function is assigned to a variable and called through that
variable then we previously didn't realise it was a function. With
this change we try use local flow to determine if the function being
called is a method.
2023-07-19 10:24:27 +01:00
Owen Mansel-Chan
9b0d7f3515
Merge pull request #13739 from owen-mc/go/extractor-use-origin
...
Use Origin() in Go extractor
2023-07-18 21:37:46 +01:00
Owen Mansel-Chan
a7469ce4f1
Use Origin()
2023-07-17 16:11:25 +01:00
Alvaro Muñoz
eacecab689
remove PrepareContext
2023-07-17 09:16:32 +02:00
Owen Mansel-Chan
a2a2e93cfd
Fix printing when one obj is nil
2023-07-15 07:06:16 +01:00
Owen Mansel-Chan
0b8353eb64
Merge pull request #13602 from pwntester/ruby/add_gqlgen_support
...
Go: Add support for the gqlgen library
2023-07-15 07:04:09 +01:00
Alvaro Muñoz
0ea0d54050
gofmt -w .
2023-07-14 22:15:40 +02:00
Owen Mansel-Chan
cff09d28b8
Test if Origin() works (for Var and Func)
2023-07-14 13:52:50 +01:00
Alvaro Muñoz
11a915dcd7
Merge branch 'ruby/add_gqlgen_support' of https://github.com/pwntester/codeql into ruby/add_gqlgen_support
2023-07-13 22:16:41 +02:00
Alvaro Muñoz
55366f6743
retab
2023-07-13 22:16:34 +02:00
Alvaro Muñoz
9f6c7efd91
Update go/ql/test/library-tests/semmle/go/frameworks/gqlgen/gqlgen.ql
...
Co-authored-by: Owen Mansel-Chan <62447351+owen-mc@users.noreply.github.com >
2023-07-13 22:11:37 +02:00
Alvaro Muñoz
4111ed6653
retab generated.go
2023-07-13 22:10:19 +02:00
Alvaro Muñoz
d681094824
Fixup expected file
2023-07-13 21:42:16 +02:00
Alvaro Muñoz
1dedc0ae55
Update go/ql/test/library-tests/semmle/go/frameworks/gqlgen/graph/schema.resolvers.go
...
Co-authored-by: Owen Mansel-Chan <62447351+owen-mc@users.noreply.github.com >
2023-07-13 21:39:47 +02:00
Alvaro Muñoz
94628edf98
Merge branch 'ruby/add_gqlgen_support' of https://github.com/pwntester/codeql into ruby/add_gqlgen_support
2023-07-13 21:36:49 +02:00
Alvaro Muñoz
730781720d
remove unnecessary file
2023-07-13 21:35:11 +02:00
Alvaro Muñoz
7a54755c1b
Apply suggestions from code review
...
Co-authored-by: Owen Mansel-Chan <62447351+owen-mc@users.noreply.github.com >
2023-07-13 21:32:56 +02:00
Alvaro Muñoz
1b6308e32f
Apply suggestions from code review
...
Co-authored-by: Owen Mansel-Chan <62447351+owen-mc@users.noreply.github.com >
2023-07-13 21:32:46 +02:00
Alvaro Muñoz
a590c57174
add stubs
2023-07-13 13:31:15 +02:00
Alvaro Muñoz
aa2d61c7e3
replace deps with stubs
2023-07-13 12:18:12 +02:00
Anders Schack-Mulligen
837df2ad37
Dataflow: Sync.
2023-07-13 10:55:39 +02:00
Owen Mansel-Chan
1767ca2682
Merge pull request #13728 from owen-mc/go/minor-cleanup-Twirp-models
...
Go: minor cleanup to Twirp models
2023-07-12 22:59:13 +01:00
Edward Minnix III
541737d1a8
Merge pull request #13694 from egregius313/egregius313/add-default-isBarrier-2-isAdditionalFlowStep-4
...
DataFlow: Add default implementations of isBarrier/2 and isAddiitonalFlowStep/4
2023-07-12 17:10:17 -04:00
Alvaro Muñoz
4b85d54089
update tests and stubs
2023-07-12 22:21:49 +02:00
Alvaro Muñoz
300584c4bb
Merge branch 'ruby/gopg_improvements' of https://github.com/pwntester/codeql into ruby/gopg_improvements
2023-07-12 22:09:27 +02:00
Alvaro Muñoz
53b27703cf
replace deps with stubs
2023-07-12 22:09:16 +02:00
Owen Mansel-Chan
8a573cca0f
Merge pull request #13625 from GeekMasher/go-micro
...
[Go] GoMicro framework support
2023-07-12 20:57:01 +01:00
Ed Minnix
63299688d5
Add change notes for default implementations of isBarrier and isAdditionalFlowStep
2023-07-12 15:21:16 -04:00
Ed Minnix
e5ce78caab
Go: Add default implementation of StateConfigSig::isAdditionalFlowStep/4
2023-07-12 15:06:25 -04:00