是否有工具可以将 .NET 程序集反汇编为 Reflection.Emit 代码?

发布于 2024-11-11 14:47:05 字数 224 浏览 6 评论 0原文

我开始研究使用 Reflection.Emit 动态创建的程序集,我想知道是否有任何工具可以将现有代码反汇编为使用 Reflection.Emit 发出它所需的指令。 ildasm / Reflector 可以为我提供模块的 IL 代码,我可以将它们用作使用 System.Reflection.Emit 类进行编码的“模板”以“复制”它,但我想知道是否有任何工具可以执行此额外操作创建 ref.emit 指令的步骤使我的学习更轻松。

I'm starting to look into dynamically created assemblies using Reflection.Emit, and I'm wondering if there is any tool which can disassembly an existing code into the instructions required to emit it using Reflection.Emit. ildasm / Reflector can give me the IL code for a module and I can use them as a "template" for coding with System.Reflection.Emit classes to "copy" it, but I was wondering if there is any tool which does this extra step of creating the ref.emit instructions to make my learning easier.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文