diff --git a/Sources/FuzzilliCli/Profiles/V8HoleFuzzingProfile.swift b/Sources/FuzzilliCli/Profiles/V8HoleFuzzingProfile.swift index 29c41234a..e15adbff1 100644 --- a/Sources/FuzzilliCli/Profiles/V8HoleFuzzingProfile.swift +++ b/Sources/FuzzilliCli/Profiles/V8HoleFuzzingProfile.swift @@ -94,6 +94,9 @@ let v8HoleFuzzingProfile = Profile( ("fuzzilli('FUZZILLI_CRASH', 0)", .shouldCrash), ("fuzzilli('FUZZILLI_CRASH', 7)", .shouldCrash), + // Check that DEBUG is not defined. + ("fuzzilli('FUZZILLI_CRASH', 8)", .shouldNotCrash), + // DCHECK and CHECK failures should be ignored. ("fuzzilli('FUZZILLI_CRASH', 1)", .shouldNotCrash), ("fuzzilli('FUZZILLI_CRASH', 2)", .shouldNotCrash), diff --git a/Sources/FuzzilliCli/Profiles/V8Profile.swift b/Sources/FuzzilliCli/Profiles/V8Profile.swift index 402d728c4..35e8c2680 100644 --- a/Sources/FuzzilliCli/Profiles/V8Profile.swift +++ b/Sources/FuzzilliCli/Profiles/V8Profile.swift @@ -584,6 +584,8 @@ let v8Profile = Profile( ("fuzzilli('FUZZILLI_CRASH', 2)", .shouldCrash), // Wild-write ("fuzzilli('FUZZILLI_CRASH', 3)", .shouldCrash), + // Check that DEBUG is defined. + ("fuzzilli('FUZZILLI_CRASH', 8)", .shouldCrash), // TODO we could try to check that OOM crashes are ignored here ( with.shouldNotCrash). ],