[krishnprakash/codeql] 8d099c: Recognize more non-returning logging functions

0 views
Skip to first unread message

Phileco

unread,
Jun 2, 2026, 6:15:07 AM (6 days ago) Jun 2
to philecodi...@googlegroups.com
Branch: refs/heads/main
Home: https://github.com/krishnprakash/codeql
Commit: 8d099cbe3833c5d4222cfe5717a7341e3f6823d8
https://github.com/krishnprakash/codeql/commit/8d099cbe3833c5d4222cfe5717a7341e3f6823d8
Author: Owen Mansel-Chan <owe...@github.com>
Date: 2026-06-02 (Tue, 02 Jun 2026)

Changed paths:
M go/ql/lib/semmle/go/Concepts.qll
M go/ql/lib/semmle/go/frameworks/Logrus.qll
M go/ql/lib/semmle/go/frameworks/Zap.qll
M go/ql/lib/semmle/go/frameworks/stdlib/Log.qll

Log Message:
-----------
Recognize more non-returning logging functions


Commit: f3e3647209b009571e608e9f9202e685c6e09f9e
https://github.com/krishnprakash/codeql/commit/f3e3647209b009571e608e9f9202e685c6e09f9e
Author: Owen Mansel-Chan <owe...@github.com>
Date: 2026-06-02 (Tue, 02 Jun 2026)

Changed paths:
M go/ql/test/library-tests/semmle/go/controlflow/ControlFlowGraph/NoretFunctions.expected
M go/ql/test/library-tests/semmle/go/controlflow/ControlFlowGraph/NoretFunctions.ql

Log Message:
-----------
Improve noretFunctions test


Commit: c99dab1d719a0f7d003e12ce8d0469b09b30da16
https://github.com/krishnprakash/codeql/commit/c99dab1d719a0f7d003e12ce8d0469b09b30da16
Author: Owen Mansel-Chan <owe...@github.com>
Date: 2026-06-02 (Tue, 02 Jun 2026)

Changed paths:
M go/ql/lib/semmle/go/frameworks/Glog.qll

Log Message:
-----------
Improve glog (and klog) modelling


Commit: 45b1253b2396880fecb382fea7febec59c72e694
https://github.com/krishnprakash/codeql/commit/45b1253b2396880fecb382fea7febec59c72e694
Author: Owen Mansel-Chan <owe...@github.com>
Date: 2026-06-02 (Tue, 02 Jun 2026)

Changed paths:
M go/ql/test/library-tests/semmle/go/concepts/LoggerCall/glog.go
M go/ql/test/library-tests/semmle/go/concepts/LoggerCall/go.mod
M go/ql/test/library-tests/semmle/go/concepts/LoggerCall/main.go
M go/ql/test/library-tests/semmle/go/concepts/LoggerCall/vendor/github.com/golang/glog/stub.go
M go/ql/test/library-tests/semmle/go/concepts/LoggerCall/vendor/k8s.io/klog/stub.go
M go/ql/test/library-tests/semmle/go/concepts/LoggerCall/vendor/modules.txt

Log Message:
-----------
Improve glog and klog tests


Commit: 28bb1a68708dd05c0e2199bade641fff293f7ac7
https://github.com/krishnprakash/codeql/commit/28bb1a68708dd05c0e2199bade641fff293f7ac7
Author: Owen Mansel-Chan <owe...@github.com>
Date: 2026-06-02 (Tue, 02 Jun 2026)

Changed paths:
A go/ql/lib/change-notes/2026-06-01-non-returning-functions.md

Log Message:
-----------
Add change note


Commit: 1a747dd8be406829691a3a4b50fffa6794cf27a0
https://github.com/krishnprakash/codeql/commit/1a747dd8be406829691a3a4b50fffa6794cf27a0
Author: Owen Mansel-Chan <owe...@github.com>
Date: 2026-06-02 (Tue, 02 Jun 2026)

Changed paths:
M go/ql/lib/semmle/go/Concepts.qll

Log Message:
-----------
(Trivial) Fix QLDoc grammar


Commit: 8a1e6d4f64430230c3ae897ba22f6b7f3d17b40a
https://github.com/krishnprakash/codeql/commit/8a1e6d4f64430230c3ae897ba22f6b7f3d17b40a
Author: Owen Mansel-Chan <owe...@github.com>
Date: 2026-06-02 (Tue, 02 Jun 2026)

Changed paths:
M go/ql/lib/semmle/go/frameworks/Glog.qll

Log Message:
-----------
Add missing QLDocs


Commit: e706c5f444b4632cd0b7208660c064f053ada026
https://github.com/krishnprakash/codeql/commit/e706c5f444b4632cd0b7208660c064f053ada026
Author: Owen Mansel-Chan <owe...@github.com>
Date: 2026-06-02 (Tue, 02 Jun 2026)

Changed paths:
M go/ql/test/query-tests/Security/CWE-117/LogInjection.go

Log Message:
-----------
Improve test for non-returning fns


Commit: adc9b7714b7bdc2c3561f34c84094e67e6711936
https://github.com/krishnprakash/codeql/commit/adc9b7714b7bdc2c3561f34c84094e67e6711936
Author: Owen Mansel-Chan <owe...@github.com>
Date: 2026-06-02 (Tue, 02 Jun 2026)

Changed paths:
M go/ql/test/query-tests/Security/CWE-312/CleartextLogging.expected

Log Message:
-----------
Accept changed test output


Commit: e6e8e3d005406f88467bc87179e170f15262f2bd
https://github.com/krishnprakash/codeql/commit/e6e8e3d005406f88467bc87179e170f15262f2bd
Author: Owen Mansel-Chan <owe...@github.com>
Date: 2026-06-02 (Tue, 02 Jun 2026)

Changed paths:
M go/ql/lib/semmle/go/frameworks/stdlib/Log.qll
M go/ql/test/library-tests/semmle/go/frameworks/StdlibTaintFlow/Log.go

Log Message:
-----------
Taint doesn't flow through panicking functions


Commit: 703cea2b65040ddb44fe821b30bd2071919970e6
https://github.com/krishnprakash/codeql/commit/703cea2b65040ddb44fe821b30bd2071919970e6
Author: Owen Mansel-Chan <owe...@github.com>
Date: 2026-06-02 (Tue, 02 Jun 2026)

Changed paths:
M go/ql/lib/semmle/go/frameworks/stdlib/Log.qll

Log Message:
-----------
Model panicking log functions better


Commit: 9dbe9adb001d2b41b216578bb2ca29414ff3e2f1
https://github.com/krishnprakash/codeql/commit/9dbe9adb001d2b41b216578bb2ca29414ff3e2f1
Author: Owen Mansel-Chan <owe...@github.com>
Date: 2026-06-02 (Tue, 02 Jun 2026)

Changed paths:
M go/ql/test/library-tests/semmle/go/controlflow/ControlFlowGraph/NoretFunctions.expected
M go/ql/test/query-tests/Security/CWE-117/CONSISTENCY/DataFlowConsistency.expected
M go/ql/test/query-tests/Security/CWE-312/CleartextLogging.expected
M go/ql/test/query-tests/Security/CWE-312/passwords.go

Log Message:
-----------
Update tests


Commit: aaa3b363e1bcfd8a3b506d0d3ac5de464b8c403e
https://github.com/krishnprakash/codeql/commit/aaa3b363e1bcfd8a3b506d0d3ac5de464b8c403e
Author: Owen Mansel-Chan <62447351...@users.noreply.github.com>
Date: 2026-06-02 (Tue, 02 Jun 2026)

Changed paths:
A go/ql/lib/change-notes/2026-06-01-non-returning-functions.md
M go/ql/lib/semmle/go/Concepts.qll
M go/ql/lib/semmle/go/frameworks/Glog.qll
M go/ql/lib/semmle/go/frameworks/Logrus.qll
M go/ql/lib/semmle/go/frameworks/Zap.qll
M go/ql/lib/semmle/go/frameworks/stdlib/Log.qll
M go/ql/test/library-tests/semmle/go/concepts/LoggerCall/glog.go
M go/ql/test/library-tests/semmle/go/concepts/LoggerCall/go.mod
M go/ql/test/library-tests/semmle/go/concepts/LoggerCall/main.go
M go/ql/test/library-tests/semmle/go/concepts/LoggerCall/vendor/github.com/golang/glog/stub.go
M go/ql/test/library-tests/semmle/go/concepts/LoggerCall/vendor/k8s.io/klog/stub.go
M go/ql/test/library-tests/semmle/go/concepts/LoggerCall/vendor/modules.txt
M go/ql/test/library-tests/semmle/go/controlflow/ControlFlowGraph/NoretFunctions.expected
M go/ql/test/library-tests/semmle/go/controlflow/ControlFlowGraph/NoretFunctions.ql
M go/ql/test/library-tests/semmle/go/frameworks/StdlibTaintFlow/Log.go
M go/ql/test/query-tests/Security/CWE-117/CONSISTENCY/DataFlowConsistency.expected
M go/ql/test/query-tests/Security/CWE-117/LogInjection.go
M go/ql/test/query-tests/Security/CWE-312/CleartextLogging.expected
M go/ql/test/query-tests/Security/CWE-312/passwords.go

Log Message:
-----------
Merge pull request #21929 from owen-mc/go/no-ret-functions

Go: Recognize more non-returning logging functions


Commit: bf5df4ff211d11f3e37b3f30bccd925025c52c60
https://github.com/krishnprakash/codeql/commit/bf5df4ff211d11f3e37b3f30bccd925025c52c60
Author: Phileco <132178579+k...@users.noreply.github.com>
Date: 2026-06-02 (Tue, 02 Jun 2026)

Changed paths:
A go/ql/lib/change-notes/2026-06-01-non-returning-functions.md
M go/ql/lib/semmle/go/Concepts.qll
M go/ql/lib/semmle/go/frameworks/Glog.qll
M go/ql/lib/semmle/go/frameworks/Logrus.qll
M go/ql/lib/semmle/go/frameworks/Zap.qll
M go/ql/lib/semmle/go/frameworks/stdlib/Log.qll
M go/ql/test/library-tests/semmle/go/concepts/LoggerCall/glog.go
M go/ql/test/library-tests/semmle/go/concepts/LoggerCall/go.mod
M go/ql/test/library-tests/semmle/go/concepts/LoggerCall/main.go
M go/ql/test/library-tests/semmle/go/concepts/LoggerCall/vendor/github.com/golang/glog/stub.go
M go/ql/test/library-tests/semmle/go/concepts/LoggerCall/vendor/k8s.io/klog/stub.go
M go/ql/test/library-tests/semmle/go/concepts/LoggerCall/vendor/modules.txt
M go/ql/test/library-tests/semmle/go/controlflow/ControlFlowGraph/NoretFunctions.expected
M go/ql/test/library-tests/semmle/go/controlflow/ControlFlowGraph/NoretFunctions.ql
M go/ql/test/library-tests/semmle/go/frameworks/StdlibTaintFlow/Log.go
M go/ql/test/query-tests/Security/CWE-117/CONSISTENCY/DataFlowConsistency.expected
M go/ql/test/query-tests/Security/CWE-117/LogInjection.go
M go/ql/test/query-tests/Security/CWE-312/CleartextLogging.expected
M go/ql/test/query-tests/Security/CWE-312/passwords.go

Log Message:
-----------
Merge branch 'github:main' into main


Compare: https://github.com/krishnprakash/codeql/compare/b6b977d71dff...bf5df4ff211d

To unsubscribe from these emails, change your notification settings at https://github.com/krishnprakash/codeql/settings/notifications
Reply all
Reply to author
Forward
0 new messages