| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | tools/clang: compile clang tools into the binary | Dmitry Vyukov | 2026-02-06 | 1 | -2/+3 |
| | | | | | | | | | | | | | | | | | | | Compiled clang tools into Go binaries using cgo. This significantly simplifies building and deployment. This also enables unit testing of clang tools. Now raw go test for clang tools will build them, run, and verify output. Each clang tool is still started as a subprocess. I've experimented with running them in-process, but this makes stdout/stderr interception extremly complicated, and it seems that clang tools still use unsynchronized global state, which breaks when invoked multiple times. Subprocesses also make it safer in the face of potential memory leaks, or memory corruptions in clang tools. Fixes #6645 | ||||
| * | tools/syz-codesearch: add cpu/mem profiling | Dmitry Vyukov | 2026-01-22 | 1 | -1/+1 |
| | | |||||
| * | pkg/codesearch: add skeleton for code searching tool | Dmitry Vyukov | 2025-11-20 | 1 | -0/+66 |
| 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. | |||||
