Hi
I was trying to see how well DR attach to pid works on Windows. I downloaded the most recent release (DynamoRIO-Windows-9.0.19110) and tried attaching to a program.
I tried a couple of programs: 7zip's benchmark and a simple python program. I ran the 64-bit drrun.exe with the parameters '-attach <pid>'
In either case it crashed immediately with "Out of memory" error (see exact error below). I tried running drrun as administrator and also tried -takeover_sleep with a couple different values but saw the same error. I am running Win10 Enterprise 20H2.
The help message says the feature is still experimental but I was hoping it would work for some of these scenarios. Any thoughts on how well the attach feature is supposed to work on Win10?
Application C:\Program Files\7-Zip\7zG.exe (2928). Out of memory. Program aborted. Source I, type 0x0000000000000001, code 0x00000000c000001c.
Application C:\Python37\python.exe (28572). Out of memory. Program aborted. Source I, type 0x0000000000000001, code 0x00000000c000001c.
Thanks
Prasun