Skip to content

Commit b5a499f

Browse files
omerktzV8-internal LUCI CQ
authored andcommitted
[v8] Add scavenger chaos mode to Fuzzilli
Bug: 450045070 Change-Id: I6bf07aa3b854e703b0b199939e8e9018a1ef00a7 Reviewed-on: https://chrome-internal-review.googlesource.com/c/v8/fuzzilli/+/8690756 Reviewed-by: Matthias Liedtke <mliedtke@google.com> Commit-Queue: Omer Katz <omerkatz@google.com>
1 parent c2f3b9c commit b5a499f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Sources/FuzzilliCli/Profiles/V8Profile.swift

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,12 @@ let v8Profile = Profile(
127127
args.append("--handle-weak-ref-weakly-in-minor-gc")
128128
}
129129

130+
if probability(0.1) {
131+
args.append("--scavenger-chaos-mode")
132+
let threshold = Int.random(in: 0...100)
133+
args.append("--scavenger-chaos-mode-threshold=\(threshold)")
134+
}
135+
130136
if probability(0.1) {
131137
let stackSize = Int.random(in: 54...863)
132138
args.append("--stack-size=\(stackSize)")

0 commit comments

Comments
 (0)