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

i#6599: Relax WOW64 drmemtrace syscall invariant #6732

Merged
merged 3 commits into from
Mar 27, 2024

Conversation

derekbruening
Copy link
Contributor

@derekbruening derekbruening commented Mar 26, 2024

Relaxes a drmemtrace syscall invariant for WOW64 where raw2trace delays the "syscall" call across the 2nd set of timestamp;cpuid markers, breaking the drmemtrace invariant checker.

A full solution requires #5949 to actually identify the syscall as such: the relaxations for this and prior changes are marked under that issue and will be removed when it is addressed, so we can consider #6599 closed.

Tested manually on WOW64 where the tool.record_filter and tool.record_filter_bycore_uni tests fail reliably without this fix and pass with it.

Issue: #5949, #6599
Fixes #6599

Relaxes a drmemtrace syscall invariant for WOW64 where raw2trace
delays the "syscall" call across the 2nd set of timestamp;cpuid
markers, breaking the drmemtrace invariant checker.

A full solution requires #5949 to actually identify the syscall as
such: the relaxations for this and prior changes are marked under that
issue and will be removed when it is addressed, so we can consider

Issue: #5949, $6599
Fixes #6599
@derekbruening derekbruening requested review from xdje42 and ivankyluk and removed request for xdje42 March 26, 2024 22:19
@derekbruening derekbruening merged commit c123107 into master Mar 27, 2024
16 checks passed
@derekbruening derekbruening deleted the i6599-wow64-syscall-delayed branch March 27, 2024 15:25
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.

Invariant failure "Syscall marker not preceded by timestamp + cpuid" on win32
2 participants