Disassembler: honor explicit byte ranges #27

Merged
BBareth merged 1 commit from upstream-pr/28 into main 2026-11-22 12:52:41 +00:00
BBareth commented 2026-11-22 00:28:02 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by BBareth on 2026-11-22T00:28:02Z.


Uses offset zero when --length is supplied alone and rejects missing or invalid numeric values for --offset and --length. This makes an explicit range select raw decoding consistently.

Validation

  • CLI regression passed on Windows GNU under Wine. It covers a length-only range, hexadecimal offset and length, and errors for missing or malformed values.
<!-- greyfinch-sync:ivall/xcl:issue:6536329081 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/28). Originally posted by [BBareth](https://github.com/BBareth) on 2026-11-22T00:28:02Z. --- Uses offset zero when `--length` is supplied alone and rejects missing or invalid numeric values for `--offset` and `--length`. This makes an explicit range select raw decoding consistently. ## Validation - CLI regression passed on Windows GNU under Wine. It covers a length-only range, hexadecimal offset and length, and errors for missing or malformed values.
upstream-sync closed this pull request 2026-11-24 06:56:49 +00:00
ivall commented 2026-11-24 07:00:18 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by ivall on 2026-11-22T12:53:01Z.


Merged, thanks. Checked locally on Windows (MSVC): unit tests and the e2e tests, including the new one, pass.

<!-- greyfinch-sync:ivall/xcl:comment:7079417818 --> Imported from [ivall/xcl](https://github.com/ivall/xcl/pull/28#issuecomment-7079417818). Originally posted by [ivall](https://github.com/ivall) on 2026-11-22T12:53:01Z. --- Merged, thanks. Checked locally on Windows (MSVC): unit tests and the e2e tests, including the new one, pass.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
xcl-dev/xcl!27
No description provided.