Repository navigation
fix(sv)!: read heap strings in formatted scans - #2076
Merged
mergify[bot] merged 1 commit intoOct 25, 2026
Merged
mergify[bot] merged 1 commit into
mergify[bot] merged 1 commit into
Conversation
This was referenced Oct 25, 2026
Contributor
Author
|
This pull request is part of a Mergify stack:
|
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
tignear
force-pushed
the
stack/tignear/fix/sv-tests-preprocessing/read-heap-strings-formatted-scans--982978c1
branch
from
October 25, 2026 20:55
3c3ca26 to
e187e5e
Compare
tignear
force-pushed
the
stack/tignear/fix/sv-tests-preprocessing/validate-enum-initializer-declarations--71ba3443
branch
from
October 25, 2026 20:55
bbd167c to
4082ff4
Compare
Contributor
Author
Revision history
|
$sscanf read string handles as packed bytes, so a string source such as "1234" failed to populate its integer destination. Carry ValueKind in host request operands and use it for both GC roots and host string resolution. Support string expressions for the source and for $sscanf/$fscanf formats while retaining packed input behavior (IEEE 1800-2023 21.3.4.3). Add shared regressions for discarded returns, temporary strings, dynamic formats and empty input. Update the affected sv-tests case in both modes. Version the native image container at 38 and reject old images before postcard decoding; test both new scan cases through native-image roundtrips. Validation: 30 shared scan backend tests, 8 API tests, 2 metadata tests, 5 configurations of the final temporary-string case, native-image roundtrip and old-version rejection, Clippy and fmt. Verilator and Icarus each pass the string-source case. The dynamic-format case is a documented external limitation: Verilator rejects it and Icarus crashes even with a variable-only format. Keep it enabled for Celox and retain the observed external evidence. Full release-driver sv-tests validation runs in CI as requested. BREAKING CHANGE: HostRequestValue requires value_kind in Rust struct literals. Native program images from container version 37 and earlier must be rebuilt. Change-Id: I982978c1d365c983441526595dd3cb454cae718a
tignear
force-pushed
the
stack/tignear/fix/sv-tests-preprocessing/validate-enum-initializer-declarations--71ba3443
branch
from
October 25, 2026 21:46
4082ff4 to
728b37d
Compare
tignear
force-pushed
the
stack/tignear/fix/sv-tests-preprocessing/read-heap-strings-formatted-scans--982978c1
branch
from
October 25, 2026 21:46
e187e5e to
5cc033c
Compare
Contributor
|
Queued — the merge queue status continues in this comment ↓. |
Contributor
Merge Queue Status
This pull request spent 26 minutes 24 seconds in the queue, including 23 minutes 8 seconds running CI. Required conditions to merge
|
43 of 73 tasks
Base automatically changed from
stack/tignear/fix/sv-tests-preprocessing/validate-enum-initializer-declarations--71ba3443
to
master
October 25, 2026 22:45
mergify
Bot
deleted the
stack/tignear/fix/sv-tests-preprocessing/read-heap-strings-formatted-scans--982978c1
branch
October 25, 2026 22:46
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
$sscanf read string handles as packed bytes, so a string source such as
"1234" failed to populate its integer destination. Carry ValueKind in host
request operands and use it for both GC roots and host string resolution.
Support string expressions for the source and for $sscanf/$fscanf formats
while retaining packed input behavior (IEEE 1800-2023 21.3.4.3).
Add shared regressions for discarded returns, temporary strings, dynamic
formats and empty input. Update the affected sv-tests case in both modes.
Version the native image container at 38 and reject old images before
postcard decoding; test both new scan cases through native-image roundtrips.
Validation: 30 shared scan backend tests, 8 API tests, 2 metadata tests,
5 configurations of the final temporary-string case, native-image roundtrip
and old-version rejection, Clippy and fmt. Verilator and Icarus each pass
the string-source case. The dynamic-format case is a documented external
limitation: Verilator rejects it and Icarus crashes even with a variable-only
format. Keep it enabled for Celox and retain the observed external evidence.
Full release-driver sv-tests validation runs in CI as requested.
BREAKING CHANGE: HostRequestValue requires value_kind in Rust struct literals.
Native program images from container version 37 and earlier must be rebuilt.
Depends-On: #2075