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

Issue 2012443002: [libfuzzer] Add fuzzer for third_party/hunspell with dictionary. (Closed)

Created:
4 years, 7 months ago by mmoroz
Modified:
4 years, 6 months ago
CC:
chromium-reviews, groby+spellwatch_chromium.org, rlp+watch_chromium.org, rouslan+spell_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[libfuzzer] Add fuzzer for third_party/hunspell with dictionary. Ported from google3 with minor changes. R=aizatsky@chromium.org, kcc@chromium.org, ochang@chromium.org, rouslan@chromium.org, phajdan.jr@chromium.org BUG=539572 Committed: https://crrev.com/22d7c9d03b17a725a5abd968af8d64311e89b0b8 Cr-Commit-Position: refs/heads/master@{#398274}

Patch Set 1 #

Patch Set 2 : Forgot to add line endings into hunspell dictionary. #

Total comments: 3

Patch Set 3 : Add #include guard and license block to hunspell_fuzzer_dictionary.h. #

Total comments: 22

Patch Set 4 : Rouslan's comments addressed. #

Total comments: 8

Patch Set 5 : Addressing more comments. #

Total comments: 4

Patch Set 6 : Remove redundant newlines. #

Patch Set 7 : Remove dictionary entries with 'wstring' substring. #

Patch Set 8 : Add licence to checklicenses.py. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+57287 lines, -0 lines) Patch
M third_party/hunspell/BUILD.gn View 1 2 3 4 5 6 7 2 chunks +15 lines, -0 lines 0 comments Download
A third_party/hunspell/fuzz/hunspell.dict View 1 2 3 4 5 6 7 1 chunk +8296 lines, -0 lines 0 comments Download
A third_party/hunspell/fuzz/hunspell_fuzzer.cc View 1 2 3 4 5 6 7 1 chunk +29 lines, -0 lines 0 comments Download
A third_party/hunspell/fuzz/hunspell_fuzzer_dictionary.h View 1 2 3 4 5 6 7 1 chunk +48946 lines, -0 lines 0 comments Download
M tools/checklicenses/checklicenses.py View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 38 (15 generated)
mmoroz
4 years, 7 months ago (2016-05-24 13:06:49 UTC) #1
Oliver Chang
lgtm
4 years, 7 months ago (2016-05-24 17:03:20 UTC) #4
aizatsky
https://codereview.chromium.org/2012443002/diff/20001/third_party/hunspell/fuzz/hunspell_fuzzer_dictionary.h File third_party/hunspell/fuzz/hunspell_fuzzer_dictionary.h (right): https://codereview.chromium.org/2012443002/diff/20001/third_party/hunspell/fuzz/hunspell_fuzzer_dictionary.h#newcode5 third_party/hunspell/fuzz/hunspell_fuzzer_dictionary.h:5: // This is "third_party/hunspell_dictionaries/en_US.dic". Does the license of this ...
4 years, 6 months ago (2016-05-31 18:49:05 UTC) #5
mmoroz
Thanks Mike for catching this. https://codereview.chromium.org/2012443002/diff/20001/third_party/hunspell/fuzz/hunspell_fuzzer_dictionary.h File third_party/hunspell/fuzz/hunspell_fuzzer_dictionary.h (right): https://codereview.chromium.org/2012443002/diff/20001/third_party/hunspell/fuzz/hunspell_fuzzer_dictionary.h#newcode5 third_party/hunspell/fuzz/hunspell_fuzzer_dictionary.h:5: // This is "third_party/hunspell_dictionaries/en_US.dic". ...
4 years, 6 months ago (2016-06-01 09:38:28 UTC) #6
please use gerrit instead
https://codereview.chromium.org/2012443002/diff/20001/third_party/hunspell/fuzz/hunspell_fuzzer_dictionary.h File third_party/hunspell/fuzz/hunspell_fuzzer_dictionary.h (right): https://codereview.chromium.org/2012443002/diff/20001/third_party/hunspell/fuzz/hunspell_fuzzer_dictionary.h#newcode5 third_party/hunspell/fuzz/hunspell_fuzzer_dictionary.h:5: // This is "third_party/hunspell_dictionaries/en_US.dic". On 2016/06/01 09:38:27, mmoroz wrote: ...
4 years, 6 months ago (2016-06-01 16:35:21 UTC) #8
mmoroz
On 2016/06/01 16:35:21, Rouslan (ツ) wrote: > https://codereview.chromium.org/2012443002/diff/20001/third_party/hunspell/fuzz/hunspell_fuzzer_dictionary.h > File third_party/hunspell/fuzz/hunspell_fuzzer_dictionary.h (right): > > https://codereview.chromium.org/2012443002/diff/20001/third_party/hunspell/fuzz/hunspell_fuzzer_dictionary.h#newcode5 ...
4 years, 6 months ago (2016-06-01 16:45:54 UTC) #9
please use gerrit instead
https://codereview.chromium.org/2012443002/diff/30001/third_party/hunspell/BUILD.gn File third_party/hunspell/BUILD.gn (right): https://codereview.chromium.org/2012443002/diff/30001/third_party/hunspell/BUILD.gn#newcode117 third_party/hunspell/BUILD.gn:117: "fuzz/hunspell_fuzzer.cc", Sources should include the header files, too. You ...
4 years, 6 months ago (2016-06-01 17:09:17 UTC) #10
mmoroz
Thanks Rouslan! Please take a look :) https://codereview.chromium.org/2012443002/diff/30001/third_party/hunspell/BUILD.gn File third_party/hunspell/BUILD.gn (right): https://codereview.chromium.org/2012443002/diff/30001/third_party/hunspell/BUILD.gn#newcode117 third_party/hunspell/BUILD.gn:117: "fuzz/hunspell_fuzzer.cc", On ...
4 years, 6 months ago (2016-06-02 10:54:36 UTC) #11
please use gerrit instead
https://codereview.chromium.org/2012443002/diff/30001/third_party/hunspell/fuzz/hunspell_fuzzer.cc File third_party/hunspell/fuzz/hunspell_fuzzer.cc (right): https://codereview.chromium.org/2012443002/diff/30001/third_party/hunspell/fuzz/hunspell_fuzzer.cc#newcode14 third_party/hunspell/fuzz/hunspell_fuzzer.cc:14: static Hunspell *CreateHunspell() { On 2016/06/02 10:54:36, mmoroz wrote: ...
4 years, 6 months ago (2016-06-02 16:03:51 UTC) #12
mmoroz
Thanks again! https://codereview.chromium.org/2012443002/diff/30001/third_party/hunspell/fuzz/hunspell_fuzzer.cc File third_party/hunspell/fuzz/hunspell_fuzzer.cc (right): https://codereview.chromium.org/2012443002/diff/30001/third_party/hunspell/fuzz/hunspell_fuzzer.cc#newcode14 third_party/hunspell/fuzz/hunspell_fuzzer.cc:14: static Hunspell *CreateHunspell() { On 2016/06/02 16:03:50, ...
4 years, 6 months ago (2016-06-03 13:07:38 UTC) #13
please use gerrit instead
lgtm % comments https://codereview.chromium.org/2012443002/diff/50001/third_party/hunspell/fuzz/hunspell_fuzzer.cc File third_party/hunspell/fuzz/hunspell_fuzzer.cc (right): https://codereview.chromium.org/2012443002/diff/50001/third_party/hunspell/fuzz/hunspell_fuzzer.cc#newcode10 third_party/hunspell/fuzz/hunspell_fuzzer.cc:10: No newline here. https://codereview.chromium.org/2012443002/diff/50001/third_party/hunspell/fuzz/hunspell_fuzzer.cc#newcode12 third_party/hunspell/fuzz/hunspell_fuzzer.cc:12: Only ...
4 years, 6 months ago (2016-06-03 17:52:45 UTC) #14
mmoroz
Thanks! https://codereview.chromium.org/2012443002/diff/50001/third_party/hunspell/fuzz/hunspell_fuzzer.cc File third_party/hunspell/fuzz/hunspell_fuzzer.cc (right): https://codereview.chromium.org/2012443002/diff/50001/third_party/hunspell/fuzz/hunspell_fuzzer.cc#newcode10 third_party/hunspell/fuzz/hunspell_fuzzer.cc:10: On 2016/06/03 17:52:45, Rouslan (ツ) wrote: > No ...
4 years, 6 months ago (2016-06-03 18:00:03 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2012443002/50002
4 years, 6 months ago (2016-06-03 18:00:48 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/194859)
4 years, 6 months ago (2016-06-03 18:10:47 UTC) #20
please use gerrit instead
Failure message does not make much sense, because you're not using wstrings. ** Presubmit Warnings ...
4 years, 6 months ago (2016-06-03 18:29:28 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2012443002/60001
4 years, 6 months ago (2016-06-06 10:57:07 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/241647)
4 years, 6 months ago (2016-06-06 12:09:47 UTC) #26
mmoroz
On 2016/06/03 18:29:28, Rouslan (ツ) wrote: > Failure message does not make much sense, because ...
4 years, 6 months ago (2016-06-06 12:40:44 UTC) #27
mmoroz
+Pawel for 'tools/checklicenses/checklicenses.py' update. Not sure if it is the best solution though.
4 years, 6 months ago (2016-06-06 12:55:31 UTC) #30
Paweł Hajdan Jr.
LGTM
4 years, 6 months ago (2016-06-07 10:55:27 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2012443002/70001
4 years, 6 months ago (2016-06-07 10:57:23 UTC) #34
commit-bot: I haz the power
Committed patchset #8 (id:70001)
4 years, 6 months ago (2016-06-07 12:07:14 UTC) #36
commit-bot: I haz the power
4 years, 6 months ago (2016-06-07 12:08:32 UTC) #38
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/22d7c9d03b17a725a5abd968af8d64311e89b0b8
Cr-Commit-Position: refs/heads/master@{#398274}

Powered by Google App Engine
This is Rietveld 408576698