作为.NET可执行文件中托管模块的一部分,PE标头和CLR标头中包含什么? [英] What is contained in a PE Header and CLR Header as part of managed Module in .NET executables?

查看:126
本文介绍了作为.NET可执行文件中托管模块的一部分,PE标头和CLR标头中包含什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

.net程序集中的PE标头是什么意思?我已经读过.net程序被编译成可移植的可执行文件,其中将包含IL代码和元数据。

What is meant by PE header in a .net assembly? I have read that .net programs are compiled into a portable executable which will contain IL Code and Meta Data.

但是这些术语PE Header和CLR Header是新的。

But these terms PE Header and CLR Header are new.

它们与IF代码和元数据不同吗?
如果包含的话,它们包含什么以及何时需要使用它?

Are they different from IF Code and Metadata? If so what do they contain and when will one need to use it?

推荐答案

使用PE文件格式

PE标头是文件的标头,其中包含.FON字体文件。有关文件包含内容的基本信息。

The PE header is the header of the file, which contains the basic information about what the file contains.

CLR标头是PE文件中的数据块,如果文件包含.NET程序集,则存在。 CLR标头包含CLR加载程序使用的.NET元数据。

The CLR header is a data block in a PE file, present if the file contains a .NET assembly. The CLR header contains .NET metadata that the CLR loader uses.

更多阅读: http://en.wikipedia.org/wiki/Portable_Executable#.NET.2C_metadata.2C_and_the_PE_format

这篇关于作为.NET可执行文件中托管模块的一部分,PE标头和CLR标头中包含什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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