diff options
author | Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com> | 2018-04-23 21:25:11 +0200 |
---|---|---|
committer | jonathanmetzman <31354670+jonathanmetzman@users.noreply.github.com> | 2018-04-23 12:25:11 -0700 |
commit | e01619962ed33bce27e0d8a6b2c04e624967d531 (patch) | |
tree | 143aa425269eb80920d8fd01636a1c99c47c2259 | |
parent | b948d87d1682966479248f1859424ab9e23de656 (diff) |
qubes-os: add app-linux-input-proxy fuzzer (#1340)
-rw-r--r-- | projects/qubes-os/Dockerfile | 2 | ||||
-rw-r--r-- | projects/qubes-os/build.sh | 8 |
2 files changed, 10 insertions, 0 deletions
diff --git a/projects/qubes-os/Dockerfile b/projects/qubes-os/Dockerfile index 811d7a2b..a7d1bb28 100644 --- a/projects/qubes-os/Dockerfile +++ b/projects/qubes-os/Dockerfile @@ -32,4 +32,6 @@ RUN git clone -b fuzz --single-branch https://github.com/paraschetal/qubes-linux $SRC/qubes-os/builder-debian/scripts/debian-parser control --qubes-build-depends debian $SRC/qubes-os/linux-utils/debian/control | xargs apt-get -y install && \ $SRC/qubes-os/builder-debian/scripts/debian-parser control --qubes-build-depends stretch $SRC/qubes-os/linux-utils/debian/control | xargs apt-get -y install +RUN git clone --single-branch https://github.com/QubesOS/qubes-app-linux-input-proxy $SRC/qubes-os/app-linux-input-proxy + COPY build.sh *.options $SRC/ diff --git a/projects/qubes-os/build.sh b/projects/qubes-os/build.sh index ecf088fc..5700052a 100644 --- a/projects/qubes-os/build.sh +++ b/projects/qubes-os/build.sh @@ -29,3 +29,11 @@ ar rcs libqubes-rpc-filecopy.a ioall.o copy-file.o crc32.o unpack.o pack.o $CXX $CXXFLAGS -o $OUT/libqubes-rpc-filecopy -I. -I./fuzzer fuzzer/fuzzer.cc -lFuzzingEngine libqubes-rpc-filecopy.a cp $SRC/*.options $OUT/ + +cd $SRC/qubes-os/app-linux-input-proxy + +make -C fuzz +cp fuzz/*_fuzzer $OUT/ +cp fuzz/*_seed_corpus.zip $OUT/ +cp fuzz/*.options $OUT/ + |