This is an archive of the discontinued Mercurial Phabricator instance.

fuzzutil: make it possible to use absl when C++17 isn't supported
ClosedPublic

Authored by durin42 on May 30 2018, 5:28 PM.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

durin42 created this revision.May 30 2018, 5:28 PM

I'm assuming https://abseil.io/ is part of the standard environment in oss-fuzz. Otherwise, we may want to vendor it or provide a script to download it or something.

I'm assuming https://abseil.io/ is part of the standard environment in oss-fuzz. Otherwise, we may want to vendor it or provide a script to download it or something.

Actually, it's not needed on oss-fuzz because we have a C++17 compiler there. This just leaves the hooks in place so that it's easy-ish to build the fuzzers when you don't have a C++17 compiler (which I don't when building out of Piper, which gives me some insane options for running the fuzzer.)

I can live without this patch, but I'd rather we have it in place so that it's easy to drop a copy of abseil on a machine if needed when doing fuzzer work.

This revision was automatically updated to reflect the committed changes.