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

Code reproduction #1

Open
SKalt opened this issue Jul 3, 2019 · 0 comments
Open

Code reproduction #1

SKalt opened this issue Jul 3, 2019 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@SKalt
Copy link
Owner

SKalt commented Jul 3, 2019

inspiration from a presentation on fuzzing redux.
Each test harness (while (/**/) { try {/**/} catch(e) {/**/} }) should be able to create a minimal testcase from a generated errror. The output should be a string, so it can be written to stdout/stderr/a file.

testfunc.toString() is an attractive strategy for implementation, but seems brittle. I'm certain if the code gets minified f.toString will be unintelligible. I don't know how it will work with high-order functions. Writing each action of the array to replay as functions seems like a memory leak waiting to happen.

The easy way out is requiring each instance of Monkey to have a method that serializes each action.

Bonus points if you manage to eliminate unneccessaray left-padding.

@SKalt SKalt added the enhancement New feature or request label Jul 3, 2019
@SKalt SKalt added this to the 1.0.0 milestone Jul 3, 2019
@SKalt SKalt self-assigned this Jul 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant