[google/syzkaller] 080cae: pkg/hash: support hashing strings

0 views
Skip to first unread message

Dmitry Vyukov

unread,
Nov 24, 2025, 3:56:29 AM (10 days ago) Nov 24
to syzk...@googlegroups.com
Branch: refs/heads/gh-readonly-queue/master/pr-6476-4fb8ef376b21a14e0ed92c40c92913ac567bd2a3
Home: https://github.com/google/syzkaller
Commit: 080caeb9e30c884ab78354eae80c53cc47d8d49b
https://github.com/google/syzkaller/commit/080caeb9e30c884ab78354eae80c53cc47d8d49b
Author: Dmitry Vyukov <dvy...@google.com>
Date: 2025-11-24 (Mon, 24 Nov 2025)

Changed paths:
M pkg/hash/hash.go

Log Message:
-----------
pkg/hash: support hashing strings

Currently passing wrong types (e.g. a string) to hash.Hash/String leads
to silent misbehavior: the part is ignored in the hash.
This is a very bad failure mode. Panic loudly.
And support hashing strings.


Commit: a6deb8053825b4c7024c2b04f5d4f5a12ace1272
https://github.com/google/syzkaller/commit/a6deb8053825b4c7024c2b04f5d4f5a12ace1272
Author: Dmitry Vyukov <dvy...@google.com>
Date: 2025-11-24 (Mon, 24 Nov 2025)

Changed paths:
A pkg/updater/updater.go
M syz-ci/manager.go
M syz-ci/syz-ci.go
R syz-ci/updater.go

Log Message:
-----------
pkg/updater: factor out of syz-ci

Factor syzkaller updating functionality out of syz-ci
so that it can be reused in other binaries.
No functional changes intended.


Commit: 9174555f6d933d77dace419771065710ef6df014
https://github.com/google/syzkaller/commit/9174555f6d933d77dace419771065710ef6df014
Author: Dmitry Vyukov <dvy...@google.com>
Date: 2025-11-24 (Mon, 24 Nov 2025)

Changed paths:
M pkg/bisect/bisect.go
M pkg/instance/instance.go
A pkg/osutil/semaphore.go
M pkg/updater/updater.go
M syz-ci/manager.go

Log Message:
-----------
pkg/osutil: move Semaphore from pkg/instance

Semaphore is a very low-level primitive type,
while pkg/instance is a very high-level package with lots of deps.
Semaphore does not belong there, and may lead to cyclic deps
if we use it more. Move it to pkg/osutil. It's not really OS-specific,
but we don't have a better package.


Commit: bf6fe8fef08f3e0d8c066121c66eaf37681e0de9
https://github.com/google/syzkaller/commit/bf6fe8fef08f3e0d8c066121c66eaf37681e0de9
Author: Dmitry Vyukov <dvy...@google.com>
Date: 2025-11-24 (Mon, 24 Nov 2025)

Changed paths:
M pkg/mgrconfig/load.go

Log Message:
-----------
pkg/mgrconfig: export SplitTarget function

It will be useful for new syz-agent binary in the future.


Compare: https://github.com/google/syzkaller/compare/080caeb9e30c%5E...bf6fe8fef08f

To unsubscribe from these emails, change your notification settings at https://github.com/google/syzkaller/settings/notifications

Dmitry Vyukov

unread,
Nov 24, 2025, 4:08:06 AM (10 days ago) Nov 24
to syzk...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages