[Mono-dev] Runtime IL Injection
Drew Crawford
drew at sealedabstract.com
Tue Jul 1 01:46:47 UTC 2014
Hello folks,
I've got a rather large program that I don't have source to. I believe it runs Mono 3.5.
I'm trying to modify the behavior of this program; specifically, I'm trying to replace one of its classes. Normally this would be a pretty straightforward Mono.Cecil operation, but it turns out the program verifies its on-disk representation at startup in a way that is difficult to defeat.
I can, however, convince the program to load an arbitrary managed DLL, so this has got me thinking about the possibility of doing run-time manipulation and code injection of the process using the DLL as an entrypoint. I have seen some code samples of this online for .NET but I can't seem to find anyone doing this for Mono.
Can anyone point me in the right direction?
Drew
More information about the Mono-devel-list
mailing list