From 490f32238051336d5a498cbc3ecc47140052b502 Mon Sep 17 00:00:00 2001 From: Ethan Graham Date: Fri, 19 Sep 2025 15:44:59 +0000 Subject: kfuzztest: introduce syz_kfuzztest_run pseudo-syscall Add syz_kfuzztest_run pseudo-syscall, KFuzzTest attribute, and encoding logic. KFuzzTest targets, which are invoked in the executor with the new syz_kfuzztest_run pseudo-syscall, require specialized encoding. To differentiate KFuzzTest calls from standard syzkaller calls, we introduce a new attribute called KFuzzTest or "kfuzz_test" in syzkaller descriptions that can be used to annotate calls. Signed-off-by: Ethan Graham --- sys/linux/kfuzztest.txt | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 sys/linux/kfuzztest.txt (limited to 'sys') diff --git a/sys/linux/kfuzztest.txt b/sys/linux/kfuzztest.txt new file mode 100644 index 000000000..3d4aba385 --- /dev/null +++ b/sys/linux/kfuzztest.txt @@ -0,0 +1,4 @@ +# Copyright 2025 syzkaller project authors. All rights reserved. +# Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. + +syz_kfuzztest_run(name ptr[in, string], data ptr[in, array[int8]], len bytesize[data]) (kfuzz_test, no_generate) -- cgit mrf-deployment