From 2b854f96b1a7be5c5c563fe798aaa2f6835ad2c6 Mon Sep 17 00:00:00 2001 From: Andrey Konovalov Date: Mon, 23 Sep 2019 15:34:59 +0200 Subject: tools: add syz-expand The syz-expand tools allows to parse a program and print it including all the default values. This is mainly useful for debugging, like doing manual program modifications while trying to come up with a reproducer for some particular kernel behavior. --- Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 6525745d8..6cd7a5143 100644 --- a/Makefile +++ b/Makefile @@ -172,6 +172,9 @@ trace2syz: usbgen: GOOS=$(HOSTOS) GOARCH=$(HOSTARCH) $(HOSTGO) build $(GOHOSTFLAGS) -o ./bin/syz-usbgen github.com/google/syzkaller/tools/syz-usbgen +expand: + GOOS=$(HOSTOS) GOARCH=$(HOSTARCH) $(HOSTGO) build $(GOHOSTFLAGS) -o ./bin/syz-expand github.com/google/syzkaller/tools/syz-expand + # `extract` extracts const files from various kernel sources, and may only # re-generate parts of files. extract: bin/syz-extract -- cgit mrf-deployment