SJITHook icon indicating copy to clipboard operation
SJITHook copied to clipboard

How to support .NET 4.7.2 and is it injectable

Open Bonjour123 opened this issue 6 years ago • 2 comments

Hello,

Could you explain me quickly how I would do to bring support to .NET 4.7.2 ?

Also, if I want to hook the CompileMethod in another process, would it work to embed it into a dll, and inject this dll. Hook.hook would then be called at loading using this hack( C# equivalent of dllMain).

Thank you :)

Bonjour123 avatar Feb 14 '19 07:02 Bonjour123

@maddnias Up ?

Bonjour123 avatar Feb 16 '19 06:02 Bonjour123

Ok, 2 things, first you don't answer to issues, it's your choice, I'm still thankful that you provided your code, however, a little support would take you much time. Secondly, your commented code in Test doesn't work and will never work like this: because the HookedCompileMethod will be called in turn, creating an infinite loop which ends by a stack overflow... And a little note in the comments indicating this problem wouldn't be bad and prevent people for trying to make it work

Bonjour123 avatar Feb 16 '19 12:02 Bonjour123