From 6dc90bbb492fd93da310988ae3a0ea44b8dc40db Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Thu, 5 Mar 2026 16:19:10 +0100 Subject: pkg/aflow/tool/syzlang: provide list of description files Update #6878 --- sys/syz-sysgen/sysgen.go | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'sys') diff --git a/sys/syz-sysgen/sysgen.go b/sys/syz-sysgen/sysgen.go index a7d9a6e4c..a1714cdd4 100644 --- a/sys/syz-sysgen/sysgen.go +++ b/sys/syz-sysgen/sysgen.go @@ -378,6 +378,13 @@ import ( "github.com/google/syzkaller/sys/{{$os.GOOS}}"{{end}} ) +// Files are needed only for pkg/aflow/tool/syzlang. +// For simplicity we embed them here for now, since go:embed patterns can't contain "..". +// Ideally we move this to a separate package, but this will require some restructuring. + +//go:embed linux/*.txt +var Files embed.FS + //go:embed gen/*.gob.flate var files embed.FS -- cgit mrf-deployment