| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | pkg/codesearch: support finding field reads/writes | Dmitry Vyukov | 2026-01-26 | 1 | -0/+1 |
| | | |||||
| * | tools/clang/json: escape strings properly | Florent Revest | 2026-01-25 | 1 | -0/+1 |
| | | | | | | | | | | | | | | When preparing a codesearch index, I encountered errors which I narrowed down to lines like the following in the json output of codesearch: "type": "void (void __attribute__((btf_type_tag("user")))*, const void *, size_t, size_t)", After this change, the line gets formatted like this: "type": "void (void __attribute__((btf_type_tag(\"user\")))*, const void *, size_t, size_t)", This fixes the errors I encountered | ||||
| * | tools/clang/codesearch: index struct references | Dmitry Vyukov | 2026-01-22 | 1 | -0/+1 |
| | | | | | Update #6469 | ||||
| * | pkg/codesearch: do indexing of struct/union/enum | Dmitry Vyukov | 2026-01-21 | 1 | -0/+1 |
| | | | | | Update #6469 | ||||
| * | pkg/codesearch: add skeleton for code searching tool | Dmitry Vyukov | 2025-11-20 | 1 | -0/+7 |
| Add a clang tool that is used for code indexing (tools/clang/codesearch/). It follows conventions and build procedure of the declextract tool. Add pkg/codesearch package that aggregates the info exposed by the clang tools, and allows doing simple queries: - show source code of an entity (function, struct, etc) - show entity comment - show all entities defined in a source file Add tools/syz-codesearch wrapper tool that allows to create index for a kernel build, and then run code queries on it. | |||||
