diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2024-10-15 05:55:19 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2024-10-15 16:52:49 +0000 |
| commit | bde2d81c291a93fb9eb33717672427393206c208 (patch) | |
| tree | 912d25b1c62c343fafa56de69d8c9d5b33ce8130 /executor | |
| parent | e76528e82a3d68145dfd6b0760852eb931c4ddad (diff) | |
tools/syz-declextract: don't analyze host files
I've got this error when trying to run the tool:
arch/x86/tools/relocs_64.c: In file included from arch/x86/tools/relocs_64.c:2:
In file included from arch/x86/tools/relocs.h:5:
/usr/include/stdio.h:33:10: fatal error: 'stddef.h' file not found
The arch/x86/tools/relocs_64.c is part of some host tool
that was compiled with gcc. And probably my clang installation
is somehow broken and can't compile normal user-space C programs.
Skip files that were not compiled with clang.
We don't need to analyze them (host tools),
and it also solves my clang problem.
Diffstat (limited to 'executor')
0 files changed, 0 insertions, 0 deletions
