Skip to content

[DSLX fuzz tests] Fix an issue with arbitrary enumerations domains: previously#4246

Draft
copybara-service[bot] wants to merge 1 commit into
mainfrom
test_914385813
Draft

[DSLX fuzz tests] Fix an issue with arbitrary enumerations domains: previously#4246
copybara-service[bot] wants to merge 1 commit into
mainfrom
test_914385813

Conversation

@copybara-service
Copy link
Copy Markdown

[DSLX fuzz tests] Fix an issue with arbitrary enumerations domains: previously
it was converting them to a range of their full bits values, but this is
wrong if there are any "gaps" in the values.

Instead, it tracks each parameter (and tuple element) type and if it's an
enumeration and its fuzz test domain is "arbitary", builds an
ElementOf domain with all the enum values.

…reviously

it was converting them to a range of their full bits values, but this is
wrong if there are any "gaps" in the values.

Instead, it tracks each parameter (and tuple element) type and if it's an
enumeration *and* its fuzz test domain is "arbitary", builds an
ElementOf domain with all the enum values.

PiperOrigin-RevId: 914385813
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.

1 participant