Skip to content
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

Emulation of LODS looks broken #221

Open
kdonev opened this issue Sep 5, 2024 · 1 comment
Open

Emulation of LODS looks broken #221

kdonev opened this issue Sep 5, 2024 · 1 comment

Comments

@kdonev
Copy link

kdonev commented Sep 5, 2024

I am recording trace for time travel debugging. And my program behaves differently when I record the trace and when I debug it normally.

I traced both executions and see that lodsd instruction preserves unused bits of RAX register when recording the trace.
When debug the same program with Visual Studio without recording the trace unused bits of RAX are zeroed.

Release notes for TTD 1.11.410 mention some fix about LODS but it does not look correct.
https://learn.microsoft.com/en-us/windows-hardware/drivers/debuggercmds/time-travel-debugging-release-notes#111410

@KenSykes
Copy link

Thanks for pointing this out. You're right, we did not fix LODSD in 1.11.410, we only fixed LODSB/W unfortunately. We will make a fix for this shortly.

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

No branches or pull requests

2 participants