app: pin inspect's dll_flags rendering with unit tests #502
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by AnastasisKon on 2026-11-27T22:22:26Z.
What
apps/victory/src/inspect.rs'sdll_flags(v: u16)renders a PE'sDllCharacteristicsas the parenthesised namesvictory inspectprints. It is pure and untested; a flags-table edit could silently drop or reorder a name.What this changes
Test-only: unit tests pin that no flags render empty, each known flag renders its name, several flags render in the table's fixed order (not bit order), and unknown bits are ignored.
How it was tested
cargo test -p victory(new tests inapps/victory/src/inspect.rs)cargo clippy --workspace --all-targets --locked --target x86_64-pc-windows-gnullvm -- -D warningscargo xtask policyImported from LakshanSivakumar/Native-Victory-macOS. Originally posted by AnastasisKon on 2026-11-27T22:22:28Z.
/claim
Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by github-actions[bot] on 2026-11-27T22:22:39Z.
Claimed by @AnastasisKon. Open a draft pull request with
Refs #502in its description within 24 hours, or the claim expires.Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by AnastasisKon on 2026-11-28T12:47:39Z.
/release - done: PR #503 is merged upstream (2026-11-28T01:57Z). Same reason as #504: the work is on upstream
main, the claim is just stale.Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by github-actions[bot] on 2026-11-28T12:47:47Z.
Released. This issue is free to claim.