Hi Andreas, thank you for your reply! Indeed, I would like to test the fuzzer code. The test script collects 37 base tests but produced 0 non-filtered tests.
Is this a right output below and why there is 0 non-filtered tests ? >>> Autodetected: pointer_compression >>> Loading test suite: fuzzer >>> Running tests for x64.release >>> Running with test processors [00:00|% 0|+ 0|- 0]: Done >>> 37 base tests produced 0 (0%) non-filtered tests >>> 0 tests ran Thank you again! 'Andreas Haas' via v8-dev <[email protected]> 于2020年7月22日周三 下午1:26写道: > Hi, > > The v8_simple_wasm_*_fuzzer binaries exist just to reproduce issues found > by libFuzzer <https://llvm.org/docs/LibFuzzer.html>-based fuzzers in > Chromium. These binaries don't produce any output other than crashing or > not crashing. You can take a look at > https://github.com/v8/v8/blob/master/test/fuzzer/README.md#changes-to-chromium > on > how to run the fuzzers in Chromium. > > The tests run by fuzzer/testcfg.py are supposed to test the fuzzer code, > not to start fuzzing itself. > > Cheers, > Andreas > > On Wed, Jul 22, 2020 at 7:01 AM Thomas Young <[email protected]> > wrote: > >> Hi, does v8-team disable fuzzer test as default? >> >> I notice that class TestLoader of fuzzer/testcfg.py extends >> testsuite.GenericTestLoader, so each loaded file will be filtered when we >> execute " *tools/run-tests.py --outdir=out/x64.release fuzzer "* >> >> Could you please tell me how to enable fuzzer test in v8, and why >> TestLoader extends testsuite.GenericTestLoader instead of >> testsuite.TestLoader ? >> >> Thank you very much! >> >> >> 在2017年6月5日星期一 UTC+8 下午6:09:58<[email protected]> 写道: >> >>> The simple fuzzers not really fuzzers but just testing the libfuzzer >>> backends against known inputs. Even if you run them using libfuzzer, they >>> shouldn't output anything - we just test for "not crashing". >>> >>> On Mon, Jun 5, 2017 at 11:51 AM <[email protected]> wrote: >>> >>>> >>>> i want running wasm fuzzer in v8 >>>> >>>> >>>> <https://lh3.googleusercontent.com/-XQR2JTny08Y/WTUn2CppM1I/AAAAAAAAOnk/uQA1Ghno-8sgjnqNsapUmsKFKuyEj7-ZwCLcB/s1600/20170605_184325.png> >>>> >>>> >>>> >>>> I want to run v8_simple_wasm _ ** _ fuzzer. >>>> >>>> So I used the * .wasm file as the <input>. >>>> >>>> But there was no reaction. >>>> >>>> No log was generated, >>>> >>>> No error message is generated. >>>> >>>> >>>> Is it wrong to use a .wasm file as input? >>>> >>>> Should I use a file converted to .js? >>>> >>>> Or do you need a special .wasm file as the input file? >>>> >>>> If my inquiry does not fit here, I apologize if it is wrong. >>>> >>>> If there is a group or site discussing wasm in v8, please let me know. >>>> >>>> >>>> Thank you! >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> -- >>>> -- >>>> 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]. >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> -- >> -- >> 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/75177ec3-1055-4acc-81e4-26329990edb4n%40googlegroups.com >> <https://groups.google.com/d/msgid/v8-dev/75177ec3-1055-4acc-81e4-26329990edb4n%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- > -- > 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/CAELSTvecKZyNPKdAsFeQkOZdCfCR6j2eQ3ONEc38NHyiK%2B463g%40mail.gmail.com > <https://groups.google.com/d/msgid/v8-dev/CAELSTvecKZyNPKdAsFeQkOZdCfCR6j2eQ3ONEc38NHyiK%2B463g%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- -- 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/CAG%3D2e1OkRba06rXSVms87piN190N9dHRf8a2twtB09A77t1KBA%40mail.gmail.com.
