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

Issue 2261873002: Add fuzzer for HTMLPreloadScanner (Closed)

Created:
4 years, 4 months ago by Charlie Harrison
Modified:
4 years, 3 months ago
Reviewers:
mmoroz, kouhei (in TOK)
CC:
chromium-reviews, Yoav Weiss, blink-reviews-html_chromium.org, loading-reviews+parser_chromium.org, dglazkov+blink, blink-reviews, kinuko+watch
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add fuzzer for HTMLPreloadScanner BUG= Committed: https://crrev.com/8292c59774cac439c34c0692d22e321e2f6e8b18 Cr-Commit-Position: refs/heads/master@{#416318}

Patch Set 1 #

Total comments: 4

Patch Set 2 : kouhei first look #

Patch Set 3 : rebase #

Total comments: 2

Patch Set 4 : add include #

Unified diffs Side-by-side diffs Delta from patch set Stats (+110 lines, -52 lines) Patch
M third_party/WebKit/Source/core/BUILD.gn View 1 2 3 2 chunks +14 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/html/parser/HTMLPreloadScanner.h View 1 2 3 2 chunks +6 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/core/html/parser/HTMLPreloadScannerFuzzer.cpp View 1 2 3 1 chunk +85 lines, -0 lines 0 comments Download
A + third_party/WebKit/Source/core/html/parser/TextResourceDecoderForFuzzing.h View 1 2 chunks +4 lines, -26 lines 0 comments Download
M third_party/WebKit/Source/core/html/parser/TextResourceDecoderFuzzer.cpp View 1 1 chunk +1 line, -26 lines 0 comments Download

Messages

Total messages: 35 (18 generated)
Charlie Harrison
Non-urgent request for second pair of eyes. Here's a fuzzer for the HTMLPreloadScanner (which will ...
4 years, 4 months ago (2016-08-19 23:06:59 UTC) #4
kouhei (in TOK)
Wow. Thanks! https://codereview.chromium.org/2261873002/diff/1/third_party/WebKit/Source/core/html/parser/HTMLPreloadScanner.h File third_party/WebKit/Source/core/html/parser/HTMLPreloadScanner.h (right): https://codereview.chromium.org/2261873002/diff/1/third_party/WebKit/Source/core/html/parser/HTMLPreloadScanner.h#newcode75 third_party/WebKit/Source/core/html/parser/HTMLPreloadScanner.h:75: CachedDocumentParameters() {} public: static std::unique_ptr<CachedDocumentParameters> create() { ...
4 years, 4 months ago (2016-08-22 05:48:28 UTC) #7
Charlie Harrison
Let's hold off on this review. I think there are subtle issues with how the ...
4 years, 4 months ago (2016-08-23 01:32:28 UTC) #12
kouhei (in TOK)
https://codereview.chromium.org/2261873002/diff/1/third_party/WebKit/Source/core/html/parser/HTMLPreloadScanner.h File third_party/WebKit/Source/core/html/parser/HTMLPreloadScanner.h (right): https://codereview.chromium.org/2261873002/diff/1/third_party/WebKit/Source/core/html/parser/HTMLPreloadScanner.h#newcode75 third_party/WebKit/Source/core/html/parser/HTMLPreloadScanner.h:75: CachedDocumentParameters() {} On 2016/08/23 01:32:28, Charlie Harrison wrote: > ...
4 years, 4 months ago (2016-08-23 02:29:41 UTC) #13
Charlie Harrison
FYI I have rebased this on a dependent CL adding more fuzzing infra to blink. ...
4 years, 4 months ago (2016-08-23 23:51:03 UTC) #14
kouhei (in TOK)
lgtm
4 years, 4 months ago (2016-08-23 23:53:47 UTC) #15
Charlie Harrison
mmoroz@ would you review this fuzzer too? It also relies on test infra from the ...
4 years, 3 months ago (2016-08-30 16:28:23 UTC) #17
mmoroz
LGTM https://codereview.chromium.org/2261873002/diff/40001/third_party/WebKit/Source/core/html/parser/HTMLPreloadScannerFuzzer.cpp File third_party/WebKit/Source/core/html/parser/HTMLPreloadScannerFuzzer.cpp (right): https://codereview.chromium.org/2261873002/diff/40001/third_party/WebKit/Source/core/html/parser/HTMLPreloadScannerFuzzer.cpp#newcode66 third_party/WebKit/Source/core/html/parser/HTMLPreloadScannerFuzzer.cpp:66: CString bytes = fuzzedData.ConsumeRemainingBytes(); Can we estimate how ...
4 years, 3 months ago (2016-08-30 19:01:53 UTC) #18
Charlie Harrison
https://codereview.chromium.org/2261873002/diff/40001/third_party/WebKit/Source/core/html/parser/HTMLPreloadScannerFuzzer.cpp File third_party/WebKit/Source/core/html/parser/HTMLPreloadScannerFuzzer.cpp (right): https://codereview.chromium.org/2261873002/diff/40001/third_party/WebKit/Source/core/html/parser/HTMLPreloadScannerFuzzer.cpp#newcode66 third_party/WebKit/Source/core/html/parser/HTMLPreloadScannerFuzzer.cpp:66: CString bytes = fuzzedData.ConsumeRemainingBytes(); On 2016/08/30 19:01:53, mmoroz wrote: ...
4 years, 3 months ago (2016-08-30 19:22:35 UTC) #19
mmoroz
On 2016/08/30 19:22:35, Charlie Harrison wrote: > https://codereview.chromium.org/2261873002/diff/40001/third_party/WebKit/Source/core/html/parser/HTMLPreloadScannerFuzzer.cpp > File third_party/WebKit/Source/core/html/parser/HTMLPreloadScannerFuzzer.cpp > (right): > > ...
4 years, 3 months ago (2016-08-30 19:27:05 UTC) #20
Charlie Harrison
After thinking about it I'd like to move this patchset away from using the TextResourceDecoderForFuzzing, ...
4 years, 3 months ago (2016-08-31 13:51:07 UTC) #21
Charlie Harrison
On 2016/08/31 13:51:07, Charlie Harrison wrote: > After thinking about it I'd like to move ...
4 years, 3 months ago (2016-09-02 15:39:12 UTC) #22
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/2261873002/40001
4 years, 3 months ago (2016-09-02 15:39:52 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg_ng/builds/262459) mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, ...
4 years, 3 months ago (2016-09-02 15:42:14 UTC) #26
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/2261873002/60001
4 years, 3 months ago (2016-09-02 15:57:32 UTC) #32
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 3 months ago (2016-09-02 19:12:22 UTC) #33
commit-bot: I haz the power
4 years, 3 months ago (2016-09-02 19:15:56 UTC) #35
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/8292c59774cac439c34c0692d22e321e2f6e8b18
Cr-Commit-Position: refs/heads/master@{#416318}

Powered by Google App Engine
This is Rietveld 408576698