Note though that the "simple" fuzzers you can compile in V8 do not have libfuzzer support. They can only run already-generated inputs.
Libfuzzer is only supported in a chromium checkout. You can build the v8 fuzzers like "v8_wasm_code_fuzzer" or "v8_wasm_compile_fuzzer" there. On Wed, Oct 25, 2023 at 4:58 PM 'Matthias Liedtke' via v8-dev < v8-dev@googlegroups.com> wrote: > Hi, > > Assuming that you use the v8 repository (not chromium, targets might be > slightly different there): > You should be able to build it with *autoninja -C out/fuzz > v8_simple_wasm_code_fuzzer* > > Best regards, > Matthias > > On Wed, Oct 25, 2023 at 4:41 PM u areu <wh0tl...@gmail.com> wrote: > >> Hi, I'm following >> https://source.chromium.org/chromium/chromium/src/+/main:v8/test/fuzzer/ >> try to build wasm_code fuzzer. >> I can run >> ` >> ninja -C out/fuzz wasm_code_fuzzer >> ` >> but only generated wasm-code.o, no executable binary. >> Is there any missing? Even I add `use_libfuzzer=true` to args.gn. >> >> >> -- >> -- >> v8-dev mailing list >> v8-dev@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+unsubscr...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/v8-dev/f2b832e4-cc9e-414b-a815-8263d7a31ec6n%40googlegroups.com >> <https://groups.google.com/d/msgid/v8-dev/f2b832e4-cc9e-414b-a815-8263d7a31ec6n%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > > > -- > > Matthias Liedtke > > Software Engineer > > mlied...@google.com > > Google Germany GmbH > > Erika-Mann-Straße 33 > > 80636 München > > Geschäftsführer: Paul Manicle, Liana Sebastian > > Registergericht und -nummer: Hamburg, HRB 86891 > > Sitz der Gesellschaft: Hamburg > > Diese E-Mail ist vertraulich. Falls Sie 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 > v8-dev@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+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/v8-dev/CACx9iAN2tPHm%2B-OgxLDp0_mpuVy2FpmvmCxj%3DU-8o%3DPLfhi28w%40mail.gmail.com > <https://groups.google.com/d/msgid/v8-dev/CACx9iAN2tPHm%2B-OgxLDp0_mpuVy2FpmvmCxj%3DU-8o%3DPLfhi28w%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- Clemens Backes Software Engineer cleme...@google.com Google Germany GmbH Erika-Mann-Straße 33 80636 München Geschäftsführer: Paul Manicle, Liana Sebastian Registergericht und -nummer: Hamburg, HRB 86891 Sitz der Gesellschaft: Hamburg Diese E-Mail ist vertraulich. Falls sie 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 v8-dev@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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/v8-dev/CAGO%3DqhC7siJjuk2%2BK9Fmye4YLG985Cr%3DzfvBbSVg5ZvyzS%2BRCA%40mail.gmail.com.