Roll src/third_party/fuzztest/src/ 0e6385f1b..8063fc10c (84 commits)

this is a reland of https://chromium-review.googlesource.com/c/chromium/src/+/4670856

And update BUILD.gn to reflect the new state
https://chromium.googlesource.com/external/github.com/google/fuzztest.git/+log/0e6385f1b488..8063fc10c886

2023-07-20 115185401+pgrace-google Update coverage.cc
2023-07-20 115185401+pgrace-google Update coverage.cc
2023-07-19 kcc #Centipede add a link to FUZZING'23 slides.
2023-07-19 fuzztest #Centipede Test the custom `centipede` for targets that read inputs from file & write execution results to file.
2023-07-18 fuzztest #Centipede refactor `run_some_fuzzing` and `test_crashing_target` into test_util.sh.
2023-07-19 115185401+pgrace-google Update meta.h to fix -Wc++98-compat-extra-semi warnings
2023-07-17 dougkwan Internal change
2023-07-17 sarahjkim Internal change
2023-07-17 ravanbakhsh Add full support for known extension fields.
2023-07-17 ravanbakhsh Add full support for known extension fields.
2023-07-14 kostik #Centipede Add ability to use either memfd_create() or shm_open() to allocate shared memory
2023-07-14 sergeygs #Centipede Improved logging of failures to get PC & CF tables from target binary
2023-07-13 sergeygs #Centipede Improve failure logging in `Command`
2023-07-13 ravanbakhsh Update protobuf domain to use Utf8 strings if possible.
2023-07-12 fuzztest Custom `centipede` for targets that read inputs from file & write execution results to file
2023-07-12 fuzztest Internal change
2023-07-12 fuzztest Internal change
2023-07-11 lszekeres Decrease allocated memory in RUsageProfilerTest to avoid OOMs and flakiness.
2023-07-11 sarahjkim #Centipede Update documentation on naming for corpus and feature files
2023-07-11 fuzztest Update protobuf domain to use Utf8 strings if possible.
2023-07-10 ravanbakhsh Update protobuf domain to use Utf8 strings if possible.
2023-07-10 ravanbakhsh Move `Utf8String` to FuzzTest to be used by Protobuf domains.
2023-07-10 lszekeres Internal change
2023-07-10 ravanbakhsh Update BidiMap inverse mapper to return `optional<tuple<...>>`.
2023-07-07 xinhaoyuan #Centipede Propagate the MutationInputRef from engine to runner, which in turn creates MutationInput to be passed to external mutators.
2023-07-07 xinhaoyuan Internal change
2023-07-06 xinhaoyuan #Centipede Create MutationInputRef struct to pair mutation inputs with execution metadata, to be used in mutation I/O and interfaces.
2023-07-06 xinhaoyuan #Centipede Refactor the I/O of ExecutionMetadata from runner to engine using methods in ExecutionMetadata. The same methods can be used when propagating the metadata to custom mutators.
2023-07-06 xinhaoyuan #Centipede Add the common parsing logic of CMP entries to ExecutionMetadata, currently used by the built-in mutators. In the future, it could be used by custom mutators as well.
2023-07-06 xinhaoyuan #Centipede Change the mutator interface to work with ExecutionMetadata instead of CMP entries.
2023-07-06 xinhaoyuan #Centipede Create ExecutionMetadata to abstract the metadata from executing one input, which currently includes only the CMP entries but planned with more fields.
2023-07-06 kcc #Centipede document --distill, and the fact that --distill_shards is deprecated
2023-07-05 fuzztest Internal change
2023-07-05 fuzztest Internal change
2023-06-30 sergeygs #Centipede Monitoring: Add stats acquisition timestamp to reported fields
2023-06-30 kcc Internal change
2023-06-29 fuzztest #Centipede Updates the references of the data read, write and reset from `SharedMemoryBlobSequence` to `BlobSequence`.
2023-06-29 fuzztest Internal change
2023-06-28 fuzztest Internal change
2023-06-26 sergeygs #Centipede Monitoring: Avoid bogus "Flags:" printed when there are no flags to report
2023-06-26 fuzztest #Centipede Move `Blob` out of `SharedMemoryBlobSequence`.
2023-06-23 xinhaoyuan #Centipede Ignore short/long cmp entries instead of skipping the rest of the entries.
2023-06-23 kcc #Centipede skeleton of --distill (standalone distillation), not functional yet.
2023-06-23 xinhaoyuan #Centipede Fix shmem leakage by using memfd_create instead of shm_open.
2023-06-23 fuzztest #Centipede Remove the weak sancov symbols from the main Centipede binary, now that we have a Blaze transition that can completely eliminate instrumentation.
2023-06-22 fuzztest #Centipede Define a Blaze transition and a new target that produces an uninstrumented (best-effort) Centipede main binary.
2023-06-22 sergeygs #Centipede Monitoring: Continuously dump fuzzing stats to CSV
2023-06-21 sergeygs #Centipede Add `Environment::` function to get CSV perf report path
2023-06-21 sergeygs #Centipede Monitoring: Refactor stats reporting to prepare for continuously dumping stats to CSV
2023-06-20 fuzztest Internal change
2023-06-20 fuzztest #Centipede Link weak sancov stubs in the main Centipede binary. This is a prerequisite of building the binary as a data dependency of a runner target.
2023-06-20 dmauro Fix WithSeeds() error message string generation
2023-06-15 sergeygs #Centipede LOG -> VLOG(1) for a noisy message
2023-06-15 sergeygs #Centipede Tweak VV macro to easily copy var values in console by double-clicking
2023-06-15 yongheng Ensure that fuzztest can be built with FetchContent.
2023-06-15 yongheng Add missing include to make protobuf_domain_impl.h self-contained.
2023-06-15 sfreilich Internal change
2023-06-14 xinhaoyuan Fix a potential container overflow due to assign() changing the mutant size.
2023-06-13 fuzztest Internal change
2023-06-13 kcc Internal change
2023-06-12 kcc #Centipede implement support for -fsanitize-coverage=inline-8bit-counters
2023-06-09 kcc #Centipede reset callstack in runner/PrepareCoverage. Change the Resest function name.
2023-06-08 kcc #Centipede: VLOG(1) the time it took to execute or mutate a batch.
2023-06-08 kcc #Centipede: when mutating via the target binary, don't collect coverage as it won't be used anyway.
2023-06-07 xinhaoyuan Avoid clang coverage in fuzz targets in centipede/testing, otherwise it can interfere with sancov instrumentation and break test expectations.
2023-06-06 kcc #Centipede clear the startup coverage before executing the first input.
2023-06-05 kcc #Centipede use RollingHash in HashedRingBuffer
2023-06-02 kcc #Centipede Move HashedRingBuffer to a separate file, NFC
2023-06-02 kcc #Centipede make the oom puzzle use less RAM, to deflake it.
2023-06-02 kcc #Centipede print more stats: corpus element sizes and execution counts.
2023-06-01 kcc Internal change
2023-06-01 ncbray Support multiple user feature domains
2023-05-31 kcc #Centipede remove redundant table entry in SetFlagForExperiment
2023-05-31 kcc #Centipede allow crossover_level in experiments.
2023-05-30 kcc #Centipede add rolling_hash.h. The intended use is to hash paths, callstacks, etc.
2023-05-30 kcc #Centipede rename --use_callstack_features (bool) to --callstack_level (size_t). NFC otherwise for now.
2023-05-30 yongheng Move grammars under fuzztest.
2023-05-28 sergeygs Return error instead of crashing when runner fails to respond within timeout
2023-05-26 sergeygs #Centipede Mitigate crash in `ComputeFunctionCyclomaticComplexity()` induced by LSAN-related change in tcmalloc
2023-05-26 sergeygs #Centipede Add --stop_after=T flag (equivalent to --stop_at=now+T)
2023-05-25 xinhaoyuan Use FuzzTestMutator as the default mutator in CentipedeCallbacks, with a temporary flag for switching back to ByteArrayMutator.
2023-05-25 xinhaoyuan Add FuzzTestMutator using the FuzzTest domain of arbitrary std::vector<uint8_t>.
2023-05-25 yongheng Fix Cmake version to 3.19.0
2023-05-25 xinhaoyuan Separate domains that don't require external dependencies (other than Abseil) into domain_core for domain-based mutation in Centipede.
2023-05-25 xinhaoyuan Expose SetExecutionCoverage for Centipede to inject coverage signals (comparison records) consumed by the FuzzTest mutator.
2023-05-25 yongheng Make fuzztest compilable in `FetchContent` using CMake.

Created with:
  roll-dep src/third_party/fuzztest/src

Change-Id: I0fb38c3e93c1c0abeb0e1003aaadc0145ec7b656
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4678541
Reviewed-by: Jonathan Metzman <metzman@chromium.org>
Reviewed-by: Brendon Tiszka <tiszka@chromium.org>
Commit-Queue: Grace Park <pgrace@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1174416}
NOKEYCHECK=True
GitOrigin-RevId: 5b39a140405c752720a9f41459c56b2929234fae
1 file changed
tree: 41e32fecd3fe46fdf9f7aebb2416676a92810b0a
  1. BUILD.gn
  2. OWNERS
  3. README.chromium