[wasm][fuzzer] A few minor cleanups [v8/v8 : main]

0 views
Skip to first unread message

Clemens Backes (Gerrit)

unread,
9:59 AM (12 hours ago) 9:59 AM
to AyeAye, Matthias Liedtke, V8 LUCI CQ, v8-re...@googlegroups.com, was...@google.com
Attention needed from Matthias Liedtke

Clemens Backes added 1 comment

Patchset-level comments
File-level comment, Patchset 1 (Latest):
Clemens Backes . resolved

A few random things I saw while investigating https://crbug.com/472729752; PTAL.

Open in Gerrit

Related details

Attention is currently required from:
  • Matthias Liedtke
Submit Requirements:
  • requirement satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: v8/v8
Gerrit-Branch: main
Gerrit-Change-Id: I5e7362361e1b29fd85e0eef6eddd7018dfb7bf82
Gerrit-Change-Number: 7452243
Gerrit-PatchSet: 1
Gerrit-Owner: Clemens Backes <clem...@chromium.org>
Gerrit-Reviewer: Clemens Backes <clem...@chromium.org>
Gerrit-Reviewer: Matthias Liedtke <mlie...@chromium.org>
Gerrit-Attention: Matthias Liedtke <mlie...@chromium.org>
Gerrit-Comment-Date: Mon, 12 Jan 2026 14:59:10 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Matthias Liedtke (Gerrit)

unread,
10:33 AM (12 hours ago) 10:33 AM
to Clemens Backes, AyeAye, V8 LUCI CQ, v8-re...@googlegroups.com, was...@google.com
Attention needed from Clemens Backes

Matthias Liedtke voted and added 2 comments

Votes added by Matthias Liedtke

Code-Review+1

2 comments

Patchset-level comments
Matthias Liedtke . resolved

LGTM

File src/wasm/fuzzing/random-module-generation.cc
Line 4157, Patchset 1 (Latest): size_t split_index = types.size() / 2;
Matthias Liedtke . unresolved

Amazing engineering. 😄

Note that I seem to have copied the previous thing over to two new places, `EmitCallAndReturnValues` and `EmitCallAndReturnValues` have the same modulo thing to create two subvectors from one input vector of types...
Could you update those places as well? (See `uint32_t returns_split`)

Open in Gerrit

Related details

Attention is currently required from:
  • Clemens Backes
Submit Requirements:
  • requirement satisfiedCode-Owners
  • requirement satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
  • requirement satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: v8/v8
Gerrit-Branch: main
Gerrit-Change-Id: I5e7362361e1b29fd85e0eef6eddd7018dfb7bf82
Gerrit-Change-Number: 7452243
Gerrit-PatchSet: 1
Gerrit-Owner: Clemens Backes <clem...@chromium.org>
Gerrit-Reviewer: Clemens Backes <clem...@chromium.org>
Gerrit-Reviewer: Matthias Liedtke <mlie...@chromium.org>
Gerrit-Attention: Clemens Backes <clem...@chromium.org>
Gerrit-Comment-Date: Mon, 12 Jan 2026 15:33:48 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Clemens Backes (Gerrit)

unread,
10:41 AM (11 hours ago) 10:41 AM
to Matthias Liedtke, AyeAye, V8 LUCI CQ, v8-re...@googlegroups.com, was...@google.com
Attention needed from Matthias Liedtke

Clemens Backes added 1 comment

File src/wasm/fuzzing/random-module-generation.cc
Line 4157, Patchset 1 (Latest): size_t split_index = types.size() / 2;
Matthias Liedtke . unresolved

Amazing engineering. 😄

Note that I seem to have copied the previous thing over to two new places, `EmitCallAndReturnValues` and `EmitCallAndReturnValues` have the same modulo thing to create two subvectors from one input vector of types...
Could you update those places as well? (See `uint32_t returns_split`)

Clemens Backes

Aren't those places where we really want to split randomly?

This place here actually wants to split in two roughly equally sized halves, which is a different goal.

Open in Gerrit

Related details

Attention is currently required from:
  • Matthias Liedtke
Submit Requirements:
  • requirement satisfiedCode-Owners
  • requirement satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
  • requirement satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: v8/v8
Gerrit-Branch: main
Gerrit-Change-Id: I5e7362361e1b29fd85e0eef6eddd7018dfb7bf82
Gerrit-Change-Number: 7452243
Gerrit-PatchSet: 1
Gerrit-Owner: Clemens Backes <clem...@chromium.org>
Gerrit-Reviewer: Clemens Backes <clem...@chromium.org>
Gerrit-Reviewer: Matthias Liedtke <mlie...@chromium.org>
Gerrit-Attention: Matthias Liedtke <mlie...@chromium.org>
Gerrit-Comment-Date: Mon, 12 Jan 2026 15:40:57 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Matthias Liedtke <mlie...@chromium.org>
satisfied_requirement
unsatisfied_requirement
open
diffy

Matthias Liedtke (Gerrit)

unread,
10:42 AM (11 hours ago) 10:42 AM
to Clemens Backes, AyeAye, V8 LUCI CQ, v8-re...@googlegroups.com, was...@google.com
Attention needed from Clemens Backes

Matthias Liedtke added 1 comment

File src/wasm/fuzzing/random-module-generation.cc
Line 4157, Patchset 1 (Latest): size_t split_index = types.size() / 2;
Matthias Liedtke . resolved

Amazing engineering. 😄

Note that I seem to have copied the previous thing over to two new places, `EmitCallAndReturnValues` and `EmitCallAndReturnValues` have the same modulo thing to create two subvectors from one input vector of types...
Could you update those places as well? (See `uint32_t returns_split`)

Clemens Backes

Aren't those places where we really want to split randomly?

This place here actually wants to split in two roughly equally sized halves, which is a different goal.

Matthias Liedtke

Ah sorry, yes, I searched for the pattern and found it in other places, you're right, this is unrelated. I should've checked more carefully.

Open in Gerrit

Related details

Attention is currently required from:
  • Clemens Backes
Submit Requirements:
    • requirement satisfiedCode-Owners
    • requirement satisfiedCode-Review
    • requirement satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: v8/v8
    Gerrit-Branch: main
    Gerrit-Change-Id: I5e7362361e1b29fd85e0eef6eddd7018dfb7bf82
    Gerrit-Change-Number: 7452243
    Gerrit-PatchSet: 1
    Gerrit-Owner: Clemens Backes <clem...@chromium.org>
    Gerrit-Reviewer: Clemens Backes <clem...@chromium.org>
    Gerrit-Reviewer: Matthias Liedtke <mlie...@chromium.org>
    Gerrit-Attention: Clemens Backes <clem...@chromium.org>
    Gerrit-Comment-Date: Mon, 12 Jan 2026 15:42:08 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Matthias Liedtke <mlie...@chromium.org>
    Comment-In-Reply-To: Clemens Backes <clem...@chromium.org>
    satisfied_requirement
    open
    diffy

    Clemens Backes (Gerrit)

    unread,
    10:47 AM (11 hours ago) 10:47 AM
    to Matthias Liedtke, AyeAye, V8 LUCI CQ, v8-re...@googlegroups.com, was...@google.com

    Clemens Backes voted Commit-Queue+2

    Commit-Queue+2
    Open in Gerrit

    Related details

    Attention set is empty
    Submit Requirements:
    • requirement satisfiedCode-Owners
    • requirement satisfiedCode-Review
    • requirement satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: v8/v8
    Gerrit-Branch: main
    Gerrit-Change-Id: I5e7362361e1b29fd85e0eef6eddd7018dfb7bf82
    Gerrit-Change-Number: 7452243
    Gerrit-PatchSet: 1
    Gerrit-Owner: Clemens Backes <clem...@chromium.org>
    Gerrit-Reviewer: Clemens Backes <clem...@chromium.org>
    Gerrit-Reviewer: Matthias Liedtke <mlie...@chromium.org>
    Gerrit-Comment-Date: Mon, 12 Jan 2026 15:47:29 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    open
    diffy

    V8 LUCI CQ (Gerrit)

    unread,
    10:49 AM (11 hours ago) 10:49 AM
    to Clemens Backes, Matthias Liedtke, AyeAye, v8-re...@googlegroups.com, was...@google.com

    V8 LUCI CQ submitted the change

    Change information

    Commit message:
    [wasm][fuzzer] A few minor cleanups

    - use type `int` more consistently,
    - split types in half when saying so, and
    - fix a probability and the comment to match reality.

    R=mlie...@chromium.org
    Change-Id: I5e7362361e1b29fd85e0eef6eddd7018dfb7bf82
    Reviewed-by: Matthias Liedtke <mlie...@chromium.org>
    Commit-Queue: Clemens Backes <clem...@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#104645}
    Files:
    • M src/wasm/fuzzing/random-module-generation.cc
    Change size: S
    Delta: 1 file changed, 14 insertions(+), 14 deletions(-)
    Branch: refs/heads/main
    Submit Requirements:
    • requirement satisfiedCode-Review: +1 by Matthias Liedtke
    Open in Gerrit
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: merged
    Gerrit-Project: v8/v8
    Gerrit-Branch: main
    Gerrit-Change-Id: I5e7362361e1b29fd85e0eef6eddd7018dfb7bf82
    Gerrit-Change-Number: 7452243
    Gerrit-PatchSet: 2
    Gerrit-Owner: Clemens Backes <clem...@chromium.org>
    Gerrit-Reviewer: Clemens Backes <clem...@chromium.org>
    Gerrit-Reviewer: Matthias Liedtke <mlie...@chromium.org>
    open
    diffy
    satisfied_requirement
    Reply all
    Reply to author
    Forward
    0 new messages