哪些类型的可执行文件可以反编译?

编程入门 行业动态 更新时间:2024-10-21 13:34:35
本文介绍了哪些类型的可执行文件可以反编译?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我认为Java可执行文件(jar文件)不容易反编译并获取源代码。

I think that java executables (jar files) are trivial to decompile and get the source code.

其他语言呢? 和所有?

What about other languages? and all?

哪些语言只能编译为可反编译的代码?

Which all languages can compile only to a decompile-able code?

推荐答案

通常,像Java,C#和VB.NET这样的语言相对容易反编译,因为它们被编译为中间语言,而不是纯机器语言。以IL形式,与编译为机器语言的C代码相比,它们保留的元数据更多。

In general, languages like Java, C#, and VB.NET are relatively easy to decompile because they are compiled to an intermediary language, not pure machine language. In their IL form, they retain more metadata than C code does when compiled to machine language.

从技术上讲,您并没有获得原始的源代码,而是对源代码进行了一些改动,在编译时会将其返回给您。它与源代码不同,因为注释,注释和编译器指令之类的内容通常不会结转到已编译的代码中。

Technically you aren't getting the original source code out, but a variation on the source code that, when compiled, will give you the compiled code back. It isn't identical to the source code, as things like comments, annotations, and compiler directives usually aren't carried forward into the compiled code.

更多推荐

哪些类型的可执行文件可以反编译?

本文发布于:2023-11-17 08:30:06,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1609463.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:可执行文件   反编译   类型

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!