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

Issue 2166913002: bluetooth: Generate random service uuid and generate random fake adapter. (Closed)

Created:
4 years, 5 months ago by ortuno
Modified:
4 years, 4 months ago
CC:
blink-reviews, chromium-reviews, inferno, Oliver Chang, ortuno+watch_chromium.org, scheib+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@bluetooth-fuzzer-basics
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

bluetooth: Generate random service uuid and generate random fake adapter. This patch includes two changes: 1. Randomly generate a Service UUID, weighting services from the fake devices more heavily. 2. Randomly pick a fake adapter to use. Also adds a testing/clusterfuzz/fuzzers/common directory that includes modules that are useful for other python fuzzers. BUG=570049 Committed: https://crrev.com/b888673dadc0ca01b7cd6c5028565f4d2fe6ee3a Cr-Commit-Position: refs/heads/master@{#407870}

Patch Set 1 : Copy of internal patch #

Total comments: 3

Patch Set 2 : Address scheib's comments and include common/ files #

Total comments: 2

Patch Set 3 : Address scheib's comments #

Patch Set 4 : Address scheib's comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+451 lines, -30 lines) Patch
M content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download
A + testing/clusterfuzz/OWNERS View 1 1 chunk +0 lines, -2 lines 0 comments Download
A testing/clusterfuzz/README.md View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
A + testing/clusterfuzz/common/__init__.py View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
A testing/clusterfuzz/common/fuzzy_types.py View 1 2 1 chunk +207 lines, -0 lines 0 comments Download
A testing/clusterfuzz/common/utils.py View 1 2 1 chunk +54 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/bluetooth/testing/clusterfuzz/README.md View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/bluetooth/testing/clusterfuzz/constraints.py View 1 2 1 chunk +118 lines, -11 lines 0 comments Download
D third_party/WebKit/Source/modules/bluetooth/testing/clusterfuzz/constraints_unittest.py View 1 1 chunk +0 lines, -16 lines 0 comments Download
M third_party/WebKit/Source/modules/bluetooth/testing/clusterfuzz/fuzz_integration_test.py View 1 2 chunks +1 line, -1 line 0 comments Download
A third_party/WebKit/Source/modules/bluetooth/testing/clusterfuzz/gatt_aliases.py View 1 2 1 chunk +53 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/bluetooth/testing/clusterfuzz/parameter_fuzzer.py View 1 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/bluetooth/testing/clusterfuzz/setup.py View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/bluetooth/testing/clusterfuzz/templates/base-template.html View 1 1 chunk +2 lines, -1 line 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 28 (16 generated)
ortuno
scheib: PTAL https://codereview.chromium.org/2166913002/diff/20001/third_party/WebKit/Source/modules/bluetooth/web_bluetooth_fuzzer/constraints.py File third_party/WebKit/Source/modules/bluetooth/web_bluetooth_fuzzer/constraints.py (right): https://codereview.chromium.org/2166913002/diff/20001/third_party/WebKit/Source/modules/bluetooth/web_bluetooth_fuzzer/constraints.py#newcode26 third_party/WebKit/Source/modules/bluetooth/web_bluetooth_fuzzer/constraints.py:26: sys.path.append(os.pardir) On 2016/07/15 at 21:05:58, scheib wrote: ...
4 years, 5 months ago (2016-07-21 21:35:24 UTC) #6
scheib
LGTM but: Add a testing/clusterfuzz/README.md linking to https://www.chromium.org/Home/chromium-security/bugs/developing-fuzzers-for-clusterfuzz Consider testing/clusterfuzz/common, instead of the additional /fuzzers/ ...
4 years, 4 months ago (2016-07-25 19:21:13 UTC) #7
haraken
Directory structure LGTM
4 years, 4 months ago (2016-07-25 19:22:21 UTC) #8
ortuno
On 2016/07/25 at 19:21:13, scheib wrote: > Add a > testing/clusterfuzz/README.md > linking to > ...
4 years, 4 months ago (2016-07-25 20:55:49 UTC) #11
ortuno
mmoroz: PTAL, note that we are open sourcing some common files for fuzzers, cc'ing inferno ...
4 years, 4 months ago (2016-07-25 20:57:14 UTC) #13
mmoroz
LGTM
4 years, 4 months ago (2016-07-26 16:29:54 UTC) #14
ortuno
Thanks!
4 years, 4 months ago (2016-07-26 17:52:16 UTC) #19
ortuno
dpranke: PTAL at testing/
4 years, 4 months ago (2016-07-26 17:52:36 UTC) #21
Dirk Pranke
lgtm
4 years, 4 months ago (2016-07-26 18:35:22 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/2166913002/140001
4 years, 4 months ago (2016-07-26 18:57:24 UTC) #25
commit-bot: I haz the power
Committed patchset #4 (id:140001)
4 years, 4 months ago (2016-07-26 19:03:12 UTC) #26
commit-bot: I haz the power
4 years, 4 months ago (2016-07-26 19:05:15 UTC) #28
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/b888673dadc0ca01b7cd6c5028565f4d2fe6ee3a
Cr-Commit-Position: refs/heads/master@{#407870}

Powered by Google App Engine
This is Rietveld 408576698