hw_oracle/asm: strip leading whitespace in literals() and skip_reason() #479

Manually merged
github merged 1 commit from gh-pr/479/head into gh-pr/479/base 2026-11-26 09:03:01 +00:00
Owner

@⁠kotekompotek on GitHub · 2026-11-24 06:07 UTC · original
kotekompotek:work/hw-oracle-asm-strip-lines → main · +30 −3 · 2 files · 1 commits · merged 2026-11-24 06:59 UTC

Strips leading/trailing whitespace before parsing opcodes in literals() and skip_reason() so indented SALU lines are checked. Verified with pytest: 1 passed.

**@⁠kotekompotek** on GitHub · 2026-11-24 06:07 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/479) `kotekompotek:work/hw-oracle-asm-strip-lines` → `main` · +30 −3 · 2 files · 1 commits · merged 2026-11-24 06:59 UTC Strips leading/trailing whitespace before parsing opcodes in literals() and skip_reason() so indented SALU lines are checked. Verified with pytest: 1 passed.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 09:02:59 +00:00
github manually merged commit 0b2d8399d1 into gh-pr/479/base 2026-11-26 09:03:01 +00:00
Author
Owner

@⁠QemmHD on GitHub · 2026-11-24 06:59 UTC · original

Merging. Why merged: indented SALU lines are now parsed for literals and removed opcodes.
Why it's good: security-reviewed; tested on Windows 11 merged onto main c023a36: the new regression test fails on main and passes here; test_hw_oracle's 59 tests still pass.

AI-assisted (Claude Code, Claude Opus 5.5).

**@⁠QemmHD** on GitHub · 2026-11-24 06:59 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/479#issuecomment-7124497871) Merging. Why merged: indented SALU lines are now parsed for literals and removed opcodes. Why it's good: security-reviewed; tested on Windows 11 merged onto main c023a36: the new regression test fails on main and passes here; test_hw_oracle's 59 tests still pass. AI-assisted (Claude Code, Claude Opus 5.5).
This discussion has been locked. Commenting is limited to contributors.
No description provided.