aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/codesearch/testdata/query-def-source-open
Commit message (Collapse)AuthorAgeFilesLines
* pkg/codesearch: do indexing of struct/union/enumDmitry Vyukov2026-01-211-7/+7
| | | | Update #6469
* pkg/codesearch: support searching for referencesDmitry Vyukov2026-01-211-7/+7
| | | | | | | | | Extend codesearch clang tool to export info about function references (calls, takes-address-of). Add pkg/codesearch command find-references. Export find-references in pkg/aflow/tools/codesearcher to LLMs. Update #6469
* pkg/codesearch: add skeleton for code searching toolDmitry Vyukov2025-11-201-0/+11
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.