Programmatic MSIL injection

前端 未结 7 2062
情书的邮戳
情书的邮戳 2021-02-09 08:01

Let\'s say I have a buggy application like this:

using System;

namespace ConsoleApplication1
{
    class Program
    {
        static void Main(string[] args)
          


        
7条回答
  •  爱一瞬间的悲伤
    2021-02-09 08:25

    good source of information...

    IL Programming ebook

    another is MS Press book on IL programming.

    steps to decompile to IL and recompile

    1. ildasm /output=ConsoleApplication1.il ConsoleApplication1.exe

    2. //modify ConsoleApplication1.il code

    3. ilasm ConsoleApplication1.il

提交回复
热议问题