From 0b3a8483a73330b481a0d9fef2e276eb06465bc0 Mon Sep 17 00:00:00 2001 From: Aleksandr Nogikh Date: Fri, 18 Jul 2025 12:21:39 +0200 Subject: all: determine patched symbols for focused fuzzing Hash the code section of the individual symbols from vmlinux.o and use it to determine the functions that changed their bodies between the base and the patched build. If the number of affected symbols is reasonable (<5%), fuzz it with the highest priority. --- tools/syz-diff/diff.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/syz-diff/diff.go b/tools/syz-diff/diff.go index c77728d4a..3e7230fe0 100644 --- a/tools/syz-diff/diff.go +++ b/tools/syz-diff/diff.go @@ -43,7 +43,7 @@ func main() { if err != nil { log.Fatal(err) } - manager.PatchFocusAreas(newCfg, [][]byte{data}) + manager.PatchFocusAreas(newCfg, [][]byte{data}, nil, nil) } ctx := vm.ShutdownCtx() -- cgit mrf-deployment