bugDotGNU Portable.NET - Bugs: bug #2705, ILDASM skips over data in DLLS...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #2705: ILDASM skips over data in DLLS from MS/ generated DLLS

Submitted by:  James Michael DuPont <mdupont>
Submitted on:  Mon 03 Mar 2003 04:17:55 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Thu 06 Mar 2003 05:02:32 AM UTC, comment #1:

Fix committed - 6 March 2003

Rhys Weatherley <rweather>
Project Administrator
Mon 03 Mar 2003 04:17:55 PM UTC, original submission:

in the example dll compiled with microsoft
attached and also available :
wget ftp://ftp.mercury.cs.mu.oz.au/pub/mercury/dotgnu_test/mercury_dotnet_hello/mercury_mcpp.dll

if you dump it :
ildasm -q mercury_mcpp.dll > mercury_mcpp.dll.il

and recompile it
ilasm mercury_mcpp.dll.il

you will get the following error
mercury_mcpp.dll.il:21: data label `D_0x00003000' undefined
mercury_mcpp.dll.il:22: data label `D_0x00003018' undefined
mercury_mcpp.dll.il:23: data label `D_0x000030EC' undefined

These are the data entries that should be dumped :
.data D_0x00004000 = bytearray
(53 6F 72 72 79 2C 20 75 6E 69 6D 70 6C 65 6D 65 // Sorry, unimpleme
6E 74 65 64 3A 20 00 00) // nted: ..
.data D_0x00004018 = bytearray (46 61 74 61 6C 20 65 72 72 6F 72 3A 20 00 00 00) // Fatal error: ...
.data D_0x00004028 = bytearray (00 00 00 00) // ....

Used by
// .class public auto ansi '<Module>'
// {
.field public static valuetype '$ArrayType$0x0faed885' '??_C@_0BH@GOECJCLI@Sorry?0?5unimplemented?3?5?$AA@' at D_0x00004000
.field public static valuetype '$ArrayType$0x42a9f01b' '??_C@_0O@HIFMKDPC@Fatal?5error?3?5?$AA@' at D_0x00004018
.field public static int32 '_fltused' at D_0x00004028
// }

James Michael DuPont <mdupont>

 

Attached Files
file #331:  mercury_mcpp.dll.bz2 added by mdupont (3KiB - application/octet-stream - the dll to dump)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Thu 06 Mar 2003 05:02:32 AM UTCrweatherOpen/ClosedOpen=>(Error - Not Found)
Thu 06 Mar 2003 05:02:31 AM UTCrweatherStatusNone=>(Error - Not Found)

Back to the top


Powered by Savane 3.1-cleanup1