7

ASP.NET Core 存在类似 il2Cpp 这种可以把 C#代码转换成 C++代码编译来防止逆向获得原...

 2 years ago
source link: https://www.v2ex.com/t/840573
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

V2EX  ›  程序员

ASP.NET Core 存在类似 il2Cpp 这种可以把 C#代码转换成 C++代码编译来防止逆向获得原始代码的黑科技吗?如果不存在,为什么?

  theklf4 · 10 分钟前 · 23 次点击
现在大部分 Unity 游戏都用了 il2Cpp 保护 C#代码,虽然不能彻底防止逆向,但已经不可能通过逆向直接还原原本的 C#代码了。发现 ASP.NET Core 似乎不存在这样的黑科技工具,有 V 友知道为什么吗?
1 条回复    2022-03-15 19:21:58 +08:00

DTCPSS

DTCPSS      1 分钟前

.NET 7 会加入 Native AOT , 直接编译到机器码,现在预览版已经可以用在一些简单项目上。不过还有很多问题要解决,特别是对于 ASP.NET Core 这种重度依赖反射的框架。要完善还得过几个 release 吧。
现在基本是 .NET 第一方 AOT 的断代期,连 WinUI 都没有 UWP 那样的 AOT 用。

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK