aboutsummaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2026-03-05 16:19:10 +0100
committerDmitry Vyukov <dvyukov@google.com>2026-03-05 19:54:06 +0000
commit6dc90bbb492fd93da310988ae3a0ea44b8dc40db (patch)
tree654e28e0f8422cb0e7429e167b6d56952e3b825b /sys
parentb31d884d1ac0e8242c5e81e1937cc300b1073c3d (diff)
pkg/aflow/tool/syzlang: provide list of description files
Update #6878
Diffstat (limited to 'sys')
-rw-r--r--sys/syz-sysgen/sysgen.go7
1 files changed, 7 insertions, 0 deletions
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