Re: [Mono-dev] Runtime IL Injection

2014-06-30 Thread Brandon Perry
I hate just linking to stack overflow :) but http://stackoverflow.com/questions/3145346/can-i-redirect-net-method-calls-to-a-new-method-at-runtime On Mon, Jun 30, 2014 at 9:20 PM, Brandon Perry wrote: > I think the correct solution is to make the on-disk check pass even if you > modify the bin

Re: [Mono-dev] Runtime IL Injection

2014-06-30 Thread Brandon Perry
I think the correct solution is to make the on-disk check pass even if you modify the binary. Maybe a detour for the file access winapi. On Mon, Jun 30, 2014 at 9:07 PM, Alex Rønne Petersen wrote: > We do not currently have any functionality that allows you to do this. > > On Tue, Jul 1, 2014 a

Re: [Mono-dev] Runtime IL Injection

2014-06-30 Thread Alex Rønne Petersen
We do not currently have any functionality that allows you to do this. On Tue, Jul 1, 2014 at 3:46 AM, Drew Crawford wrote: > 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; specifi

Re: [Mono-dev] Runtime IL Injection

2014-06-30 Thread Jonathan Lima
Hello, Well, first questions first, is what you is doing legal? Anyway, in the worst case you can do real binary patching redirecting all calls. I already did that on CLR and should even easier on Mono as it’s open source and you can know how code will be JITed. If you know the target system I t

[Mono-dev] Runtime IL Injection

2014-06-30 Thread Drew Crawford
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 ou