开发者

Manipulate .NET bytecode - JIT regeneration?

开发者 https://www.devze.com 2022-12-13 01:50 出处:网络
Is it possible to manipulate the bytecode of a 开发者_如何学编程(signed) .NET program at runtime? E.g. by forcing the JIT to re-evalutate the IL?Yes, it\'s possible with the .net CLR profiling APIs. B

Is it possible to manipulate the bytecode of a 开发者_如何学编程(signed) .NET program at runtime? E.g. by forcing the JIT to re-evalutate the IL?


Yes, it's possible with the .net CLR profiling APIs. But it's not an easy task. For instance, you can have a look at this article:

  • Write MSIL code on the fly with the profiling API.
0

精彩评论

暂无评论...
验证码 换一张
取 消