Chris Smowton
e62a0805db
Add test for map literal
2024-02-27 13:44:52 +00:00
Chris Smowton
12213a0a08
Add test
2024-02-23 18:39:16 +00:00
amammad
1927530517
update tests after branch update
2024-02-21 22:15:23 +04:00
Am
376c6ea09a
Merge branch 'main' into amammad-go-bombs
2024-02-21 21:42:25 +03:30
amammad
4c769f2b09
update tests
2024-02-21 01:10:35 +04:00
amammad
13b0a9a842
New testcase 's2Reader.ReadByte()'
2024-02-21 01:05:57 +04:00
amammad
905420143b
call functions in the same order as the function declarations
2024-02-21 00:19:51 +04:00
Michael B. Gale
ea676469bb
Merge pull request #15202 from github/mbg/go/1.22
...
Go: Update workflows and expected test results for Go 1.22
2024-02-20 12:32:57 +00:00
Tony Torralba
1704bfe2bf
Merge pull request #15585 from atorralba/atorralba/go/promote-jwt-unsafe-verification
...
Go: Promote `go/missing-jwt-signature-check` from experimental
2024-02-19 15:35:44 +01:00
Michael B. Gale
25f0692e2c
Go: Update expected results for TypeParamType
2024-02-16 17:33:30 +00:00
Tony Torralba
2a30898af6
Go: Promote go/missing-jwt-signature-check from experimental
2024-02-14 17:25:03 +01:00
Tony Torralba
1202b5b429
Go: Use less confusing name for hardcoded credentials tests
...
We don't want name-based heuristics to pick these variable names, but also using something like 'safeName' may mislead readers into believing the test cases are intended to be GOOD cases (i.e. safe)
2024-02-14 17:06:05 +01:00
Tony Torralba
5ce35e47b9
Adjust a test case so that the key isn't considered dummy
...
(len < 4)
2024-02-14 13:06:31 +01:00
Tony Torralba
750c8085cb
Remove duplicated main from tests
2024-02-14 12:15:19 +01:00
Tony Torralba
ba1faea630
Go: Promote go/hardcoded-key from experimental
2024-02-14 12:15:14 +01:00
Anders Schack-Mulligen
3b8af1e52a
Go: Add empty provenance column to expected files.
2024-02-09 11:32:07 +01:00
Tony Torralba
3b7d6a4806
Go: Add AwsLambda to the global context
2024-01-24 11:33:26 +01:00
Tony Torralba
9a0fb39382
Model StartWithContext
...
Co-authored-by: Chris Smowton <smowton@github.com >
2024-01-19 09:25:35 +01:00
Tony Torralba
1d7dbec719
Go: Add flow sources for AWS Lambda function handlers
2024-01-18 15:17:21 +01:00
Michael B. Gale
08c4dc1ea5
Go: Exclude all FlowSummaryNodes from test results
2024-01-16 15:51:40 +00:00
amammad
a47c702171
change TN to GOOD instead of using hasValueFlow
2024-01-15 22:08:35 +04:00
amammad
65ac94320e
fix Typo in tests
2024-01-15 01:14:54 +04:00
amammad
3c79faf37a
minor change for resolving rebase conflicts
2024-01-15 01:06:36 +04:00
amammad
b2edf6cf3e
add Inline Expectations Test, update tests accordingly
2024-01-15 00:27:06 +04:00
Owen Mansel-Chan
057ee85cd0
Merge pull request #14123 from am0o0/amammad-go-fastHttp
...
Go: fasthttp
2024-01-14 20:12:31 +00:00
amammad
0efb00724d
Add hasFlowToComparison to all sinks as a sanitizer
2024-01-15 00:05:11 +04:00
Tony Torralba
05b487e3a6
Go: Recognize unsafe candidate selection in go/insecure-randomness
2024-01-11 11:58:12 +01:00
Tony Torralba
5e8c63c3aa
Use arg position instead of arg as class field to reduce number of instances
2024-01-10 14:12:29 +01:00
Tony Torralba
78c0cdfa2c
Apply suggestions from code review
...
co-authored-by: Owen Mansel-Chan <owen-mc@github.com >
2024-01-10 13:33:41 +01:00
Tony Torralba
3534f692dc
Fix test expectations
...
Barrier-in addition removes an overlapping path
2024-01-10 13:33:41 +01:00
Tony Torralba
46df5857ec
Update test expectations
2024-01-10 12:31:02 +01:00
Tony Torralba
a0f6b5ea10
Update test expectations
2024-01-09 17:00:20 +01:00
Owen Mansel-Chan
697aa609f4
Merge pull request #15211 from owen-mc/go/redefine-successfully-extracted-files
...
Go: report any extracted file as successfully extracted
2024-01-03 16:07:09 +00:00
Owen Mansel-Chan
14cffc3170
Merge pull request #15128 from owen-mc/go/fix-fp-incorrect-integer-conversion-signedness
...
Go: fix FP in incorrect integer conversion query relating to strict comparisons with MaxInt and MaxUint
2024-01-03 14:57:34 +00:00
Owen Mansel-Chan
13b00bae17
Update test expectation
2024-01-02 22:38:30 +00:00
Chad Bentz
730f6ed5b0
Merge branch 'main' into go-xxe-libxml2
2023-12-22 11:57:43 -05:00
Chad Bentz
7c93a2c825
Add const XMLParseNoEnt to stub
2023-12-21 00:49:14 +00:00
Chad Bentz
667861f575
depstubber with latest change
...
- still failing with ./tst.go:195:25: undefined: parser.XMLParseNoEnt
2023-12-21 00:42:37 +00:00
Chad Bentz
6f3867d804
stub the type Parser + the function New
...
(it will automatically make stubs for all the methods on that type)
Co-authored-by: Owen Mansel-Chan <62447351+owen-mc@users.noreply.github.com >
2023-12-20 19:25:48 -05:00
amammad
a72bd7efcc
add GOOD and BAD comment to sinks, some chore improvements on tests
2023-12-17 20:07:16 +01:00
amammad
87b1028aab
fix pgzip missed sink, apply isBarrier directly to CopyN sink, add new flow state for pgzip
2023-12-17 19:55:50 +01:00
Owen Mansel-Chan
e45e92eaa7
Fix MaxIntOrMaxUint.isBoundFor
...
It was wrong for strictnessOffset = 1 before.
2023-12-17 06:16:33 +00:00
Owen Mansel-Chan
36c4f5d1b2
Add failing test
...
The cause of the test failure is confusion about
whether the architecture is 32 bit or 64 bit.
2023-12-17 04:43:14 +00:00
Malayke
ac465b9234
Merge branch 'github:main' into main
2023-12-16 18:02:14 +08:00
Chad Bentz
b02bac5190
Test run
2023-12-15 22:55:10 +00:00
Yunus AYDIN
8a7c3c19fe
Merge branch 'main' into main
2023-12-15 09:05:50 +03:00
Yunus AYDIN
ec5a8b49c8
add httprouter example code and stub.go
2023-12-15 00:54:39 +03:00
amammad
4d9aad92a1
remove a duplicate test
2023-12-14 17:08:18 +01:00
amammad
d84333dad8
added *ReadBody* Methods as UntrustedFlowSource
2023-12-14 15:31:09 +01:00
Yunus AYDIN
5f6de79c09
Fix select query, Add httprouter library and update test files
2023-12-14 00:19:11 +03:00