Why is it so easy to decompile .NET IL code?

前端 未结 4 1531
攒了一身酷
攒了一身酷 2021-02-04 04:55

Why is it so easy to decompile .NET IL-code into source code, compared to decompiling native x86 binaries? (Reflector produces quite good source code most of the time, while dec

4条回答
  •  不要未来只要你来
    2021-02-04 05:46

    C# and IL nearly map one-to-one. (This is less so with some newer C# 3.0 features.) The closeness of the mapping (and the lack of an optimizer in the C# compiler) makes things so 'reversible'.

提交回复
热议问题