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

Issue 2115563002: [libfuzzer] Added script for dictionary generation. (Closed)

Created:
4 years, 5 months ago by mmoroz
Modified:
4 years, 5 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : Small refactor and self-review. #

Patch Set 3 : Update help message. #

Patch Set 4 : Add/merge generated dictionaries. #

Patch Set 5 : A couple of fixes ported from local version. #

Total comments: 39

Patch Set 6 : Addressing comments. #

Patch Set 7 : Fix incorrect path in net/BUILD.gn. #

Patch Set 8 : Fix unused imports, missing copyrights, rename one function. #

Total comments: 11

Patch Set 9 : Abhishek's comments + re-order functions in alphabetical order + one more dict. #

Patch Set 10 : Remove old dictionaries. #

Total comments: 2

Patch Set 11 : Move //net changes to another CL, rename dict dir in //content. #

Patch Set 12 : Update comments in dictionaries. #

Patch Set 13 : Restore xml.dict, will replace with generated one in a separate CL. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5661 lines, -400 lines) Patch
M content/test/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
A content/test/data/fuzzer_dictionaries/renderer_fuzzer.dict View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2078 lines, -0 lines 0 comments Download
A testing/libfuzzer/dictionary_generator.py View 1 2 3 4 5 6 7 8 1 chunk +231 lines, -0 lines 0 comments Download
M testing/libfuzzer/fuzzers/BUILD.gn View 1 2 3 4 5 4 chunks +4 lines, -3 lines 0 comments Download
A testing/libfuzzer/fuzzers/dicts/generated/libxml_xml_read_memory_fuzzer.dict View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +662 lines, -0 lines 0 comments Download
A + testing/libfuzzer/fuzzers/dicts/generated/sqlite3_prepare_v2_fuzzer.dict View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +627 lines, -0 lines 0 comments Download
A testing/libfuzzer/fuzzers/dicts/generated/url_parse_fuzzer.dict View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +402 lines, -0 lines 0 comments Download
A testing/libfuzzer/fuzzers/dicts/generated/v8_script_parser_fuzzer.dict View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1656 lines, -0 lines 0 comments Download
D testing/libfuzzer/fuzzers/dicts/js.dict View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -115 lines 0 comments Download
D testing/libfuzzer/fuzzers/dicts/sql.dict View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -282 lines 0 comments Download

Messages

Total messages: 34 (12 generated)
mmoroz
On 2016/06/30 14:41:10, mmoroz wrote: > mailto:mmoroz@chromium.org changed reviewers: > + mailto:aizatsky@chromium.org, mailto:inferno@chromium.org, mailto:ochang@chromium.org Please ...
4 years, 5 months ago (2016-06-30 14:43:06 UTC) #3
mmoroz
On 2016/06/30 14:43:06, mmoroz wrote: > On 2016/06/30 14:41:10, mmoroz wrote: > > mailto:mmoroz@chromium.org changed ...
4 years, 5 months ago (2016-06-30 15:31:33 UTC) #4
aizatsky
On 2016/06/30 at 15:31:33, mmoroz wrote: > On 2016/06/30 14:43:06, mmoroz wrote: > > On ...
4 years, 5 months ago (2016-06-30 22:00:27 UTC) #5
mmoroz
On 2016/06/30 22:00:27, aizatsky wrote: > On 2016/06/30 at 15:31:33, mmoroz wrote: > > On ...
4 years, 5 months ago (2016-07-01 09:19:03 UTC) #6
Oliver Chang
lgtm with some nits https://codereview.chromium.org/2115563002/diff/80001/testing/libfuzzer/dictionary_generator.py File testing/libfuzzer/dictionary_generator.py (right): https://codereview.chromium.org/2115563002/diff/80001/testing/libfuzzer/dictionary_generator.py#newcode124 testing/libfuzzer/dictionary_generator.py:124: rodata_path = PreprocessBinary(filepath) is rodata_path ...
4 years, 5 months ago (2016-07-01 19:10:46 UTC) #7
aizatsky
https://codereview.chromium.org/2115563002/diff/80001/testing/libfuzzer/dictionary_generator.py File testing/libfuzzer/dictionary_generator.py (right): https://codereview.chromium.org/2115563002/diff/80001/testing/libfuzzer/dictionary_generator.py#newcode28 testing/libfuzzer/dictionary_generator.py:28: def EscapeDictionaryElement(element): Consider using string_escape: https://docs.python.org/2/library/codecs.html https://codereview.chromium.org/2115563002/diff/80001/testing/libfuzzer/dictionary_generator.py#newcode60 testing/libfuzzer/dictionary_generator.py:60: """Find ...
4 years, 5 months ago (2016-07-01 22:28:55 UTC) #8
inferno
https://codereview.chromium.org/2115563002/diff/80001/net/BUILD.gn File net/BUILD.gn (right): https://codereview.chromium.org/2115563002/diff/80001/net/BUILD.gn#newcode1970 net/BUILD.gn:1970: dict = "//testing/libfuzzer/fuzzers/dicts/generated/net_http_stream_parser_fuzzer.dict" we should probably prefer to keep ...
4 years, 5 months ago (2016-07-04 00:21:56 UTC) #9
mmoroz
https://codereview.chromium.org/2115563002/diff/80001/net/BUILD.gn File net/BUILD.gn (right): https://codereview.chromium.org/2115563002/diff/80001/net/BUILD.gn#newcode1970 net/BUILD.gn:1970: dict = "//testing/libfuzzer/fuzzers/dicts/generated/net_http_stream_parser_fuzzer.dict" On 2016/07/04 00:21:55, inferno wrote: > ...
4 years, 5 months ago (2016-07-06 15:06:19 UTC) #10
inferno
lgtm with nits, can commit after fixing nits. Also, add reviewer for /net code, maybe ...
4 years, 5 months ago (2016-07-06 15:33:23 UTC) #11
mmoroz
Thanks for the review! https://codereview.chromium.org/2115563002/diff/140001/testing/libfuzzer/dictionary_generator.py File testing/libfuzzer/dictionary_generator.py (right): https://codereview.chromium.org/2115563002/diff/140001/testing/libfuzzer/dictionary_generator.py#newcode118 testing/libfuzzer/dictionary_generator.py:118: def HexEscapeSingleChar(c): On 2016/07/06 15:33:23, ...
4 years, 5 months ago (2016-07-06 16:12:37 UTC) #12
mmoroz
Added eroman@ for //net review and sky@ for //content (since jam@ is OOO). Please take ...
4 years, 5 months ago (2016-07-06 16:15:04 UTC) #14
aizatsky
On 2016/07/06 at 16:15:04, mmoroz wrote: > Added eroman@ for //net review and sky@ for ...
4 years, 5 months ago (2016-07-06 18:26:24 UTC) #15
eroman
https://codereview.chromium.org/2115563002/diff/180001/net/data/dicts/generated/net_http_proxy_client_socket_fuzzer.dict File net/data/dicts/generated/net_http_proxy_client_socket_fuzzer.dict (right): https://codereview.chromium.org/2115563002/diff/180001/net/data/dicts/generated/net_http_proxy_client_socket_fuzzer.dict#newcode166 net/data/dicts/generated/net_http_proxy_client_socket_fuzzer.dict:166: # Dictionary elements below have been generated automatically. General ...
4 years, 5 months ago (2016-07-06 19:37:30 UTC) #16
sky
LGTM
4 years, 5 months ago (2016-07-06 23:47:00 UTC) #17
mmoroz
https://codereview.chromium.org/2115563002/diff/180001/net/data/dicts/generated/net_http_proxy_client_socket_fuzzer.dict File net/data/dicts/generated/net_http_proxy_client_socket_fuzzer.dict (right): https://codereview.chromium.org/2115563002/diff/180001/net/data/dicts/generated/net_http_proxy_client_socket_fuzzer.dict#newcode166 net/data/dicts/generated/net_http_proxy_client_socket_fuzzer.dict:166: # Dictionary elements below have been generated automatically. On ...
4 years, 5 months ago (2016-07-07 08:43:44 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2115563002/220001
4 years, 5 months ago (2016-07-07 09:02:13 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_clobber_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_clobber_rel_ng/builds/200934)
4 years, 5 months ago (2016-07-07 09:23:48 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2115563002/240001
4 years, 5 months ago (2016-07-07 11:21:42 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: ios-device-gn on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device-gn/builds/32479)
4 years, 5 months ago (2016-07-07 11:26:11 UTC) #29
mmoroz
On 2016/07/07 11:26:11, commit-bot: I haz the power wrote: > Try jobs failed on following ...
4 years, 5 months ago (2016-07-07 12:07:23 UTC) #30
commit-bot: I haz the power
Patchset 13 (id:??) landed as https://crrev.com/1a6bef1675e05626a4692ab6fa43cbbc5515299b Cr-Commit-Position: refs/heads/master@{#404133}
4 years, 5 months ago (2016-07-07 12:11:23 UTC) #32
mmoroz
4 years, 5 months ago (2016-07-07 12:12:59 UTC) #34
Message was sent while issue was closed.
Committed patchset #13 (id:240001) manually as
1a6bef1675e05626a4692ab6fa43cbbc5515299b (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698