libFuzzer ASan debug builds. |
||||||
Issue descriptionWe should experiment with fuzzing debug ASan libFuzzer builds, and add builders for them.
,
May 4 2016
I don't mind to work on this, but probably cannot to do it very soon. I think that we need: 1) build all fuzzers with debug and check which of them are not too noisy 2) then we probably will implement some simple white-listing and add a new configuration to build-bots Both parts are easy, but first one may take some time since we have 80+ fuzzers. I'll start to run locally debug builds of fuzzers in alphabetical order.
,
May 6 2016
Hm, after some thinking I came to another point. We may enable debug builds, but initially use empty while-list of fuzzers there. Then, when somebody ensures that some fuzzer is silent enough to be fuzzed with debug build, we add it into the while-list. So, I will start with adding new build configuration.
,
May 6 2016
Sounds like a good way to get this started. Thanks, Max!
,
May 6 2016
sgtm too. thanks!
,
May 9 2016
,
May 10 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/ddbb47c14321d71cfc60d6a6684ae5db4b558ffc commit ddbb47c14321d71cfc60d6a6684ae5db4b558ffc Author: mmoroz <mmoroz@chromium.org> Date: Tue May 10 17:16:35 2016 [libfuzzer] Adding ASan Debug build configuration. R=aizatsky@chromium.org, dpranke@chromium.org, ochang@chromium.org BUG= 607627 Review-Url: https://codereview.chromium.org/1958133002 Cr-Commit-Position: refs/heads/master@{#392634} [modify] https://crrev.com/ddbb47c14321d71cfc60d6a6684ae5db4b558ffc/tools/mb/mb_config.pyl
,
May 10 2016
,
May 12 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/tools/build.git/+/d11f1e908d390c8f56359121b2ca504abc2492dd commit d11f1e908d390c8f56359121b2ca504abc2492dd Author: mmoroz@chromium.org <mmoroz@chromium.org> Date: Thu May 12 09:38:08 2016 [libfuzzer] Adding and registering ASan Debug build. R=aizatsky@chromium.org, dpranke@chromium.org, ochang@chromium.org BUG= 607627 Review-Url: https://codereview.chromium.org/1962693002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/build@300556 0039d316-1c4b-4281-b951-d872f2087c98 [modify] https://crrev.com/d11f1e908d390c8f56359121b2ca504abc2492dd/masters/master.chromium.fyi/master.cfg [modify] https://crrev.com/d11f1e908d390c8f56359121b2ca504abc2492dd/masters/master.chromium.fyi/slaves.cfg [add] https://crrev.com/d11f1e908d390c8f56359121b2ca504abc2492dd/scripts/slave/recipes/chromium_libfuzzer.expected/full_chromium_fyi_Libfuzzer_Upload_Linux_ASan_Debug.json [modify] https://crrev.com/d11f1e908d390c8f56359121b2ca504abc2492dd/scripts/slave/recipes/chromium_libfuzzer.py
,
May 12 2016
The following revision refers to this bug: http://goto.ext.google.com/viewvc/chrome-internal?view=rev&revision=87782 ------------------------------------------------------------------ r87782 | recipe-roller@chromium.org | 2016-05-12T09:42:54.005718Z -----------------------------------------------------------------
,
May 13 2016
Hmm, looks like I missed something. Both CLs have been landed, master has been restarted, but I don't see Debug builds https://build.chromium.org/p/chromium.fyi/buildslaves/slave43-c1.
,
May 15 2016
Great! Additional restart has been required (bug 610780). Now we need to white-list fuzzers which are suitable for fuzzing with debug build. My suggestion is to use some additional environment variable for a new CF job (libfuzzer_chrome_asan_debug, isn't created yet). Something like DEBUG_FUZZERS_ENABLED=aaa_fuzzer:bbb_fuzzer:ccc_fuzzer. IMHO it would be easier to use than having a white-list in libfuzzer.py or anywhere else in the source code.
,
Jul 13 2016
,
Jul 13 2016
Since I'm CF sheriff now and periodically checking CF reports, I dedicated bots 246-250 for libfuzzer_chrome_asan_debug job. Recreated only one bot (246) at the moment to see how it goes.
,
Jul 13 2016
Looks fine, I've recreated 4 more bots (247-250).
,
Jul 13 2016
,
Aug 11 2016
Interesting, that debug builds are smaller than release ones, for example: Release: -rwxr-x--- 1 mmoroz eng 21014352 Aug 11 13:48 out/Release/icu_break_iterator_fuzzer Debug: -rwxr-x--- 1 mmoroz eng 2974824 Aug 11 13:59 out/Release/icu_break_iterator_fuzzer
,
Aug 19 2016
Max, can you put this in sanitizer huge binary size bug. This bug for debug build support is done. |
||||||
►
Sign in to add a comment |
||||||
Comment 1 by och...@chromium.org
, May 2 2016Owner: mmoroz@chromium.org