summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2017-08-30 15:54:02 +0200
committerGerd Hoffmann <kraxel@redhat.com>2017-08-30 15:54:24 +0200
commit2339ec544399cd66930643817ba1cb1094ddccfa (patch)
tree1a4f3edf18b81f1b628bdea7e1ddd9910f6bd9ef /Makefile
parent1808bb759313e69205f828d49fe9ffbcb1859377 (diff)
downloadqemu-security-2339ec544399cd66930643817ba1cb1094ddccfa.tar.gz
add cve-2017-13672 + cve-2017-13673 reproducers
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ac72595..1232fee 100644
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,8 @@ CFLAGS += -Wall
CVETEST := cve-2016-3712
PCITEST := cve-2017-2615 cve-2017-2620
USBTEST := cve-2017-5898
-TARGETS := $(CVETEST) $(PCITEST) $(USBTEST)
+RAWTEST := boot-cve-2017-13672.raw boot-cve-2017-13673.raw
+TARGETS := $(CVETEST) $(PCITEST) $(USBTEST) $(RAWTEST)
DEPENDS := libpci libusb-1.0
$(PCITEST) : CFLAGS += $(shell pkg-config --cflags libpci)
@@ -40,6 +41,9 @@ clean:
rm -f $(TARGETS)
rm -f *~ *.o
+boot-%.raw: boot-%.asm
+ nasm -o $@ $<
+
cve-2017-2615: cve-2017-2615.o pci.o cirrus.o
cve-2017-2620: cve-2017-2620.o pci.o cirrus.o
cve-2017-5898: cve-2017-5898.o usb.o