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

Upstream sync: re_is_anchored and a few more misc. changes #31

Merged
merged 11 commits into from
Oct 12, 2024

Conversation

silentbicycle
Copy link

Going back and forth between upstream and here. I will update #29 and #30 to include this.

silentbicycle and others added 11 commits October 10, 2024 09:09
This works, but we may want to make some naming changes. I'd prefer to
use a struct rather than a single parameter here -- as long as other
fields have a sensible default when zeroed, the callers will only need
to make the interface change once.
Temporary interface: Add fsm_determinise_with_config.
There isn't a flag to set the seed in fsm or re yet.

Update callers, add a 0 seed argument to default to the
existing behavior.

Also, no end states means nothing to do, so exit right away.
It fills up the fuzzer logs with lots of uninteresting output.
Instead of taking a seed argument, just treat `int randomized`
like a flag. (I'd use `bool`, but the header consistently uses
`int` for boolean arguments.)
…misc-fixes

Randomized generation and misc. fixes
@silentbicycle silentbicycle marked this pull request as ready for review October 12, 2024 16:37
@silentbicycle
Copy link
Author

I must have bumped creating this as a draft, it was meant to be ready for review.

@silentbicycle silentbicycle merged commit 592b613 into main Oct 12, 2024
349 checks passed
@silentbicycle silentbicycle deleted the sv/upstream-sync-re-is-anchored branch October 12, 2024 17:43
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