Solved

.NET MSIL, Native and PE files

Posted on 2013-05-20
2
379 Views
Last Modified: 2013-05-22
Correct if I am wrong, the MSIL file is also considered the PE file. And the Native code file is created by the JIT using the MSIL (same as PE File), correct?
0
Comment
Question by:metro156
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 75

Assisted Solution

by:käµfm³d 👽
käµfm³d   👽 earned 250 total points
ID: 39182704
I think technically speaking you wouldn't call it an "MSIL file," but yes you are correct: A managed module contains a PE file header and IL code. The JITter compiles the MSIL on-the-fly and on demand (as necessary).

Per Jeffrey Richter's CLR via C#, 4th ed., chapter 1.
0
 
LVL 44

Accepted Solution

by:
Rainer Jeschor earned 250 total points
ID: 39182707
Not fully: a PE file contains the MSIL in one part BUT also the relevant meta data in another section. Therefore MSIL is just a subset of the PE file.
http://msdn.microsoft.com/en-us/library/8dkk3ek4%28v=vs.71%29.aspx
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Reactjs with .NET 3 127
Create a Dropdown list with sub group 10 43
What are MicroServices? 4 68
Using the .NET JSON Serializer to create a single string 6 59
Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question