dnSpy PE format ( Portable Executable File Format)

Posted chucklu

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了dnSpy PE format ( Portable Executable File Format)相关的知识,希望对你有一定的参考价值。

Portable Executable File Format

 

PE Format  微软官方的

 

What is a .PE file in the .NET framework? [closed]

The PE file you are talking about is the "Portable Executable" format. Almost every EXE and DLL on the Windows platform is formatted in PE format. To answer your question, it‘s a general format and every assembly generated after compilation of your project will be a PE file. You will have a PE file for every .NET project you compile. You can read more about it here: http://en.wikipedia.org/wiki/Portable_Executable

And no, not every class in a project results in a new DLL. Every project in a solution will result in a new DLL or Executable.

 

A .NET assembly viewer

For PE/.NET file format information, I would suggest reading sections 21-24 of ECMA-335 Partition II, available all over the web. Inside Microsoft .NET IL Assembler is also a good book, despite the occasional inaccuracy.

If you want to go further and understand the actual CIL instructions in your assembly, Compiling for the .NET Common Language Runtime is an excellent book.

If you want to examine your binary files in comfort, may I humbly plug my own AXE program.

http://jilc.sourceforge.net/ecma_p2_cil.shtml

 

 

Anatomy of a .NET Assembly  red-gate上的博客

Anatomy of a .NET Assembly – PE Headers

Anatomy of a .NET Assembly – CLR metadata 1

Anatomy of a .NET Assembly – CLR metadata 2

大概有10篇左右的文章,可以用以下语法,搜索

Anatomy of a .NET Assembly site:https://www.red-gate.com/simple-talk

 

以上是关于dnSpy PE format ( Portable Executable File Format)的主要内容,如果未能解决你的问题,请参考以下文章

dnspy程序集资源管理器不见了

dnspy的详细配置,dnspy如何过滤反编译之后的乱码,dnspy如何反编译表达式目录树

dnspy改了没变化

使用dnspy进行编辑是出错

游戏反编译工具dnSpy

dnspy在保存的时候出错