BTW, the code is ``` if (!i::v8_flags <https://source.chromium.org/chromium/chromium/src/+/main:v8/src/flags/flags.cc;drc=a150b50c0ff706af12c449c7fccd3cf2745e2061;l=38> .fuzzing <https://source.chromium.org/chromium/chromium/src/+/main:v8/src/flags/flag-definitions.h;drc=a150b50c0ff706af12c449c7fccd3cf2745e2061;l=2755>) { global_template <https://source.chromium.org/chromium/chromium/src/+/main:v8/src/d8/d8.cc;drc=a150b50c0ff706af12c449c7fccd3cf2745e2061;l=3695> -> <https://source.chromium.org/chromium/chromium/src/+/main:v8/include/v8-local-handle.h;drc=a150b50c0ff706af12c449c7fccd3cf2745e2061;l=270> Set <https://source.chromium.org/chromium/chromium/src/+/main:v8/include/v8-template.h;drc=a150b50c0ff706af12c449c7fccd3cf2745e2061;l=1100> (isolate <https://source.chromium.org/chromium/chromium/src/+/main:v8/src/d8/d8.cc;drc=a150b50c0ff706af12c449c7fccd3cf2745e2061;l=3694>, "writeFile", FunctionTemplate <https://source.chromium.org/chromium/chromium/src/+/main:v8/include/v8-template.h;drc=a150b50c0ff706af12c449c7fccd3cf2745e2061;l=570> ::New <https://source.chromium.org/chromium/chromium/src/+/main:v8/src/api/api.cc;drc=a150b50c0ff706af12c449c7fccd3cf2745e2061;l=1283> (isolate <https://source.chromium.org/chromium/chromium/src/+/main:v8/src/d8/d8.cc;drc=a150b50c0ff706af12c449c7fccd3cf2745e2061;l=3694>, WriteFile <https://source.chromium.org/chromium/chromium/src/+/main:v8/src/d8/d8.cc;drc=a150b50c0ff706af12c449c7fccd3cf2745e2061;l=2801>));
} ``` which is enabling `writeFile` by default, don't enable for fuzzing. On Thursday, September 19, 2024 at 9:20:52 PM UTC+8 [email protected] wrote: > There's the `writeFile > <https://source.chromium.org/chromium/chromium/src/+/main:v8/src/d8/d8.cc;drc=fbb9dffab10c319dc11c41616d6b424756bd3e6e;l=3707>` > > that is used for fuzzing only. We don't plan on enabling that by default > though. > > On Thu, 19 Sept 2024 at 12:33, revew <[email protected]> wrote: > >> Hi, I only know d8.file.execute api, is there any api which can output >> file? >> >> -- >> -- >> v8-dev mailing list >> [email protected] >> http://groups.google.com/group/v8-dev >> --- >> You received this message because you are subscribed to the Google Groups >> "v8-dev" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/v8-dev/818a9c69-10b5-46fb-935f-fc64b848652cn%40googlegroups.com >> >> <https://groups.google.com/d/msgid/v8-dev/818a9c69-10b5-46fb-935f-fc64b848652cn%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > Camillo Bruni | Software Engineer, V8 | Google Germany GmbH | Erika-Mann > Str. 33, 80636 München > > Registergericht und -nummer: Hamburg, HRB 86891 | Sitz der Gesellschaft: > Hamburg | Geschäftsführer: Paul Manicle, Halimah DeLaine Prado > > Diese E-Mail ist vertraulich. Falls Ssie diese fälschlicherweise erhalten > haben sollten, leiten Sie diese bitte nicht an jemand anderes weiter, > löschen Sie alle Kopien und Anhänge davon und lassen Sie mich bitte wissen, > dass die E-Mail an die falsche Person gesendet wurde. This e-mail is > confidential. If you received this communication by mistake, please don't > forward it to anyone else, please erase all copies and attachments, and > please let me know that it has gone to the wrong person. > -- -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev --- You received this message because you are subscribed to the Google Groups "v8-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/v8-dev/95dccc89-ea2c-4fd4-90ae-d8bcd26950a5n%40googlegroups.com.
