|
|
Created:
4 years, 3 months ago by Thiemo Nagel Modified:
4 years, 2 months ago CC:
chromium-reviews, fuzzing_chromium.org Target Ref:
refs/pending/heads/master Project:
chromium Visibility:
Public. |
DescriptionInclude JSONParser options into its fuzzer.
Also drop creation and destruction of the JSONReader object because the fuzzed
method is static anyways.
BUG=none
Committed: https://crrev.com/d79a3a25470080ac70e74dbbcea5fb618be441fa
Cr-Commit-Position: refs/heads/master@{#421153}
Patch Set 1 #Patch Set 2 : Request error details to increase coverage. #Patch Set 3 : Rename selector to options. #Patch Set 4 : Move stack variables to the heap. #Messages
Total messages: 20 (11 generated)
The CQ bit was checked by tnagel@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Description was changed from ========== Include JSONParser options into its fuzzer. Also drop creation and destruction of the JSONReader object because the fuzzed function is static anyways. BUG=none ========== to ========== Include JSONParser options into its fuzzer. Also drop creation and destruction of the JSONReader object because the fuzzed method is static anyways. BUG=none ==========
tnagel@chromium.org changed reviewers: + mmoroz@chromium.org
Hi Max, could you please take a look? Thank you! Thiemo
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
inferno@chromium.org changed reviewers: + inferno@chromium.org
lgtm might be better to even hook into JSONReader::ReadAndReturnError ? That parses some more fields in memory. if (!root) { if (error_code_out) *error_code_out = parser.error_code(); if (error_msg_out) *error_msg_out = parser.GetErrorMessage(); if (error_line_out) *error_line_out = parser.error_line(); if (error_column_out) *error_column_out = parser.error_column(); }
LGTM for the improvement to fuzz |options|, thanks for adding this! and +1 to call ReadAndReturnError (https://cs.chromium.org/chromium/src/base/json/json_reader.cc?sq=package:chro...), thanks inferno@ for the suggestion.
inferno, could you please take another look? Thank you, Thiemo
lgtm
On 2016/09/27 08:47:37, inferno wrote: > lgtm Thank you!
The CQ bit was checked by tnagel@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from mmoroz@chromium.org Link to the patchset: https://codereview.chromium.org/2348053002/#ps60001 (title: "Move stack variables to the heap.")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Message was sent while issue was closed.
Description was changed from ========== Include JSONParser options into its fuzzer. Also drop creation and destruction of the JSONReader object because the fuzzed method is static anyways. BUG=none ========== to ========== Include JSONParser options into its fuzzer. Also drop creation and destruction of the JSONReader object because the fuzzed method is static anyways. BUG=none ==========
Message was sent while issue was closed.
Committed patchset #4 (id:60001)
Message was sent while issue was closed.
Description was changed from ========== Include JSONParser options into its fuzzer. Also drop creation and destruction of the JSONReader object because the fuzzed method is static anyways. BUG=none ========== to ========== Include JSONParser options into its fuzzer. Also drop creation and destruction of the JSONReader object because the fuzzed method is static anyways. BUG=none Committed: https://crrev.com/d79a3a25470080ac70e74dbbcea5fb618be441fa Cr-Commit-Position: refs/heads/master@{#421153} ==========
Message was sent while issue was closed.
Patchset 4 (id:??) landed as https://crrev.com/d79a3a25470080ac70e74dbbcea5fb618be441fa Cr-Commit-Position: refs/heads/master@{#421153} |