Skip to content

Add 64-bit-wide peeking and watches #4355

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Add 64-bit-wide peeking and watches #4355

wants to merge 5 commits into from

Conversation

YoshiRulz
Copy link
Member

Untested. I just wanted to know precisely what changes would be required for this feature.

resolves #4353

@YoshiRulz YoshiRulz changed the title 64bit peek Add 64-bit-wide peeking and watches Jun 14, 2025
{
_type = WatchDisplayType.Unsigned;
_type = validTypes.Count is 0 ? WatchDisplayType.Unsigned : validTypes[1];
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo? Should be validTypes[0] instead? Also the above switch should probably include WatchSize.QWord now.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

gdi Lua rewiring my brain

if (_settings.CheckMisAligned)
var addr = watch.Address;
yield return addr;
if (_settings.CheckMisAligned) continue; // I guess we're assuming the other parts of the address are also in `_watchList`? --yoshi
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right... if you have a better idea for how to implement this in a simple way without getting duplicates feel free to do that here.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Caller can Distinct(), but I didn't bother looking for where the caller(s) are.

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.

Add 64-bit reads/writes to tools that manipulate memory
2 participants