Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ES6 fuzzing #21

Open
RReverser opened this issue Jul 31, 2015 · 7 comments
Open

ES6 fuzzing #21

RReverser opened this issue Jul 31, 2015 · 7 comments

Comments

@RReverser
Copy link
Member

Now that ES6 is standardized, it would be awesome to be able to test tools by fuzzing ES6 code.

@vendethiel
Copy link

Isn't that the --es6 option?

@RReverser
Copy link
Member Author

It is, but repo was last updated a year ago, and a lot has changes since then both in ES spec and AST representations (we cleaned up and defined a lot of stuff in ESTree couple of months ago which fuzzer doesn't cover at the moment).

@vendethiel
Copy link

Fair enough, sorry :).

@RReverser
Copy link
Member Author

Yeah, sorry for not being precise enough in the first place :)

@RReverser
Copy link
Member Author

Moreover - I might be wrong, but from code looks like option is just ignored at the moment.

@michaelficarra
Copy link
Member

Yeah, I think it's ignored right now. PRs welcome of course, but I would strongly prefer a spec driven implementation over the current hand written one so that it is easy to track spec updates in the future. Relatedly, I will be releasing the Shift fuzzer within the next few days.

@RReverser
Copy link
Member Author

Definitely, a spec driven would be awesome. We even have estree-formal package that could be theoretically used for that (although syntactic generation like various types of number literals, valid regular expressions etc. are not covered by it obviously).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants