Repository navigation
fix(native): preserve thin architectures across echoed filename lines - #762
rudycelekli wants to merge 1 commit into
Conversation
Signed-off-by: Rudy Celekli <[email protected]>
|
Reviewed: matching trailing 'is architecture:' before line-splitting correctly handles newlines inside lipo's verbatim-echoed thin-file pathname (greedy match anchors to last occurrence). Fat/universal-slice path untouched, non-matching output falls through to legacy parser. Three adversarial filename cases + universal-slice controls + real lipo cross-check + CLI/MCP agreement cover it. APPROVE. |
Review — APPROVEFixes #760. Summary
Verification
Notes (informational, no action needed)
|
|
Superseded by #815, which integrated this change and has now merged (3af3811). Thanks @rudycelekli for the fix and the thorough verification — much appreciated! |
Summary
Read the complete thin
lipo -detailed_inforecord before splitting output into lines. Native lipo echoes a pathname verbatim; a line break in an ordinary local filename must not become an architecture name. Universal-slice parsing is unchanged.Native evidence and checks
Signed DCO head
726ecbe8749c6d339f9170f9b1788687c7a61efa, freshly rebased onto main82382324855a3a4ed51d2cdc3b2b455c9e8419e2after the Windows extraction and IDA additions. Neither changed file overlaps those additions or the fresh open inventory.lipo -archsindependently reports arm64 for ordinary and newline filenames.inspect-machoreports the pathname fragment as an exhaustive architecture for the newline filename; ordinary filename control succeeds.inspect_machoandlist_architectures, using actual native utilities and the pinned SDK client. No provider runner is substituted.npm run build:cached,npm run check, andnpm run check:fast: pass. Check reports 125 warnings, zero errors; no warnings concern either changed file. Existing exact dependency runtime reused; no install/model download.git diff --check: pass.No contract or package change. This proves macOS native format inspection; it does not claim Hopper, Ghidra, IDA, GUI, Windows, target execution, or full hosted CI coverage. Hosted results will be recorded separately.
AI-assisted implementation and independent source review; signed DCO retained.
Fixes #760.