Add support for Go fuzz tests (#24107)

Add support for go fuzz tests.

Closes #23809

Release Notes:

- N/A

---------

Co-authored-by: Piotr Osiewicz <24362066+osiewicz@users.noreply.github.com>
This commit is contained in:
Christian Borup 2025-02-03 11:33:58 +01:00 committed by GitHub
parent 8edcaec1bf
commit f45d58f01a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 26 additions and 0 deletions

View file

@ -59,6 +59,15 @@
(#set! tag go-benchmark)
)
; Functions names start with `Fuzz`
(
(
(function_declaration name: (_) @run @_name
(#match? @_name "^Fuzz"))
) @_
(#set! tag go-fuzz)
)
; go run
(
(