On 5/09/2026 4:36, [email protected] wrote: > global -f fails to report functions using [[gnu::nonnull(...)]]
This case doesn't actually use the db, so it's using the built-in parser. G:\>global -f global-f_bug.c -v memcpy_good 11 global-f_bug.c void *memcpy_good(void *restrict dest, const void *restrict src, size_t 1 object located (no index used). G:\>del GTAGS G:\>global -f global-f_bug.c -v global: GTAGS not found. G:\>touch GTAGS G:\>global -f global-f_bug.c -v memcpy_good 11 global-f_bug.c void *memcpy_good(void *restrict dest, const void *restrict src, size_t 1 object located (no index used). G:\>global --gtagslabel=universal-ctags --gtagsconf=/usr/share/gtags/gtags.conf -f global-f_bug.c memcpy_bad 2 global-f_bug.c void *memcpy_bad(void *restrict dest, const void *restrict src, size_t memcpy_good 11 global-f_bug.c void *memcpy_good(void *restrict dest, const void *restrict src, size_t -- Jason.
