İsmail cartman Dönmez wrote:
> Vincent R. wrote:
>> Could you open a bugzilla and attach your coredll.dll ?
>> Thanks
>>
> 
> Danny privately analyzed the file and objdump is correct it seems, so there
> is no bug. Thanks.

  Well there's clearly at least a bug in objdump, since it is displaying
gibberish:

> The Data Directory
> Entry 0 49dec2e0 0006ea70 Export Directory [.edata (or where ever we found
> it)]
> Entry 1 00000000 00000000 Import Directory [parts of .idata]
> Entry 2 00000000 00083000 Resource Directory [.rsrc]
> Entry 3 00006354 0007d000 Exception Directory [.pdata]
> Entry 4 00000000 00000000 Security Directory

  Those entries are supposed to be {RVA, SIZE} pairs.  They make no sense like
that and appear as if they were off by 4 or some multiple of it in some 
direction:

> The Data Directory
> Entry 0 0006ea70 00000000 Export Directory [.edata (or where ever we found
> it)]
> Entry 1 00000000 00000000 Import Directory [parts of .idata]
> Entry 2 00083000 00006354 Resource Directory [.rsrc]
> Entry 3 0007d000 00000000 Exception Directory [.pdata]
> Entry 4 00000000 ........ Security Directory

  That looks somewhat more sensible.  The size of the .rsrc section now
matches the size of the .data2 section, and all the addresses are in range.

> Sections:
> Idx Name          Size      VMA       LMA       File off  Algn
>   0 .text         000799ea  03f71000  03f71000  00000400  2**2
>                   CONTENTS, ALLOC, LOAD, READONLY, CODE
>   1 .data         00000d08  01ffe000  01ffe000  00079e00  2**2
>                   CONTENTS, ALLOC, LOAD, DATA
>   2 .data1        00005198  03fed000  03fed000  0007ac00  2**2
>                   CONTENTS, ALLOC, LOAD, READONLY, DATA
>   3 .data2        00006354  03ff3000  03ff3000  0007fe00  2**2
>                   CONTENTS, ALLOC, LOAD, READONLY, DATA

  Also, what's going on there with the VMA/LMA for .data?  It can't possibly
really be supposed to be 32 meg below the base address that the DLL gets
loaded at!

    cheers,
      DaveK



------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to