1// Copyright 2022 The Android Open Source Project 2package { 3 default_applicable_licenses: ["Android-Apache-2.0"], 4} 5 6cc_fuzz { 7 name: "libufdt_fuzzer", 8 srcs: [ 9 "libufdt_fuzzer.cpp", 10 ], 11 static_libs: [ 12 "libfdt", 13 "libufdt_silent", 14 "libufdt_sysdeps", 15 ], 16 corpus: ["corpus/*"], 17 fuzz_config: { 18 cc: [ "[email protected]" ], 19 target_modules: [ "libufdt", "libufdt_sysdeps" ], 20 description: 21 "Fuzzer that checks parsing of faulty FDT blobs and " + 22 "application of overlays to ensure no undefined or OOB " + 23 "behaviours.", 24 acknowledgement: [ "Mike McTernan of Google" ], 25 }, 26 host_supported: true, 27} 28 29cc_binary { 30 name: "mkcorpus", 31 srcs: [ 32 "mkcorpus.c", 33 ], 34 cflags: [ 35 "-Wall", 36 ], 37 host_supported: true, 38} 39