DynamoRIO / dynamorio

Dynamic Instrumentation Tool Platform
Other
2.57k stars 551 forks source link

i#6599: Relax WOW64 drmemtrace syscall invariant #6732

Closed derekbruening closed 3 months ago

derekbruening commented 3 months ago

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