Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(211)

Issue 1585353002: fuzz: signalBug() / signalBoring() (Closed)

Created:
4 years, 11 months ago by mtklein_C
Modified:
4 years, 11 months ago
Reviewers:
kjlubick, mtklein
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

fuzz: signalBug() / signalBoring() Instead of a single ASSERT macro, this switches to two new methods: - signalBug(): tell afl-fuzz there's a bug caused by its inputs (by crashing) - signalBoring(): tell afl-fuzz these inputs are not worth testing (by exiting gracefully) I'm not seeing any effect on fuzz/s when I just always log verbosely. signalBug() now triggers SIGSEGV rather than SIGABRT. This should make it work with catchsegv more easily. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1585353002 Committed: https://skia.googlesource.com/skia/+/a115942ed69762206f87c680ef7ec98de3382fa6

Patch Set 1 #

Patch Set 2 : repro #

Patch Set 3 : always print #

Patch Set 4 : demo signalBoring #

Patch Set 5 : more logging #

Patch Set 6 : SIGABRT -> SIGSEGV #

Patch Set 7 : stdlib for abs() #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -14 lines) Patch
M fuzz/Fuzz.h View 3 chunks +6 lines, -3 lines 0 comments Download
M fuzz/FuzzPaeth.cpp View 1 2 3 4 5 6 2 chunks +10 lines, -1 line 0 comments Download
M fuzz/fuzz.cpp View 1 2 3 4 5 3 chunks +19 lines, -10 lines 0 comments Download

Messages

Total messages: 19 (12 generated)
mtklein_C
A little bit of a counter-proposal to your latest CL.
4 years, 11 months ago (2016-01-14 21:51:15 UTC) #6
kjlubick
lgtm This seems a bit cleaner.
4 years, 11 months ago (2016-01-15 13:21:31 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1585353002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1585353002/100001
4 years, 11 months ago (2016-01-15 13:22:09 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1585353002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1585353002/100001
4 years, 11 months ago (2016-01-15 13:22:30 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: Build-Ubuntu-GCC-Arm7-Debug-Android-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Ubuntu-GCC-Arm7-Debug-Android-Trybot/builds/5349)
4 years, 11 months ago (2016-01-15 13:23:01 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1585353002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1585353002/120001
4 years, 11 months ago (2016-01-15 13:24:49 UTC) #17
commit-bot: I haz the power
4 years, 11 months ago (2016-01-15 13:46:58 UTC) #19
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://skia.googlesource.com/skia/+/a115942ed69762206f87c680ef7ec98de3382fa6

Powered by Google App Engine
This is Rietveld 408576698