boringssl/util
David Benjamin 6c597be1c6 Update tools.
Unfortunately, this requires partially reverting
https://boringssl-review.googlesource.com/31324. This is a mess.

While clang proper includes a fuzzer driver, Chromium doesn't use it.
Chromium builds exclusively with fuzzer-no-link and links to its own
copy of the fuzzer runtime[1]. As of [2], Chromium's clang (which we use
on bots) no longer includes the driver, so we must mimic them.

However, Chromium's setup is somewhat questionable because
fuzzer-no-link pulls in libclang_rt.fuzzer_no_main which still includes
most of libclang_rt.fuzzer, just not the one main function[3]. It
appears Chromium is actually linking two copies of
libclang_rt.fuzzer_no_main. Hopefully this mostly works out as Chromium's
clang and libFuzzer should be relatively aligned, but it's not a good
assumption for our build, which can take other Clangs too.

Thus, if you pass -DFUZZ=1 as-is, we will assume you are using a
"normal" Clang with all its relevant runtimes intact. If, however, you
are using Chromium clang, you must drop the matching libFuzzer where the
bots expected it and build with -DLIBFUZZER_FROM_DEPS=1.

This involves no changes to the bots because we never actually unwound
all the LIBFUZZER_FROM_DEPS bits before.

[1] https://cs.chromium.org/chromium/src/testing/libfuzzer/BUILD.gn?rcl=d21c49585f262e851e2984f96f52905782706325&l=14
[2] c79bf2ea4c
[3] 8ebc3668b0/lib/fuzzer/CMakeLists.txt (L93-L107)
    8ebc3668b0/lib/fuzzer/FuzzerMain.cpp

Change-Id: I946b3c821c3d7e6def7e07f1381f58241611ba3d
Reviewed-on: https://boringssl-review.googlesource.com/c/34184
Commit-Queue: David Benjamin <davidben@google.com>
Reviewed-by: Adam Langley <agl@google.com>
2019-01-07 22:39:55 +00:00
..
ar Support Windows-style ar files. 2018-11-27 22:06:15 +00:00
bot Update tools. 2019-01-07 22:39:55 +00:00
fipstools Better handle AVX-512 assembly syntax. 2018-10-15 23:31:23 +00:00
testresult Move JSON test results code into a common module. 2018-11-16 20:13:31 +00:00
32-bit-toolchain.cmake Inital import. 2014-06-20 13:17:32 -07:00
all_tests.go Add a CFI tester to CHECK_ABI. 2019-01-03 22:01:55 +00:00
all_tests.json Add some RAND_bytes tests. 2018-09-06 23:54:57 +00:00
BUILD.toplevel Add support for building ppc64le with bazel 2018-07-16 17:48:12 +00:00
check_filenames.go Add a tool to check for filename collisions. 2018-05-31 19:02:43 +00:00
check_imported_libraries.go Add a tool to check dependencies. 2017-07-25 20:03:46 +00:00
convert_comments.go Maintain comment alignment when converting. 2017-08-02 22:00:50 +00:00
convert_wycheproof.go Add new curve/hash ECDSA combinations from Wycheproof. 2018-08-10 18:26:06 +00:00
diff_asm.go Fix diff_asm.go and revert another local MASM perlasm change. 2017-05-11 23:30:01 +00:00
doc.config Add chacha.h to the list of documented headers. 2017-10-12 15:27:34 +00:00
doc.css Link back to the main page in documentation. 2016-05-20 15:36:00 +00:00
doc.go Fix doc.go error capitalization. 2018-09-14 20:47:26 +00:00
embed_test_data.go Escape backslashes in crypto test data. 2018-08-08 18:36:11 +00:00
generate_build_files.py Drop NEON assembly for HRSS. 2018-12-13 17:43:07 +00:00
generate-asm-lcov.py Fixing assembly coverage 2016-03-23 18:23:42 +00:00
generate-coverage.sh Fix generate-coverage.sh. 2017-03-21 14:54:47 +00:00
godeps.go Use Go modules with delocate. 2018-09-17 22:19:52 +00:00
make_errors.go Fix up make_errors.go. 2017-11-01 16:32:56 +00:00
make_prefix_headers.go Make Windows symbol-prefixing work. 2018-11-27 22:13:22 +00:00
read_symbols.go Make symbol-prefixing work on 32-bit x86. 2018-11-27 22:35:17 +00:00
run_android_tests.go Add missing files to run_android_test.go. 2017-04-06 15:54:06 +00:00
whitespace.txt No-op commit to kick the bots. 2018-08-09 23:09:23 +00:00