Repository navigation
Harden assembler, IR, and ELF validation; remove NASM dependency - #131
Merged
Merged
Conversation
This was referenced Sep 22, 2026
This was referenced Sep 22, 2026
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.
Summary
Malformed assembly and invalid IR/object structures could be accepted silently, producing incorrect code or ELF output. Reject these inputs with diagnostics, support valid
r12SIB indices, and restore coverage across all workspace crates and feature configurations.r12coverage.Adds 21 regression tests and updates the assembler CLI documentation and contributor commands.
Validation
cargo test --workspace --locked --offline— 35 passed.cargo test --workspace --all-features --locked --offline— 40 passed.cargo build --workspace --all-features --locked --offline— passed.git diff --check— passed.rustfmt --check.cargo fmt --all -- --checkstill fails on pre-existing repository formatting. The unchanged base commit also fails this check; unrelated formatting was left out of this change.The NASM-specific acceptance items in #26 and #79 are superseded by removing that dependency; byte-level regression tests and both Cargo feature configurations remain in place.
Fixes #13
Fixes #26
Fixes #27
Fixes #28
Fixes #29
Fixes #30
Fixes #31
Fixes #44
Fixes #45
Fixes #57
Fixes #58
Fixes #79