Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the __NULL_IMPORT_DESCRIPTOR good for (MSVC map file)?

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.

like image 700
jdehaan Avatar asked Sep 28 '10 15:09

jdehaan


1 Answers

__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.

like image 154
Dmitry Egorenkov Avatar answered Nov 15 '22 10:11

Dmitry Egorenkov