Commit Graph

4 Commits

Author SHA1 Message Date
Alexander Bulekov 7602748c2b
qemu: manually build glib (#5919)
* qemu: manually build glib

QEMU builds are failing [1]:
"Step #4: ERROR: glib-2.56 gthread-2.0 is required to compile QEMU"

The version of glib shipped with Ubuntu 18.04 is too old. While we wait
on [2], take some inspiration from poppler [3], and build glib ourselves.

[1] https://oss-fuzz-build-logs.storage.googleapis.com/log-2a22b4e2-d7b7-4695-a4dd-25d8d8407704.txt
[2] https://github.com/google/oss-fuzz/issues/5697
[3] a44547d8d6/projects/poppler/build.sh (L70)

Signed-off-by: Alexander Bulekov <alxndr@bu.edu>

* qemu: add license header to build.sh

Signed-off-by: Alexander Bulekov <alxndr@bu.edu>
2021-06-15 10:55:11 +01:00
Alexander Bulekov c12fc5df2c
qemu: Add necessary dependencies for 9p fuzzing (#5197)
In qemu/qemu@fff7111 we added configurations for fuzzing virtio-9p
devices. However, these fuzzers are presently stalled on oss-fuzz,
because the build image doesn't have the necessary libattr, and
libcap-ng libraries. Fix that.

Signed-off-by: Alexander Bulekov <alxndr@bu.edu>
2021-02-13 19:16:55 -08:00
Alexander Bulekov 4bf509a916
[qemu] add ninja to the build image (#4557)
As of QEMU's 09e93326e4 ("build: replace ninjatool with ninja"), QEMU
now requires ninja instead of ninjatool for builds.

Signed-off-by: Alexander Bulekov <alxndr@bu.edu>
2020-10-21 10:43:56 -07:00
alex da7bb14b96
QEMU: Add fuzz target build scripts (#3935)
* QEMU: Add fuzz target build scripts

Signed-off-by: Alexander Bulekov <alxndr@bu.edu>

* QEMU: Disable AFL and MSan in project.yaml

We can't link against OSS-Fuzz' afl driver as it is not compiled with
-fPIC. Additionally, it appears that we trigger some false-positives
with MemorySanitizer, since we don't instrument all of the libraries.
Disable AFL and MemorySanitizer, for now.

Signed-off-by: Alexander Bulekov <alxndr@bu.edu>
2020-06-21 16:38:41 -07:00