Make the parse_certificate_fuzzer from libpki work inside boring.

Seed the corpus from cert_corpus. As part of that, check in the result of minimizing all the corpora.

Note this is just making one of the fuzzers build, I'll adapt
the others and follow on by updating the IMPORT process to do it
in a follow on cl.

Bug: chromium:1322914

Change-Id: Iea1b89f8fee938fa99c0a4d8134bcd0e7023d149
Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/61765
Commit-Queue: Bob Beck <bbe@google.com>
Reviewed-by: David Benjamin <davidben@google.com>
This commit is contained in:
Bob Beck
2023-07-18 17:05:02 +00:00
committed by Boringssl LUCI CQ
parent 441e9ad2b2
commit 4d70016a62
2576 changed files with 52 additions and 5422 deletions
+7
View File
@@ -8,6 +8,12 @@ macro(fuzzer name)
else()
set_target_properties(${name} PROPERTIES LINK_FLAGS "-fsanitize=fuzzer")
endif()
set_target_properties(
${name}
PROPERTIES
CXX_STANDARD 17
CXX_STANDARD_REQUIRED YES
COMPILE_FLAGS "-D_BORINGSSL_LIBPKI_")
endmacro()
fuzzer(arm_cpuinfo)
@@ -28,3 +34,4 @@ fuzzer(server ssl)
fuzzer(session ssl)
fuzzer(spki)
fuzzer(ssl_ctx_api ssl)
fuzzer(parse_certificate_fuzzer pki)
@@ -1,14 +0,0 @@
Processor : ARMv7 Processor rev 0 (v7l)
processor : 0
BogoMIPS : 13.53
Features : swp half thumb fastmult vfp edsp neon vfpv3 tls vfpv4
CPU implementer : 0x51
CPU architecture: 7
CPU variant : 0x1
CPU part : 0x04d
CPU revision : 0
Hardware : SAMSUNG M2_ATT
Revision : 0010
Serial : 0000df0c00004d4c

Some files were not shown because too many files have changed in this diff Show More