为什么我们不能从可执行文件中提取源代码? [英] Why can't we extract source code from executable file?

查看:241
本文介绍了为什么我们不能从可执行文件中提取源代码?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要一些有关可执行文件的信息,在此先感谢您,这是我们这个年级的新话题.

I need some information on executable files, thanks in advance, this is a new topic in our grade.

我已经看到很多问题,询问如何提取,但是我的问题是为什么我们不能获得原始源代码?是的,我们可以使用反编译器进行提取,但是这些代码不是用于开发程序的确切代码.
我的意思是,如果计算机运行的是软件,则显然必须要引用一些代码,那么为什么我们不能获得该代码?另外,exe文件是否具有由程序员开发的相同代码?操作系统的开发是否不会泄漏可执行文件中的源代码?

I've seen a lot of questions asking how to extract, but my question is why can't we get the original source code? Yeah using decompilers we can extract but those codes are not the exact code used to develop the program.
I mean, if a computer is running a software it obviously has to have some code to refer from, then why can't we get that code? Also, do exe files have the same code which is developed by the programmer? Is it that OSs are developed in such a way that they don't leak source code from an executable file?

推荐答案

.exe文件由二进制数字组成,该二进制数字由1和0组成.这些文件包含一些其他代码,这些代码支持来自许多来源的代码. 操作系统使用二进制语言进行操作,这就是我们所说的机器代码. (从exe取回代码就像从苹果汁取回苹果);)

The .exe file is made up of binary numbers which consist of 1's and 0's. And these files contain some additional code that support code from many source. Operating systems use binary languages to operate, this is what we call machine code. (Getting the code back from the exe is like getting the apple back from the apple juice) ;)

还请检查编译语言与口译语言

这篇关于为什么我们不能从可执行文件中提取源代码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆