Skip to content

Fix external global variables on replay - #146

Open
ZwFink wants to merge 6 commits into
developfrom
fix/foreign-device-global-replay
Open

Fix external global variables on replay#146
ZwFink wants to merge 6 commits into
developfrom
fix/foreign-device-global-replay

Conversation

@ZwFink

@ZwFink ZwFink commented Apr 28, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

@ZwFink
ZwFink force-pushed the fix/foreign-device-global-replay branch 2 times, most recently from 01f36ad to e010e07 Compare April 28, 2026 20:00
@codecov

codecov Bot commented Apr 28, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

ZwFink added 6 commits April 28, 2026 16:04
The prologue parser jumped from blob metadata directly to NumPointerOffsets,
ignoring the NumArgs / per-arg data section that sits between them.
For test_device_global_as_arg this caused NumArgs (=2) to be misread as
NumPointerOffsets, making the CHECK-RR line see "PointerOffsets: 2" instead
of the actual 1 stored in the .mneme snapshot.
The method was removed from proteus::BinaryInfo in Proteus v2026.03.0;
VarNameToGlobalInfo is now populated eagerly via insertGlobalVar() and
no explicit mapping step is required.
@ZwFink
ZwFink force-pushed the fix/foreign-device-global-replay branch from e010e07 to accd637 Compare April 28, 2026 23:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant