Skip to content

Commit 6c37c6e

Browse files
LiedtkeV8-internal LUCI CQ
authored andcommitted
[v8] Fix Sandbox fuzzer
I accidentally dropped the --sandbox-fuzzing flag in commit 5966bb0. Change-Id: I753bf5ba49dd422b0955dc1beaf8ce176e878a0d Reviewed-on: https://chrome-internal-review.googlesource.com/c/v8/fuzzilli/+/8741378 Auto-Submit: Matthias Liedtke <mliedtke@google.com> Reviewed-by: Danylo Mocherniuk <mdanylo@google.com> Commit-Queue: Danylo Mocherniuk <mdanylo@google.com>
1 parent 731e011 commit 6c37c6e

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

Sources/FuzzilliCli/Profiles/V8CommonProfile.swift

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -671,6 +671,11 @@ public func v8ProcessArgs(randomize: Bool, forSandbox: Bool) -> [String] {
671671
"--expose-fast-api",
672672
"--wasm-test-streaming", // WebAssembly.compileStreaming & WebAssembly.instantiateStreaming()
673673
]
674+
if forSandbox {
675+
args.append("--sandbox-fuzzing")
676+
// This is so that we get an ASan splat directly in the reproducer file.
677+
args.append("--disable-in-process-stack-traces")
678+
}
674679

675680
guard randomize else { return args }
676681

0 commit comments

Comments
 (0)