Skip to content

[DSLX Fuzz testing] Support arbitrary wide bits in fuzz test struct domains to prevent generator crashes. Fixes a Python TypeError crash in the JIT wrapper generator when serializing wide-bits struct fields with non-arbitrary domains.#4328

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

Conversation

@copybara-service
Copy link
Copy Markdown

[DSLX Fuzz testing] Support arbitrary wide bits in fuzz test struct domains to prevent generator crashes. Fixes a Python TypeError crash in the JIT wrapper generator when serializing wide-bits struct fields with non-arbitrary domains.

Implement JIT generator support for arbitrary wide bits (>64 bits) by mapping them to xls::Value and generating FuzzTest byte-array mapping domains. This resolves a generator crash when handling structs containing wide bits (e.g. uN[128]) with non-arbitrary struct domains.

…omains to prevent generator crashes. Fixes a Python TypeError crash in the JIT wrapper generator when serializing wide-bits struct fields with non-arbitrary domains.

Implement JIT generator support for arbitrary wide bits (>64 bits) by mapping them to `xls::Value` and generating FuzzTest byte-array mapping domains. This resolves a generator crash when handling structs containing wide bits (e.g. `uN[128]`) with non-arbitrary struct domains.

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