Owen Mansel-Chan
0a737c97f3
Expand log.slog models and add more tests
2026-06-30 08:01:06 +01:00
sauyon
00427d204c
Go: Model log/slog as a logging sink
...
The standard-library structured logger `log/slog` (Go 1.21+) was not
modeled, so `go/log-injection` and `go/clear-text-logging` were blind to
any code that logs through it.
Model its logging functions and `*slog.Logger` methods — `Debug`, `Info`,
`Warn`, `Error`, their `Context` variants, and `Log`/`LogAttrs` — as
`log-injection` sinks (the kind that feeds `LoggerCall`, powering both
queries). Adds `log/slog` cases to the `LoggerCall` library test.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-17 20:02:29 -07:00
Owen Mansel-Chan
e1bddd9365
Model newly added functions
2026-02-10 22:32:30 +00:00
Owen Mansel-Chan
7fff3534fa
Convert 3 barriers for path injection to MaD
2026-01-06 22:56:59 +00:00
Owen Mansel-Chan
1e18fce300
Convert xss sanitizer to MaD
2026-01-06 22:56:57 +00:00
Anders Schack-Mulligen
4b2e8c0b57
C++/C#/Go: Add empty extensible data.
2025-12-12 09:17:51 +01:00
Kevin Stubbings
b4b848a25c
Fix tests and simplify sanitizer
2025-07-21 21:53:35 +00:00
Kevin Stubbings
504ae0f35a
Update go path sanitizers and sinks
2025-07-16 06:12:45 +00:00
Owen Mansel-Chan
c0187aff73
Add model for cloud.google.com/go/bigquery.Client.Query
2025-05-22 15:15:54 +01:00
Owen Mansel-Chan
1687042c3b
Add Bun models and tests
2025-04-02 14:17:39 +01:00
Owen Mansel-Chan
ddb7da4c13
Add gogf models and tests
2025-04-02 14:17:37 +01:00
Ed Minnix
db65a6ff85
[gogf] Model github.com/gogf/gf/database/gdb
...
Co-authored-by: Owen Mansel-Chan <62447351+owen-mc@users.noreply.github.com >
2025-04-02 14:17:34 +01:00
Ed Minnix
c54f0d82e2
[bun] Model github.com/uptrace/bun
2025-04-02 14:17:32 +01:00
Owen Mansel-Chan
8bc70be3c7
Address review comments
2025-03-27 13:53:09 +00:00
Owen Mansel-Chan
0fbeef8f41
Remove model for method that doesn't exist
2025-03-25 10:33:23 +00:00
Owen Mansel-Chan
bf82a87a68
Rename model file to fix typo
2025-03-25 10:33:23 +00:00
Ed Minnix
a8c3ef9500
Add squirrel models
2025-03-25 10:33:23 +00:00
Owen Mansel-Chan
6d61820c92
Merge pull request #19088 from owen-mc/review/egregius313/18913
...
Go: Add database source models for the github.com/couchbase/gocb package (#2 )
2025-03-25 10:31:44 +00:00
Owen Mansel-Chan
820aa90a0f
Add missing model to make tests pass
2025-03-19 10:26:11 +00:00
Owen Mansel-Chan
88e96829fb
Apply suggestions from code review
2025-03-07 23:11:01 +00:00
Owen Mansel-Chan
166d5230f7
Apply suggestions from code review
2025-03-07 22:14:22 +00:00
Owen Mansel-Chan
36908e8ef0
Do not track taint for keys in sync.Map
...
There is no way to get the value of a key out of a `sync.Map`.
2025-03-04 12:11:49 +00:00
Ed Minnix
19147eec40
Add couchbase models
2025-03-03 13:25:21 -05:00
Ed Minnix
7593def620
Model gorqlite package
2025-02-25 23:15:22 -05:00
Edward Minnix III
c93fb4cbc9
Merge pull request #18493 from egregius313/egregius313/go/mad/database/mongodb
...
Go: `database` local sources for MongoDB
2025-02-21 09:32:15 -05:00
Ed Minnix
84131dd068
Add Client::Watch
2025-02-13 11:30:16 -05:00
Owen Mansel-Chan
79232da9d4
Add models for weak package, added in Go 1.24
2025-02-12 10:05:36 +00:00
Owen Mansel-Chan
2806e07760
Model additions to encoding in Go 1.24
...
Add models for `BinaryAppender` and `TextAppender`.
2025-02-12 10:05:36 +00:00
Ed Minnix
9a7f14f717
Add Database::Watch
2025-01-14 22:35:34 -05:00
Ed Minnix
68ab767189
Sort models in alphabetical order
2025-01-14 22:04:03 -05:00
Ed Minnix
6a8945c55d
Add missing models
2025-01-14 22:04:00 -05:00
Ed Minnix
831cea663b
mongodb models
2025-01-14 22:03:58 -05:00
Chris Smowton
ae34a9c80e
template/text.Template execution methods: support reading arbitrary content
2025-01-14 17:51:54 +00:00
Ed Minnix
46f9448043
Add Ormer models for v1 of the beego ORM
2025-01-10 08:20:26 -05:00
Ed Minnix
baec4adbb1
beego models
2025-01-09 21:54:00 -05:00
Edward Minnix III
af15ebad7e
Merge pull request #18426 from egregius313/egregius313/go/mad/database/sqlx
...
Go: Add `database` source models for the `jmoiron/sqlx` package
2025-01-08 11:31:36 -05:00
Owen Mansel-Chan
5cc34a16d1
Merge pull request #18439 from egregius313/egregius313/go/mad/database-sql/revert-varargs
...
Go: Revert MaD models for `database/sql` to use QL instead
2025-01-08 16:24:04 +00:00
Ed Minnix
4ed0f7fc40
Alphabetical ordering
2025-01-08 10:25:52 -05:00
Ed Minnix
4966ed1280
Add missing models
2025-01-08 10:24:12 -05:00
Ed Minnix
b916a7b5a7
Remove duplicate models
2025-01-08 10:24:10 -05:00
Ed Minnix
05ffffe651
jmoiron/sqlx models
2025-01-08 10:24:06 -05:00
Ed Minnix
55c6bea08b
Add missing models
2025-01-07 22:08:21 -05:00
Ed Minnix
c086945a9e
Fix typo
2025-01-07 21:14:25 -05:00
Ed Minnix
6a862f2f80
Add Rows::Next back
2025-01-07 21:10:48 -05:00
Ed Minnix
ca1e9d7c75
Revert "database/sql summary models for Row types"
...
This reverts commit 80ad349a48 .
2025-01-07 21:08:43 -05:00
Ed Minnix
20d1ae1396
Fix Association model
2025-01-07 07:34:22 -05:00
Ed Minnix
796a81a0ba
gorm models
2025-01-07 07:34:20 -05:00
Ed Minnix
80ad349a48
database/sql summary models for Row types
2025-01-07 06:41:31 -05:00
Ed Minnix
8093d57781
database/sql and database/sql/driver source models
2025-01-07 06:41:30 -05:00
Ed Minnix
88256e269a
Convert model from QL to MaD
2024-12-13 14:59:32 -05:00