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
Inject managed DLL #273
Comments
Maybe you should try to write a loader that will run the target program and your DLL using Assembly.Load? |
Thank you for your valuable(?) response. I still think this would be a useful feature for dnSpyEx/a debugger. |
Hello. Shameless plug here... Check the last section "Harmony Hooking from the DnSpyEx Debugging Context" - where we used the "Watch" window to load our managed hooking dll and invoke some functions etc. |
Problem Description
I need to inject a managed DLL into a managed (.NET core) process and execute the entry method. Maybe dnSpyEx already supports this? I couldn't find it
Proposal
When debugging a target allow us to select a managed DLL to inject and perhaps select a method to execute
Alternatives
I couldn't find any simple injector that works with .NET (core) targets
Target has detection for
DOTNET_STARTUP_HOOKS
so I cannot use this either.Additional Context
No response
The text was updated successfully, but these errors were encountered: