You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Require a closing bracket for memory operands at end of input #28
assemblerAssembly syntax, encoding, symbols and relocations.bugSomething isn't workinggood first issueGood for newcomersneeds testingRequires focused correctness or coverage validation.priority mediumNormal development backlog priority.
Reproduced: a file ending immediately after mov rax, [rbx is accepted and generates an object. The parser exits its loop at EOF without recording whether ] was consumed.
Reproduction
On Linux x86_64 (Rust 1.96.0), save as repro.asm:
section .textmovrax,[rbx
Run cargo run -- asm --amd64 repro.asm -o repro.o.
Observed exit status: 0.
Wrote 456 bytes to repro.o
Scope
Difficulty: easy.
Track completion of the memory operand and return a positioned parser error when EOF arrives first.
Completion criteria
The reproducer fails with a missing closing bracket diagnostic.
A correctly closed operand works with and without a trailing newline.
The regression covers the exact EOF case.
Backlog index: #12. This issue owns only the bounded work described above.
assemblerAssembly syntax, encoding, symbols and relocations.bugSomething isn't workinggood first issueGood for newcomersneeds testingRequires focused correctness or coverage validation.priority mediumNormal development backlog priority.
Activity