New issue
Advanced search Search tips

Issue 638653 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Aug 2016
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug

Blocking:
issue 638379



Sign in to add a comment

Add fuzzer for TextResourceDecoder

Project Member Reported by csharrison@chromium.org, Aug 17 2016

Issue description

This should be a relatively straightforward fuzzer, as the class is cleanly abstracted from the rest of the parser code.
 
Project Member

Comment 1 by bugdroid1@chromium.org, Aug 19 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/f30fc95f50c3568509541ddb7b527fa5ea1fc201

commit f30fc95f50c3568509541ddb7b527fa5ea1fc201
Author: csharrison <csharrison@chromium.org>
Date: Fri Aug 19 21:43:44 2016

Move FuzzedDataProvider to //base and expose to blink

This patch moves FuzzedDataProvider from //net/base to //base. We also
expose a wrapper type in blink platform for use in Blink fuzzers.

This patch also implements a very simple fuzzer for TextResourceDecoder,
which stress tests code operating on a raw byte stream.

BUG= 638653 

Review-Url: https://codereview.chromium.org/2250263003
Cr-Commit-Position: refs/heads/master@{#413253}

[modify] https://crrev.com/f30fc95f50c3568509541ddb7b527fa5ea1fc201/base/test/BUILD.gn
[rename] https://crrev.com/f30fc95f50c3568509541ddb7b527fa5ea1fc201/base/test/fuzzed_data_provider.cc
[rename] https://crrev.com/f30fc95f50c3568509541ddb7b527fa5ea1fc201/base/test/fuzzed_data_provider.h
[modify] https://crrev.com/f30fc95f50c3568509541ddb7b527fa5ea1fc201/net/BUILD.gn
[modify] https://crrev.com/f30fc95f50c3568509541ddb7b527fa5ea1fc201/net/cert/internal/verify_name_match_fuzzer.cc
[modify] https://crrev.com/f30fc95f50c3568509541ddb7b527fa5ea1fc201/net/cert/internal/verify_name_match_verifynameinsubtree_fuzzer.cc
[modify] https://crrev.com/f30fc95f50c3568509541ddb7b527fa5ea1fc201/net/dns/fuzzed_host_resolver.cc
[modify] https://crrev.com/f30fc95f50c3568509541ddb7b527fa5ea1fc201/net/dns/fuzzed_host_resolver.h
[modify] https://crrev.com/f30fc95f50c3568509541ddb7b527fa5ea1fc201/net/dns/host_resolver_impl_fuzzer.cc
[modify] https://crrev.com/f30fc95f50c3568509541ddb7b527fa5ea1fc201/net/http/http_proxy_client_socket_fuzzer.cc
[modify] https://crrev.com/f30fc95f50c3568509541ddb7b527fa5ea1fc201/net/http/http_stream_parser_fuzzer.cc
[modify] https://crrev.com/f30fc95f50c3568509541ddb7b527fa5ea1fc201/net/socket/fuzzed_socket.cc
[modify] https://crrev.com/f30fc95f50c3568509541ddb7b527fa5ea1fc201/net/socket/fuzzed_socket.h
[modify] https://crrev.com/f30fc95f50c3568509541ddb7b527fa5ea1fc201/net/socket/fuzzed_socket_factory.cc
[modify] https://crrev.com/f30fc95f50c3568509541ddb7b527fa5ea1fc201/net/socket/fuzzed_socket_factory.h
[modify] https://crrev.com/f30fc95f50c3568509541ddb7b527fa5ea1fc201/net/socket/socks5_client_socket_fuzzer.cc
[modify] https://crrev.com/f30fc95f50c3568509541ddb7b527fa5ea1fc201/net/socket/socks_client_socket_fuzzer.cc
[modify] https://crrev.com/f30fc95f50c3568509541ddb7b527fa5ea1fc201/net/udp/fuzzed_datagram_client_socket.cc
[modify] https://crrev.com/f30fc95f50c3568509541ddb7b527fa5ea1fc201/net/udp/fuzzed_datagram_client_socket.h
[modify] https://crrev.com/f30fc95f50c3568509541ddb7b527fa5ea1fc201/net/url_request/url_request_data_job_fuzzer.cc
[modify] https://crrev.com/f30fc95f50c3568509541ddb7b527fa5ea1fc201/net/url_request/url_request_fuzzer.cc
[modify] https://crrev.com/f30fc95f50c3568509541ddb7b527fa5ea1fc201/third_party/WebKit/Source/core/BUILD.gn
[modify] https://crrev.com/f30fc95f50c3568509541ddb7b527fa5ea1fc201/third_party/WebKit/Source/core/html/parser/TextResourceDecoder.h
[add] https://crrev.com/f30fc95f50c3568509541ddb7b527fa5ea1fc201/third_party/WebKit/Source/core/html/parser/TextResourceDecoderFuzzer.cpp
[modify] https://crrev.com/f30fc95f50c3568509541ddb7b527fa5ea1fc201/third_party/WebKit/Source/platform/DEPS
[modify] https://crrev.com/f30fc95f50c3568509541ddb7b527fa5ea1fc201/third_party/WebKit/Source/platform/blink_platform.gypi
[add] https://crrev.com/f30fc95f50c3568509541ddb7b527fa5ea1fc201/third_party/WebKit/Source/platform/testing/FuzzedDataProvider.cpp
[add] https://crrev.com/f30fc95f50c3568509541ddb7b527fa5ea1fc201/third_party/WebKit/Source/platform/testing/FuzzedDataProvider.h

Status: Fixed (was: Started)

Sign in to add a comment