tools/fuzz: introduce libelf target
authorWei Liu <wei.liu2@citrix.com>
Wed, 7 Dec 2016 11:28:56 +0000 (11:28 +0000)
committerWei Liu <wei.liu2@citrix.com>
Tue, 13 Dec 2016 10:25:57 +0000 (10:25 +0000)
commit4f62f31d257cf9e3ef20ee359d40b9728e9e9596
tree0651bc2572a20ee51428a7197f0744fb318c9efe
parentc6936ab0ca4336515a40d6f18ef47e9c7031e26b
tools/fuzz: introduce libelf target

Source code and Makefile to fuzz libelf in Google's oss-fuzz
infrastructure.

Introduce FUZZ_NO_LIBXC in libelf-private.h. That macro will be set when
compiling libelf fuzzer target because libxc is not required in libelf
fuzzing.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
tools/fuzz/libelf/Makefile [new file with mode: 0644]
tools/fuzz/libelf/libelf-fuzzer.c [new file with mode: 0644]
xen/common/libelf/libelf-private.h