From 800605ed4763b8457f8238c9168ff71ce82d6b7c Mon Sep 17 00:00:00 2001 From: Hrutvik Kanabar Date: Mon, 19 Sep 2022 10:19:25 +0000 Subject: prog: add an attribute for syscalls which should not be minimized Create a `no_minimize` attribute to be used with syscalls that `syzkaller` should not try to modify when minimizing a program that produces a bug. The intention is to use this with syscalls that are expensive to minimize, such as `syz_mount_image`. Currently there are no `no_minimize` syscalls, but the next commit will add some. --- docs/syscall_descriptions_syntax.md | 1 + 1 file changed, 1 insertion(+) (limited to 'docs/syscall_descriptions_syntax.md') diff --git a/docs/syscall_descriptions_syntax.md b/docs/syscall_descriptions_syntax.md index cf490e5a7..1fe61343e 100644 --- a/docs/syscall_descriptions_syntax.md +++ b/docs/syscall_descriptions_syntax.md @@ -94,6 +94,7 @@ Call attributes are: that don't return fixed error codes but rather something else (e.g. the current time). "breaks_returns": ignore return values of all subsequent calls in the program in fallback feedback (can't be trusted). "no_generate": do not try to generate this syscall, i.e. use only seed descriptions to produce it. +"no_minimize": do not modify instances of this syscall when trying to minimize a crashing program. ``` ## Ints -- cgit mrf-deployment