Branch: refs/heads/gh-readonly-queue/master/pr-6760-e263b4d7a71c6049e9b187adb5d1309f366acd23
Home:
https://github.com/google/syzkaller
Commit: 39751c2134a039db51aba39640ff82d072213d73
https://github.com/google/syzkaller/commit/39751c2134a039db51aba39640ff82d072213d73
Author: Artem Metla <
ame...@google.com>
Date: 2026-02-17 (Tue, 17 Feb 2026)
Changed paths:
M pkg/codesearch/database.go
A pkg/codesearch/testdata/global_vars.c
A pkg/codesearch/testdata/global_vars.c.json
M pkg/codesearch/testdata/query-dir-index-root
M pkg/codesearch/testdata/query-dir-index-root2
M tools/clang/codesearch/codesearch.cpp
M tools/clang/codesearch/output.h
Log Message:
-----------
tools/clang/codesearch: improve codesearch to handle global variables
Contributes to #6469.
To handle global variables:
* Add EntityKindGlobalVariable
* Modify TraverseVarDecl() function logic
* Add a check to ensure StartLine and EndLine are in the same file
* Fix missing #include <cstdint> in json.h
To unsubscribe from these emails, change your notification settings at
https://github.com/google/syzkaller/settings/notifications