While checking differences between cegcc and visual I have also noticed
that :

1) Visual doesn't put a checksum in PE header but I don't think it's
important
2) IAT is NULL 

cegcc:
------

Dump of file TESTDLL.DLL

Data Directory
  EXPORT       rva: 00014000  size: 0000004A
  IMPORT       rva: 00015000  size: 000000E4
  RESOURCE     rva: 00000000  size: 00000000
  EXCEPTION    rva: 00000000  size: 00000000
  SECURITY     rva: 00000000  size: 00000000
  BASERELOC    rva: 00016000  size: 00000044
  DEBUG        rva: 00000000  size: 00000000
  COPYRIGHT    rva: 00000000  size: 00000000
  GLOBALPTR    rva: 00000000  size: 00000000
  TLS          rva: 00000000  size: 00000000
  LOAD_CONFIG  rva: 00000000  size: 00000000
  BOUND_IMPORT rva: 00000000  size: 00000000
  IAT          rva: 00000000  size: 00000000
  DELAY_IMPORT rva: 00000000  size: 00000000
  unused       rva: 00000000  size: 00000000
  unused       rva: 00000000  size: 00000000

Visual:
------

Dump of file TESTDLL.DLL

Data Directory
  EXPORT       rva: 00002060  size: 0000004A
  IMPORT       rva: 0000201C  size: 00000028
  RESOURCE     rva: 00000000  size: 00000000
  EXCEPTION    rva: 00014000  size: 00000058
  SECURITY     rva: 00000000  size: 00000000
  BASERELOC    rva: 00015000  size: 0000004C
  DEBUG        rva: 00002000  size: 0000001C
  COPYRIGHT    rva: 00000000  size: 00000000
  GLOBALPTR    rva: 00000000  size: 00000000
  TLS          rva: 00000000  size: 00000000
  LOAD_CONFIG  rva: 00000000  size: 00000000
  BOUND_IMPORT rva: 00000000  size: 00000000
  IAT          rva: 00003000  size: 0000000C
  DELAY_IMPORT rva: 00000000  size: 00000000
  unused       rva: 00000000  size: 00000000
  unused       rva: 00000000  size: 00000000

I don't even understand how it can work without and IAT table ...






------------------------------------------------------------------------------
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to