aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorAndrey Konovalov <andreyknvl@google.com>2019-09-23 15:34:59 +0200
committerAndrey Konovalov <andreyknvl@gmail.com>2019-09-23 17:13:23 +0200
commit2b854f96b1a7be5c5c563fe798aaa2f6835ad2c6 (patch)
tree8fe736742849104c860be93b989f4b7cddc28bc2 /Makefile
parent1e9788a0d9bd8fca36978810fd3fc50b6c4f060b (diff)
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.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
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