6

I have a map file generated with microsoft visual studio. It contains a relatively big area named __NULL_IMPORT_DESCRIPTOR. What is this good for? It has something to do with linked dlls but I cannot figure out the exact purpose of it.

jdehaan
  • 19,700
  • 6
  • 57
  • 97
  • Did you ever find more information on this token? I'm struggling with the same question, and can't seem to find much relevant info on the web. – Michael Repucci Jul 15 '11 at 14:46
  • No, I'm also still stuck on the meaning of this stuff but I suspect it is some place reservation for linking purposes... But sorry, no definitively sure from where it comes and if how to make the images smaller (embedded software) – jdehaan Jul 16 '11 at 13:01
  • I have learned about this when trying from the linker log: http://goo.gl/6w8NC. I wonder if I can get rid of those warnings? – Sergiy Belozorov Dec 18 '11 at 11:09

1 Answers1

2

__NULL_IMPORT_DESCRIPTOR is the IMAGE_IMPORT_DESCRIPTOR structure. With all its fields set to null it indicates the end of the IMAGE_IMPORT_DESCRIPTOR array in the imports section. It takes only 20 bytes.

Dmitry Egorenkov
  • 1,045
  • 8
  • 19