託管模組的組成

來源:互聯網
上載者:User
PE32或PE32+頭

標準的Window PE頭跟COFF有點像,如果使用的是PE32格式,那麼該模組能夠在Win32/64作業系統下面執行,如果使用的是PE 32+格式那麼只能在Win64環境下執行.;另外該頭還包含了檔案類型資訊(GUI,CUI或者DLL),並且包含了一個檔案建立日期的時間戳記.For modules that contain only IL code, the bulk of the information in the PE32(+) header is ignored. For modules that contain native CPU code, this header contains information about the native CPU code.

CLR頭 包含了組成該託管模組的主要資訊,該頭包含了需要的CLR版本資訊,Main函數進入點,模組的中繼資料資訊,資源,強命名資訊,和一些標識等等的位置和大小,
Matedata 每個託管模組都包含metadata表,metadata表分為兩種類型:描述你的代碼中定義的類型和成員的metadata表和代碼中引用的資料類型和成員的metadata表
IL代碼 編譯器編譯原始碼產生的IL代碼.在運行時.CLR會把IL解釋成機器碼來執行.

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.