Skip to content

[DSLX Fuzz testing] Resolve domain expressions referencing constants before#4308

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

[DSLX Fuzz testing] Resolve domain expressions referencing constants before#4308
copybara-service[bot] wants to merge 1 commit into
mainfrom
test_917396387

Conversation

@copybara-service
Copy link
Copy Markdown

[DSLX Fuzz testing] Resolve domain expressions referencing constants before
lowering.

When a fuzz test domain references a constant (e.g. a constant range like
const R = u32:0..u32:100000; #[fuzz_test(domains = R)]), the lowering
logic needs to resolve R to its underlying range expression instead of
evaluating it as a standard constant value (which would expand the range
into an array and consume excessive memory).

…before

lowering.

When a fuzz test domain references a constant (e.g. a constant range like
`const R = u32:0..u32:100000; #[fuzz_test(domains = `R`)]`), the lowering
logic needs to resolve `R` to its underlying range expression instead of
evaluating it as a standard constant value (which would expand the range
into an array and consume excessive memory).

PiperOrigin-RevId: 917396387
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