[Mono-devel-list] Wrong DOSHeader in files emitted by Mono
    Jb Evain 
    mono at evain.net
       
    Sun Jan  9 11:48:38 EST 2005
    
    
  
Hello there,
Here is a strange one. After some investigation, it appears that Mono 
does not emits a good DOSHeader in a PE File.
But, in reflection.c, it seems very well defined : (line 4604)
    static const unsigned char msheader[] = {
        0x4d, 0x5a, 0x90, 0x00, 0x03,
And so on. It is exactly what should be emitted. But looking into an 
assembly emitted with Mono shows that the third bit is 0x00 instead of 
0x90. I failed to understand why the msheader is not emitted properly, 
can someone take a look ?
Jb
    
    
More information about the Mono-devel-list
mailing list