Skip to content

Commit 4b76603

Browse files
Dominik KlembaV8-internal LUCI CQ
authored andcommitted
Add Maglev assert types
Add the `--maglev-assert-types` flag to the list of possible flags, with a 10% probability. This flag is enabled only when sandbox-fuzzing is disabled. Change-Id: Ic710d8b6c185af79979b50bb991672e6e1563dd3 Reviewed-on: https://chrome-internal-review.googlesource.com/c/v8/fuzzilli/+/8963977 Reviewed-by: Matthias Liedtke <mliedtke@google.com> Commit-Queue: Dominik Klemba <tacet@google.com> Reviewed-by: Michael Achenbach <machenbach@google.com> Reviewed-by: Marja Hölttä <marja@chromium.org>
1 parent 4ac378c commit 4b76603

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Sources/FuzzilliCli/Profiles/V8CommonProfile.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -931,6 +931,10 @@ public func v8ProcessArgs(randomize: Bool, forSandbox: Bool) -> [String] {
931931
if probability(0.1) {
932932
args.append("--assert-types")
933933
}
934+
if (!args.contains("--no-maglev") || args.contains("--turbolev")) && probability(0.1) {
935+
// TODO(tacet): update the Turbolev conditions to !args.contains("--no-turbolev") after Turbolev trial
936+
args.append("--maglev-assert-types")
937+
}
934938
if probability(0.1) {
935939
args.append("--turboshaft-assert-types")
936940
}

0 commit comments

Comments
 (0)