how to ouput data to a file in d8?

100 views
Skip to first unread message

revew

unread,
Sep 19, 2024, 6:33:52 AM9/19/24
to v8-dev
Hi, I only know d8.file.execute api, is there any api which can output file?

Camillo Bruni

unread,
Sep 19, 2024, 9:20:52 AM9/19/24
to v8-...@googlegroups.com
There's the `writeFile` 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 <brucej...@gmail.com> wrote:
Hi, I only know d8.file.execute api, is there any api which can output file?

--
--
v8-dev mailing list
v8-...@googlegroups.com
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 v8-dev+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/v8-dev/818a9c69-10b5-46fb-935f-fc64b848652cn%40googlegroups.com.
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.

revew

unread,
Sep 19, 2024, 9:52:48 AM9/19/24
to v8-dev
Thanks.

revew

unread,
Sep 19, 2024, 10:03:42 AM9/19/24
to v8-dev
BTW, the code is 
```
if (!i::v8_flags.fuzzing) {
}
```
which is enabling `writeFile` by default, don't enable for fuzzing.

On Thursday, September 19, 2024 at 9:20:52 PM UTC+8 cbr...@chromium.org wrote:

Camillo Bruni

unread,
Sep 19, 2024, 10:26:43 AM9/19/24
to v8-...@googlegroups.com
ah sorry, you're right.

guest271314

unread,
Sep 19, 2024, 3:34:11 PM9/19/24
to v8-...@googlegroups.com

writeFile works in js world. so does is.system()


Reply all
Reply to author
Forward
0 new messages