Lines Matching defs:ExpDir
324 IMAGE_DATA_DIRECTORY ExpDir = pNtHdrs->OptionalHeader.DataDirectory[IMAGE_DIRECTORY_ENTRY_EXPORT];
325 if ( ExpDir.Size < sizeof(IMAGE_EXPORT_DIRECTORY)
326 || ExpDir.VirtualAddress < pDll->offEndSectHdrs
327 || ExpDir.VirtualAddress >= pNtHdrs->OptionalHeader.SizeOfImage
328 || ExpDir.VirtualAddress + ExpDir.Size > pNtHdrs->OptionalHeader.SizeOfImage)
330 "%ls: Missing or invalid export directory: %#lx LB %#x", pDll->pwszName, ExpDir.VirtualAddress, ExpDir.Size);
331 pDll->offExportDir = ExpDir.VirtualAddress;
332 pDll->cbExportDir = ExpDir.Size;
334 IMAGE_EXPORT_DIRECTORY const *pExpDir = (IMAGE_EXPORT_DIRECTORY const *)&pDll->pbImageBase[ExpDir.VirtualAddress];