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

Add structured fuzzer based on boa #1

Merged
merged 3 commits into from
Mar 4, 2023
Merged

Add structured fuzzer based on boa #1

merged 3 commits into from
Mar 4, 2023

Conversation

addisoncrump
Copy link

No description provided.

@addisoncrump
Copy link
Author

oh, yuck, tabs vs spaces

let out_path = Path::new(&std::env::var("OUT_DIR")?).join("common.rs");
let mut out = File::create(out_path)?;
reqwest::blocking::get(
"https://raw.githubusercontent.com/boa-dev/boa/main/fuzz/fuzz_targets/common.rs",
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this request on every build? Will this get rate-limited?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, only when the build stage hasn't been run already.


[[bin]]
name = "structured"
path = "fuzz_targets/structured.rs"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe this can be statements-structured.rs?

i'm not sure how to name this, but I named structured.rs based off of ../tests/structured.rs

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your choice 🙂

@jasikpark jasikpark merged commit 702800f into jasikpark:add-a-parser-fuzzer Mar 4, 2023
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

Successfully merging this pull request may close these issues.

2 participants