Parameterize range_all testcases and harden range-dependent indexing paths#13
Merged
Coursant merged 6 commits intoSymbexpr-Cfrom Apr 8, 2026
Merged
Parameterize range_all testcases and harden range-dependent indexing paths#13Coursant merged 6 commits intoSymbexpr-Cfrom
Coursant merged 6 commits intoSymbexpr-Cfrom
Conversation
Agent-Logs-Url: https://github.com/Coursant/RAP/sessions/83e0a875-c638-46d5-9678-c93261e5ef29 Co-authored-by: Coursant <60531642+Coursant@users.noreply.github.com>
Agent-Logs-Url: https://github.com/Coursant/RAP/sessions/83e0a875-c638-46d5-9678-c93261e5ef29 Co-authored-by: Coursant <60531642+Coursant@users.noreply.github.com>
Agent-Logs-Url: https://github.com/Coursant/RAP/sessions/83e0a875-c638-46d5-9678-c93261e5ef29 Co-authored-by: Coursant <60531642+Coursant@users.noreply.github.com>
Agent-Logs-Url: https://github.com/Coursant/RAP/sessions/f9881dd0-d94d-4ebf-b3f4-a85e90df729b Co-authored-by: Coursant <60531642+Coursant@users.noreply.github.com>
Agent-Logs-Url: https://github.com/Coursant/RAP/sessions/ab84081b-74ec-4903-8394-c79c6a6b3829 Co-authored-by: Coursant <60531642+Coursant@users.noreply.github.com>
Agent-Logs-Url: https://github.com/Coursant/RAP/sessions/ab84081b-74ec-4903-8394-c79c6a6b3829 Co-authored-by: Coursant <60531642+Coursant@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
Coursant
April 8, 2026 11:34
View session
Owner
|
tmp |
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.
This update adjusts the consolidated
range_alltestcase crate to reduce hardcoded inputs and prefer parameter-driven scenarios. It also tightens a few range/index-sensitive paths so testcase behavior remains explicit and safe under variable inputs.Parameterize testcase inputs
Align index domains for dual-array slicing
dual_array_slice_indexing, moved fromy[i]on global indexing to a range-alignedy_slicematchingx[slice_start..slice_end].Add explicit unsafe precondition guards
align_and_reinterpret_slice, added early checks for required byte length and pointer alignment beforefrom_raw_parts_mutreinterpretation.Clarify boundary preconditions in BCE opaque index case
bce_failure_opaque_boundarywhen the opaque index is caller-provided.