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

 

作者:Chuck Lu    GitHub    
posted @   ChuckLu  阅读(735)  评论(0编辑  收藏  举报
编辑推荐:
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 理解Rust引用及其生命周期标识(上)
· 浏览器原生「磁吸」效果!Anchor Positioning 锚点定位神器解析
· 没有源码,如何修改代码逻辑?
阅读排行:
· 全程不用写代码,我用AI程序员写了一个飞机大战
· DeepSeek 开源周回顾「GitHub 热点速览」
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· 记一次.NET内存居高不下排查解决与启示
· 白话解读 Dapr 1.15:你的「微服务管家」又秀新绝活了
点击右上角即可分享
微信分享提示