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

原文地址:https://www.cnblogs.com/chucklu/p/11214939.html

时间: 2024-07-29 06:51:26

dnSpy PE format ( Portable Executable File Format)的相关文章

The Portable Executable File Format from Top to Bottom(每个结构体都非常清楚)

The Portable Executable File Format from Top to Bottom Randy KathMicrosoft Developer Network Technology Group Created: June 12, 1993 Click to open or copy the files in the EXEVIEW sample application for this technical article. Click to open or copy t

《Peering Inside the PE: A Tour of the Win32 Portable Executable File Format》阅读笔记(未完)

---恢复内容开始--- The format of an operating system's executable file is in many ways a mirror of the operating system. Winnt.h是一个非常重要的头文件,其中定义了大部分windows下的内部结构. The PE format is documented (in the loosest sense of the word) in the WINNT.H header file.Abo

VMWare File Format Learning && Use VHD File To Boot VMWare

目录 1. Virtual Machine Introduce 2. Vmware Image File Format 3. VHD File Format 4. Convert VHD File Into VMDK 5. Run Virtual PC virtual machine in VMware Workstation 1. Virtual Machine Introduce A virtual machine (VM) shares physical hardware resource

.NET Assembly File Format

https://docs.microsoft.com/en-us/dotnet/standard/assembly/file-format .NET defines a binary file format - "assembly" - that is used to fully-describe and contain .NET programs. Assemblies are used for the programs themselves as well as any depen

ShopEx访问提示Incompatible file format: The encoded file has format major ID 2, whereas the Loader expects 4

今天测试了下ShopEx程序,但是ShopEx安装时(程序放在public_html目录下的test目录中)遇到了问题,提示错误如下:Fatal error: Incompatible file format: The encoded file has format major ID 2, whereas the Loader expects 4 in /home/cpusername/public_html/test/core/include_v5/defined.php on line 0检

Java class file format specfication

Java class file format spec Link: https://docs.oracle.com/javase/specs/jvms/se7/html/jvms-4.html Here is an example: -----------------------------------------------------java source file---------------------------------------------------------public

MySQL错误Incorrect file format解决方案

一台mysql 服务器,机器意外重启后,N个表报错,想必你已经知道库的引擎是myisam 的了,太悲催,太蛋碎了,先看看报错信息: mysql> desc PARTITION_KEYS; ERROR 130 (HY000): Incorrect file format 'PARTITION_KEYS' mysql> check table PARTITION_KEYS; +-------------------------+-------+----------+----------------

3ds Max File Format (Part 1: The outer file format; OLE2)

The 3ds Max file format, not too much documentation to be found about it. There are some hints here and there about how it’s built up, but there exists no central documentation on it. Right now we are in the following situation. A few thousand of max

Does the OpenSceneGraph have a native file format?

From OpenSceneGraph-3.0 onwards we have new native file formats based on generic serializers that are extensible and support forward/backward compatibility, there is a .osgt ascii text file format, .osgx xml format and .osgb binary format. The extens