I'm trying to reverse an application that is using a DLL that i'm interested in.
I can properly disassemble the application itself with DnSpy, as it is a .Net application, and I can disassemble the used DLL with IDA, as it's a native C shared library.
I am using x64dbg as a debugger, and i would like to see the interactions between the application and the DLL. I can properly break on the DLL by loading the .Net app into x64Dbg, and waiting for a DLL call, and it's fine.
But the fact that x64dbg does not support .Net syntax make it very weird to play with when the flow came back from the DLL to the application, and i would like to do the following:
Use the DnSpy build-in debugger to see what's going on on a high level with the .Net application.
And use x64dbg attached to the DLL to take a look at it whenever it is call by the application.
But i can't manage to do that, since the root process (the .Net application) cannot be debugged by two debugger at the same time.
How can i setup x64dbg to intercept the DLL without attaching it to the .Net process ?
Is it even possible to do that ?
Or maybe I'm unaware of some magic tools that would help me ?
Any idea ?
Thanks :)