[fuzzing] Add a fallback to load the wasm-module-builder [v8/v8 : main]

0 views
Skip to first unread message

Michael Achenbach (Gerrit)

unread,
Mar 10, 2026, 5:34:46 AMMar 10
to Samuel Groß, Clemens Backes, v8-re...@googlegroups.com, victorgo...@chromium.org
Attention needed from Clemens Backes and Samuel Groß

Michael Achenbach voted and added 2 comments

Votes added by Michael Achenbach

Commit-Queue+1

2 comments

Patchset-level comments
File-level comment, Patchset 3 (Latest):
Michael Achenbach . resolved

PTAL

File src/d8/d8.cc
Line 5304, Patchset 3 (Latest):
Michael Achenbach . unresolved

This is an initial, slightly hacky suggestion. Is there a better place to put this?

Would we want this more generically?

Open in Gerrit

Related details

Attention is currently required from:
  • Clemens Backes
  • Samuel Groß
Submit Requirements:
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
  • 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: Ibeab8582138a26fd1ff0eeb23639762a2270d46c
Gerrit-Change-Number: 7651574
Gerrit-PatchSet: 3
Gerrit-Owner: Michael Achenbach <mache...@chromium.org>
Gerrit-Reviewer: Clemens Backes <clem...@chromium.org>
Gerrit-Reviewer: Michael Achenbach <mache...@chromium.org>
Gerrit-Reviewer: Samuel Groß <sa...@chromium.org>
Gerrit-Attention: Samuel Groß <sa...@chromium.org>
Gerrit-Attention: Clemens Backes <clem...@chromium.org>
Gerrit-Comment-Date: Tue, 10 Mar 2026 09:34:42 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
unsatisfied_requirement
open
diffy

Michael Achenbach (Gerrit)

unread,
Mar 10, 2026, 5:38:27 AMMar 10
to V8 LUCI CQ, Samuel Groß, Clemens Backes, v8-re...@googlegroups.com, victorgo...@chromium.org
Attention needed from Clemens Backes and Samuel Groß

Michael Achenbach added 1 comment

Patchset-level comments
Michael Achenbach . resolved

I'm actually checking if the d8 change is needed at all. See http://b/490084113#comment8 - need to investigate CF code.

Open in Gerrit

Related details

Attention is currently required from:
  • Clemens Backes
  • Samuel Groß
Submit Requirements:
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
  • 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: Ibeab8582138a26fd1ff0eeb23639762a2270d46c
Gerrit-Change-Number: 7651574
Gerrit-PatchSet: 3
Gerrit-Owner: Michael Achenbach <mache...@chromium.org>
Gerrit-Reviewer: Clemens Backes <clem...@chromium.org>
Gerrit-Reviewer: Michael Achenbach <mache...@chromium.org>
Gerrit-Reviewer: Samuel Groß <sa...@chromium.org>
Gerrit-Attention: Samuel Groß <sa...@chromium.org>
Gerrit-Attention: Clemens Backes <clem...@chromium.org>
Gerrit-Comment-Date: Tue, 10 Mar 2026 09:38:23 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
unsatisfied_requirement
open
diffy

Michael Achenbach (Gerrit)

unread,
Mar 10, 2026, 5:45:45 AMMar 10
to V8 LUCI CQ, Samuel Groß, Clemens Backes, v8-re...@googlegroups.com, victorgo...@chromium.org
Attention needed from Clemens Backes, Michael Achenbach and Samuel Groß

Michael Achenbach voted and added 1 comment

Votes added by Michael Achenbach

Commit-Queue+1

1 comment

Patchset-level comments
Michael Achenbach . resolved

I'm actually checking if the d8 change is needed at all. See http://b/490084113#comment8 - need to investigate CF code.

Michael Achenbach

Hold off... I think I can just drop the d8 change again.

Open in Gerrit

Related details

Attention is currently required from:
  • Clemens Backes
  • Michael Achenbach
  • Samuel Groß
Submit Requirements:
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
  • 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: Ibeab8582138a26fd1ff0eeb23639762a2270d46c
Gerrit-Change-Number: 7651574
Gerrit-PatchSet: 3
Gerrit-Owner: Michael Achenbach <mache...@chromium.org>
Gerrit-Reviewer: Clemens Backes <clem...@chromium.org>
Gerrit-Reviewer: Michael Achenbach <mache...@chromium.org>
Gerrit-Reviewer: Samuel Groß <sa...@chromium.org>
Gerrit-Attention: Michael Achenbach <mache...@chromium.org>
Gerrit-Attention: Samuel Groß <sa...@chromium.org>
Gerrit-Attention: Clemens Backes <clem...@chromium.org>
Gerrit-Comment-Date: Tue, 10 Mar 2026 09:45:41 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Comment-In-Reply-To: Michael Achenbach <mache...@chromium.org>
unsatisfied_requirement
open
diffy

Michael Achenbach (Gerrit)

unread,
Mar 10, 2026, 5:55:05 AMMar 10
to V8 LUCI CQ, Samuel Groß, Clemens Backes, v8-re...@googlegroups.com, victorgo...@chromium.org
Attention needed from Clemens Backes and Samuel Groß

Michael Achenbach voted and added 2 comments

Votes added by Michael Achenbach

Commit-Queue+1

2 comments

Patchset-level comments
File-level comment, Patchset 5 (Latest):
Michael Achenbach . resolved

PTAL

Commit Message
Line 14, Patchset 5 (Latest):directory, assuming that Clusterfuzz runs V8 from the build
directory.
Open in Gerrit

Related details

Attention is currently required from:
  • Clemens Backes
  • Samuel Groß
Submit Requirements:
  • requirement satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
  • 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: Ibeab8582138a26fd1ff0eeb23639762a2270d46c
Gerrit-Change-Number: 7651574
Gerrit-PatchSet: 5
Gerrit-Owner: Michael Achenbach <mache...@chromium.org>
Gerrit-Reviewer: Clemens Backes <clem...@chromium.org>
Gerrit-Reviewer: Michael Achenbach <mache...@chromium.org>
Gerrit-Reviewer: Samuel Groß <sa...@chromium.org>
Gerrit-Attention: Samuel Groß <sa...@chromium.org>
Gerrit-Attention: Clemens Backes <clem...@chromium.org>
Gerrit-Comment-Date: Tue, 10 Mar 2026 09:55:00 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Clemens Backes (Gerrit)

unread,
Mar 10, 2026, 8:28:50 AMMar 10
to Michael Achenbach, V8 LUCI CQ, Samuel Groß, v8-re...@googlegroups.com, victorgo...@chromium.org
Attention needed from Michael Achenbach and Samuel Groß

Clemens Backes voted Code-Review+1

Code-Review+1
Open in Gerrit

Related details

Attention is currently required from:
  • Michael Achenbach
  • Samuel Groß
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: Ibeab8582138a26fd1ff0eeb23639762a2270d46c
Gerrit-Change-Number: 7651574
Gerrit-PatchSet: 5
Gerrit-Owner: Michael Achenbach <mache...@chromium.org>
Gerrit-Reviewer: Clemens Backes <clem...@chromium.org>
Gerrit-Reviewer: Michael Achenbach <mache...@chromium.org>
Gerrit-Reviewer: Samuel Groß <sa...@chromium.org>
Gerrit-Attention: Michael Achenbach <mache...@chromium.org>
Gerrit-Attention: Samuel Groß <sa...@chromium.org>
Gerrit-Comment-Date: Tue, 10 Mar 2026 12:28:46 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Michael Achenbach (Gerrit)

unread,
Mar 10, 2026, 8:30:03 AMMar 10
to Clemens Backes, V8 LUCI CQ, Samuel Groß, v8-re...@googlegroups.com, victorgo...@chromium.org
Attention needed from Samuel Groß

Michael Achenbach added 1 comment

File src/d8/d8.cc
Line 5304, Patchset 3:
Michael Achenbach . resolved

This is an initial, slightly hacky suggestion. Is there a better place to put this?

Would we want this more generically?

Michael Achenbach

Obsolete.

Open in Gerrit

Related details

Attention is currently required from:
  • Samuel Groß
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: Ibeab8582138a26fd1ff0eeb23639762a2270d46c
    Gerrit-Change-Number: 7651574
    Gerrit-PatchSet: 5
    Gerrit-Owner: Michael Achenbach <mache...@chromium.org>
    Gerrit-Reviewer: Clemens Backes <clem...@chromium.org>
    Gerrit-Reviewer: Michael Achenbach <mache...@chromium.org>
    Gerrit-Reviewer: Samuel Groß <sa...@chromium.org>
    Gerrit-Attention: Samuel Groß <sa...@chromium.org>
    Gerrit-Comment-Date: Tue, 10 Mar 2026 12:29:59 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Michael Achenbach <mache...@chromium.org>
    satisfied_requirement
    open
    diffy

    Michael Achenbach (Gerrit)

    unread,
    Mar 10, 2026, 8:30:06 AMMar 10
    to Clemens Backes, V8 LUCI CQ, Samuel Groß, v8-re...@googlegroups.com, victorgo...@chromium.org
    Attention needed from Samuel Groß

    Michael Achenbach voted Commit-Queue+2

    Commit-Queue+2
    Open in Gerrit

    Related details

    Attention is currently required from:
    • Samuel Groß
    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: Ibeab8582138a26fd1ff0eeb23639762a2270d46c
    Gerrit-Change-Number: 7651574
    Gerrit-PatchSet: 5
    Gerrit-Owner: Michael Achenbach <mache...@chromium.org>
    Gerrit-Reviewer: Clemens Backes <clem...@chromium.org>
    Gerrit-Reviewer: Michael Achenbach <mache...@chromium.org>
    Gerrit-Reviewer: Samuel Groß <sa...@chromium.org>
    Gerrit-Attention: Samuel Groß <sa...@chromium.org>
    Gerrit-Comment-Date: Tue, 10 Mar 2026 12:30:02 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    open
    diffy

    V8 LUCI CQ (Gerrit)

    unread,
    Mar 10, 2026, 8:34:17 AMMar 10
    to Michael Achenbach, Clemens Backes, Samuel Groß, v8-re...@googlegroups.com, victorgo...@chromium.org

    V8 LUCI CQ submitted the change

    Change information

    Commit message:
    [fuzzing] Add a fallback to load the wasm-module-builder

    This makes it possible to run test cases that lack access to the
    wasm module builder but reference in their code:
    d8.file.execute('test/mjsunit/wasm/wasm-module-builder.js');

    For Clusterfuzz archives, the file is bundled in the build

    directory, assuming that Clusterfuzz runs V8 from the build
    directory.
    Bug: 490084113
    Change-Id: Ibeab8582138a26fd1ff0eeb23639762a2270d46c
    Commit-Queue: Michael Achenbach <mache...@chromium.org>
    Reviewed-by: Clemens Backes <clem...@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#105699}
    Files:
    • M BUILD.gn
    Change size: XS
    Delta: 1 file changed, 8 insertions(+), 0 deletions(-)
    Branch: refs/heads/main
    Submit Requirements:
    • requirement satisfiedCode-Review: +1 by Clemens Backes
    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: Ibeab8582138a26fd1ff0eeb23639762a2270d46c
    Gerrit-Change-Number: 7651574
    Gerrit-PatchSet: 6
    Gerrit-Owner: Michael Achenbach <mache...@chromium.org>
    Gerrit-Reviewer: Clemens Backes <clem...@chromium.org>
    Gerrit-Reviewer: Michael Achenbach <mache...@chromium.org>
    Gerrit-Reviewer: Samuel Groß <sa...@chromium.org>
    open
    diffy
    satisfied_requirement

    Erik Corry (Gerrit)

    unread,
    Mar 10, 2026, 4:00:17 PMMar 10
    to Michael Achenbach, V8 LUCI CQ, Clemens Backes, Samuel Groß, v8-re...@googlegroups.com, victorgo...@chromium.org

    Erik Corry added 1 comment

    Patchset-level comments
    File-level comment, Patchset 6 (Latest):
    Erik Corry . resolved

    This breaks the build for me. Now it just removes the js file from my checkout and then the build fails.

    $ ninja -C out.gn/x64.release
    ninja: Entering directory `out.gn/x64.release'
    [0/1] Regenerating ninja files
    [1132/5216] COPY ../../test/mjsunit/wasm/wasm-module-builder.js test/mjsunit/wasm/wasm-module-builder.js
    FAILED: test/mjsunit/wasm/wasm-module-builder.js
    ln -f ../../test/mjsunit/wasm/wasm-module-builder.js test/mjsunit/wasm/wasm-module-builder.js 2>/dev/null || (rm -rf test/mjsunit/wasm/wasm-module-builder.js && cp -af ../../test/mjsunit/wasm/wasm-module-builder.js test/mjsunit/wasm/wasm-module-builder.js)
    cp: cannot stat '../../test/mjsunit/wasm/wasm-module-builder.js': No such file or directory

    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: Ibeab8582138a26fd1ff0eeb23639762a2270d46c
    Gerrit-Change-Number: 7651574
    Gerrit-PatchSet: 6
    Gerrit-Owner: Michael Achenbach <mache...@chromium.org>
    Gerrit-Reviewer: Clemens Backes <clem...@chromium.org>
    Gerrit-Reviewer: Michael Achenbach <mache...@chromium.org>
    Gerrit-Reviewer: Samuel Groß <sa...@chromium.org>
    Gerrit-CC: Erik Corry <erik...@chromium.org>
    Gerrit-Comment-Date: Tue, 10 Mar 2026 20:00:12 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    open
    diffy

    Michael Achenbach (Gerrit)

    unread,
    Mar 11, 2026, 9:59:06 AMMar 11
    to V8 LUCI CQ, Erik Corry, Clemens Backes, Samuel Groß, v8-re...@googlegroups.com, victorgo...@chromium.org

    Michael Achenbach added 1 comment

    Patchset-level comments
    Erik Corry . resolved

    This breaks the build for me. Now it just removes the js file from my checkout and then the build fails.

    $ ninja -C out.gn/x64.release
    ninja: Entering directory `out.gn/x64.release'
    [0/1] Regenerating ninja files
    [1132/5216] COPY ../../test/mjsunit/wasm/wasm-module-builder.js test/mjsunit/wasm/wasm-module-builder.js
    FAILED: test/mjsunit/wasm/wasm-module-builder.js
    ln -f ../../test/mjsunit/wasm/wasm-module-builder.js test/mjsunit/wasm/wasm-module-builder.js 2>/dev/null || (rm -rf test/mjsunit/wasm/wasm-module-builder.js && cp -af ../../test/mjsunit/wasm/wasm-module-builder.js test/mjsunit/wasm/wasm-module-builder.js)
    cp: cannot stat '../../test/mjsunit/wasm/wasm-module-builder.js': No such file or directory

    Michael Achenbach

    Strange, I don't see that behavior. What GN flags do you use? Is this in connection to this cluster build maybe? In this case, feel free to skip this target behind this GN flag.

    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: Ibeab8582138a26fd1ff0eeb23639762a2270d46c
    Gerrit-Change-Number: 7651574
    Gerrit-PatchSet: 6
    Gerrit-Owner: Michael Achenbach <mache...@chromium.org>
    Gerrit-Reviewer: Clemens Backes <clem...@chromium.org>
    Gerrit-Reviewer: Michael Achenbach <mache...@chromium.org>
    Gerrit-Reviewer: Samuel Groß <sa...@chromium.org>
    Gerrit-CC: Erik Corry <erik...@chromium.org>
    Gerrit-Comment-Date: Wed, 11 Mar 2026 13:59:02 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Erik Corry <erik...@chromium.org>
    satisfied_requirement
    open
    diffy
    Reply all
    Reply to author
    Forward
    0 new messages