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

Issue 1735043004: Add fuzz testers to //net for some functions with simple parsing APIs. (Closed)

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

Description

Add fuzz testers to //net for some functions with simple parsing APIs. TBR=jshin@chromium.org Committed: https://crrev.com/e6264fd9d125c729b60aad95924a6464e6d1b071 Cr-Commit-Position: refs/heads/master@{#378865}

Patch Set 1 : #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : address max's comments #

Patch Set 4 : add // base as dependency. not sure why, but see if this fixes linker issue #

Total comments: 2

Patch Set 5 : Make two calls for filter #

Patch Set 6 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+265 lines, -0 lines) Patch
M net/BUILD.gn View 1 2 3 2 chunks +86 lines, -0 lines 0 comments Download
M net/DEPS View 1 chunk +4 lines, -0 lines 0 comments Download
M net/base/data_url.cc View 1 chunk +3 lines, -0 lines 0 comments Download
A net/base/parse_data_url_fuzzer.cc View 1 2 1 chunk +19 lines, -0 lines 0 comments Download
A net/base/parse_ip_pattern_fuzzer.cc View 1 2 1 chunk +16 lines, -0 lines 0 comments Download
A net/base/registry_controlled_domains/get_domain_and_registry_fuzzer.cc View 1 2 3 4 1 chunk +35 lines, -0 lines 0 comments Download
A net/base/sniff_mime_type_fuzzer.cc View 1 2 1 chunk +18 lines, -0 lines 0 comments Download
A net/cookies/parse_cookie_line_fuzzer.cc View 1 2 1 chunk +15 lines, -0 lines 0 comments Download
A net/proxy/parse_proxy_bypass_rules_fuzzer.cc View 1 2 1 chunk +16 lines, -0 lines 0 comments Download
A net/proxy/parse_proxy_list_fuzzer.cc View 1 2 1 chunk +16 lines, -0 lines 0 comments Download
A net/proxy/parse_proxy_list_pac_fuzzer.cc View 1 2 1 chunk +16 lines, -0 lines 0 comments Download
A net/proxy/parse_proxy_rules_fuzzer.cc View 1 2 1 chunk +16 lines, -0 lines 0 comments Download
M net/proxy/proxy_bypass_rules.cc View 1 chunk +5 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 25 (11 generated)
eroman
4 years, 9 months ago (2016-02-26 02:39:14 UTC) #5
mmoroz
Thanks for writing these fuzzers. That's awesome! I left a couple of minor nits. If ...
4 years, 9 months ago (2016-02-26 09:18:45 UTC) #6
eroman
https://codereview.chromium.org/1735043004/diff/60001/net/base/registry_controlled_domains/get_domain_and_registry_fuzzer.cc File net/base/registry_controlled_domains/get_domain_and_registry_fuzzer.cc (right): https://codereview.chromium.org/1735043004/diff/60001/net/base/registry_controlled_domains/get_domain_and_registry_fuzzer.cc#newcode27 net/base/registry_controlled_domains/get_domain_and_registry_fuzzer.cc:27: size--; On 2016/02/26 09:18:45, mmoroz wrote: > Since we ...
4 years, 9 months ago (2016-02-26 20:37:19 UTC) #7
eroman
+jshin for the change to net/DEPS. This is just adding a dependency on i18n for ...
4 years, 9 months ago (2016-02-26 20:38:31 UTC) #9
mmoroz
On 2016/02/26 20:38:31, eroman wrote: > +jshin for the change to net/DEPS. > > This ...
4 years, 9 months ago (2016-03-01 10:37:07 UTC) #10
mmenke
https://codereview.chromium.org/1735043004/diff/100001/net/base/registry_controlled_domains/get_domain_and_registry_fuzzer.cc File net/base/registry_controlled_domains/get_domain_and_registry_fuzzer.cc (right): https://codereview.chromium.org/1735043004/diff/100001/net/base/registry_controlled_domains/get_domain_and_registry_fuzzer.cc#newcode29 net/base/registry_controlled_domains/get_domain_and_registry_fuzzer.cc:29: if ((data[0] ^ data[size - 1]) & 1) So ...
4 years, 9 months ago (2016-03-02 16:51:44 UTC) #12
eroman
https://codereview.chromium.org/1735043004/diff/100001/net/base/registry_controlled_domains/get_domain_and_registry_fuzzer.cc File net/base/registry_controlled_domains/get_domain_and_registry_fuzzer.cc (right): https://codereview.chromium.org/1735043004/diff/100001/net/base/registry_controlled_domains/get_domain_and_registry_fuzzer.cc#newcode29 net/base/registry_controlled_domains/get_domain_and_registry_fuzzer.cc:29: if ((data[0] ^ data[size - 1]) & 1) On ...
4 years, 9 months ago (2016-03-02 18:28:43 UTC) #13
mmenke
On 2016/03/02 18:28:43, eroman wrote: > https://codereview.chromium.org/1735043004/diff/100001/net/base/registry_controlled_domains/get_domain_and_registry_fuzzer.cc > File net/base/registry_controlled_domains/get_domain_and_registry_fuzzer.cc > (right): > > https://codereview.chromium.org/1735043004/diff/100001/net/base/registry_controlled_domains/get_domain_and_registry_fuzzer.cc#newcode29 ...
4 years, 9 months ago (2016-03-02 18:54:29 UTC) #14
mmoroz
LGTM
4 years, 9 months ago (2016-03-02 19:02:00 UTC) #15
eroman
Cool! For the record they were very easy to write. With the exception of WebCrypto ...
4 years, 9 months ago (2016-03-02 19:04:33 UTC) #16
eroman
TBR=jshin@chromium.org For the the change to net/BUILD.gn, which adds a dependency on base/i18n for an ...
4 years, 9 months ago (2016-03-02 20:40:55 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1735043004/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1735043004/140001
4 years, 9 months ago (2016-03-02 20:41:46 UTC) #21
commit-bot: I haz the power
Committed patchset #6 (id:140001)
4 years, 9 months ago (2016-03-02 22:46:45 UTC) #23
commit-bot: I haz the power
4 years, 9 months ago (2016-03-02 22:48:56 UTC) #25
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/e6264fd9d125c729b60aad95924a6464e6d1b071
Cr-Commit-Position: refs/heads/master@{#378865}

Powered by Google App Engine
This is Rietveld 408576698