You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Convert SerializeDeserializeGenerator to a ProgramTemplate
... as that feels like the slightly more natural choice for what it is
attempting to achieve (it's essentially a "mini-fuzzer" targeting the
value serializer in V8).
let _ = b.callMethod("deserialize", on: serializer, withArgs:[content])
308
+
309
+
// Generate some more random code to (hopefully) use the deserialized objects in some interesting way.
310
+
b.build(n:10)
311
+
}
312
+
307
313
// This template fuzzes the RegExp engine.
308
314
// It finds bugs like: crbug.com/1437346 and crbug.com/1439691.
309
-
fileprivateletRegExpFuzzerTemplate=ProgramTemplate("RegExpFuzzerTemplate"){ b in
315
+
fileprivateletRegExpFuzzer=ProgramTemplate("RegExpFuzzer"){ b in
310
316
// Taken from: https://source.chromium.org/chromium/chromium/src/+/refs/heads/main:v8/test/fuzzer/regexp-builtins.cc;l=212;drc=a61b95c63b0b75c1cfe872d9c8cdf927c226046e
0 commit comments