/reactos/sdk/lib/rtl/ |
H A D | image.c | 299 Va = SWAPD(OptionalHeader->DataDirectory[Directory].VirtualAddress); in RtlImageDirectoryEntryToData() 303 *Size = SWAPD(OptionalHeader->DataDirectory[Directory].Size); in RtlImageDirectoryEntryToData() 315 Va = SWAPD(OptionalHeader->DataDirectory[Directory].VirtualAddress); in RtlImageDirectoryEntryToData() 319 *Size = SWAPD(OptionalHeader->DataDirectory[Directory].Size); in RtlImageDirectoryEntryToData() 502 RelocationDDir = &NtHeaders->OptionalHeader.DataDirectory[IMAGE_DIRECTORY_ENTRY_BASERELOC]; in LdrRelocateImageWithBias()
|
/reactos/modules/rostests/winetests/kernel32/ |
H A D | loader.c | 339 nt_header->OptionalHeader.DataDirectory[IMAGE_DIRECTORY_ENTRY_COM_DESCRIPTOR].Size) in query_image_section() 351 nt64->OptionalHeader.DataDirectory[IMAGE_DIRECTORY_ENTRY_COM_DESCRIPTOR].Size) in query_image_section() 363 nt32->OptionalHeader.DataDirectory[IMAGE_DIRECTORY_ENTRY_COM_DESCRIPTOR].Size) in query_image_section() 1094 nt_header.OptionalHeader.DataDirectory[IMAGE_DIRECTORY_ENTRY_COM_DESCRIPTOR].Size = 1; in test_Loader() 1208 nt_header.OptionalHeader.DataDirectory[IMAGE_DIRECTORY_ENTRY_COM_DESCRIPTOR].Size = 1; in test_Loader() 1311 nt_header.OptionalHeader.DataDirectory[IMAGE_DIRECTORY_ENTRY_COM_DESCRIPTOR].Size = 1; in test_Loader() 1512 import_dir_size = nt_headers->OptionalHeader.DataDirectory[IMAGE_DIRECTORY_ENTRY_IMPORT].Size; in test_ImportDescriptors() 2041 memset( nt.OptionalHeader.DataDirectory, 0, sizeof(nt.OptionalHeader.DataDirectory) ); in test_import_resolution() 2042 nt.OptionalHeader.DataDirectory[IMAGE_DIRECTORY_ENTRY_IMPORT].Size = sizeof(data.descr); in test_import_resolution() 2044 nt.OptionalHeader.DataDirectory[IMAGE_DIRECTORY_ENTRY_TLS].Size = sizeof(data.tls); in test_import_resolution() [all …]
|
H A D | resource.c | 203 opt->DataDirectory[IMAGE_FILE_RESOURCE_DIRECTORY].VirtualAddress = rva_rsrc_start; in build_exe() 204 opt->DataDirectory[IMAGE_FILE_RESOURCE_DIRECTORY].Size = page_size; in build_exe() 417 …ok(opt->DataDirectory[IMAGE_FILE_RESOURCE_DIRECTORY].VirtualAddress == sec[verify->rsrc_section].V… in check_exe() 419 …sec[verify->rsrc_section].VirtualAddress, opt->DataDirectory[IMAGE_FILE_RESOURCE_DIRECTORY].Virtua… in check_exe()
|
/reactos/modules/rostests/apitests/ntdll/ |
H A D | RtlImageRvaToVa.c | 52 ImageSize = FIELD_OFFSET(IMAGE_NT_HEADERS, OptionalHeader.DataDirectory) + in START_TEST() 63 NtHeader->FileHeader.SizeOfOptionalHeader = FIELD_OFFSET(IMAGE_OPTIONAL_HEADER, DataDirectory); in START_TEST()
|
H A D | LdrEnumResources.c | 181 ….OptionalHeader.NumberOfRvaAndSizes = ARRAYSIZE(TestImage->NtHeaders.OptionalHeader.DataDirectory); in InitializeTestImage() 183 …ResourceDirectory = &TestImage->NtHeaders.OptionalHeader.DataDirectory[IMAGE_DIRECTORY_ENTRY_RESOU… in InitializeTestImage()
|
/reactos/sdk/include/host/ |
H A D | pecoff.h | 136 IMAGE_DATA_DIRECTORY DataDirectory[IMAGE_NUMBEROF_DIRECTORY_ENTRIES]; member 169 IMAGE_DATA_DIRECTORY DataDirectory[IMAGE_NUMBEROF_DIRECTORY_ENTRIES]; member
|
/reactos/dll/win32/mscoree/ |
H A D | assembly.c | 161 datadirs = opthdr->DataDirectory; in parse_pe_header() 167 datadirs = opthdr->DataDirectory; in parse_pe_header()
|
/reactos/dll/win32/kernel32/wine/ |
H A D | res.c | 863 dd = &nt->OptionalHeader.DataDirectory[0]; in check_pe_exe() 865 dd = &nt64->OptionalHeader.DataDirectory[0]; in check_pe_exe() 1567 …nt64->OptionalHeader.DataDirectory[IMAGE_DIRECTORY_ENTRY_RESOURCE].VirtualAddress = sec->VirtualAd… in write_raw_resources() 1568 … nt64->OptionalHeader.DataDirectory[IMAGE_DIRECTORY_ENTRY_RESOURCE].Size = res_size.total_size; in write_raw_resources() 1572 if (nt64->OptionalHeader.DataDirectory[i].VirtualAddress > sec->VirtualAddress) in write_raw_resources() 1573 nt64->OptionalHeader.DataDirectory[i].VirtualAddress += rva_delta; in write_raw_resources() 1576 …nt->OptionalHeader.DataDirectory[IMAGE_DIRECTORY_ENTRY_RESOURCE].VirtualAddress = sec->VirtualAddr… in write_raw_resources() 1577 … nt->OptionalHeader.DataDirectory[IMAGE_DIRECTORY_ENTRY_RESOURCE].Size = res_size.total_size; in write_raw_resources() 1581 if (nt->OptionalHeader.DataDirectory[i].VirtualAddress > sec->VirtualAddress) in write_raw_resources() 1582 nt->OptionalHeader.DataDirectory[i].VirtualAddress += rva_delta; in write_raw_resources()
|
/reactos/dll/win32/dbghelp/ |
H A D | pe_module.c | 340 if (size) *size = nth->OptionalHeader.DataDirectory[dirno].Size; in pe_map_directory() 342 nth->OptionalHeader.DataDirectory[dirno].VirtualAddress, NULL); in pe_map_directory() 948 if (!(addr = nt64->OptionalHeader.DataDirectory[dir].VirtualAddress)) return NULL; in ImageDirectoryEntryToDataEx() 949 *size = nt64->OptionalHeader.DataDirectory[dir].Size; in ImageDirectoryEntryToDataEx() 957 if (!(addr = nt32->OptionalHeader.DataDirectory[dir].VirtualAddress)) return NULL; in ImageDirectoryEntryToDataEx() 958 *size = nt32->OptionalHeader.DataDirectory[dir].Size; in ImageDirectoryEntryToDataEx()
|
H A D | compat.c | 125 Va = SWAPD(NtHeader->OptionalHeader.DataDirectory[Directory].VirtualAddress); in __RtlImageDirectoryEntryToData() 129 *Size = SWAPD(NtHeader->OptionalHeader.DataDirectory[Directory].Size); in __RtlImageDirectoryEntryToData()
|
/reactos/sdk/tools/rsym/ |
H A D | rsym.c | 834 OptHeader->DataDirectory[IMAGE_DIRECTORY_ENTRY_BASERELOC].VirtualAddress == 0) in ProcessRelocations() 842 …RelocSectionHeader = FindSectionForRVA(OptHeader->DataDirectory[IMAGE_DIRECTORY_ENTRY_BASERELOC].V… in ProcessRelocations() 862 … (OptHeader->DataDirectory[IMAGE_DIRECTORY_ENTRY_BASERELOC].VirtualAddress - in ProcessRelocations() 865 OptHeader->DataDirectory[IMAGE_DIRECTORY_ENTRY_BASERELOC].Size); in ProcessRelocations() 992 InOptHeader->DataDirectory[IMAGE_DIRECTORY_ENTRY_BASERELOC].VirtualAddress == 0) in CreateOutputFile() 998 …InRelocSectionIndex = FindSectionForRVA(InOptHeader->DataDirectory[IMAGE_DIRECTORY_ENTRY_BASERELOC… in CreateOutputFile() 1043 OutOptHeader->DataDirectory[IMAGE_DIRECTORY_ENTRY_BASERELOC].Size = ProcessedRelocsLength; in CreateOutputFile()
|
/reactos/modules/rostests/apitests/apphelp/ |
H A D | data.c | 495 …((IMAGE_NT_HEADERS32*)cur)->OptionalHeader.DataDirectory[IMAGE_DIRECTORY_ENTRY_EXPORT].VirtualAddr… in test_create_exe_imp() 496 …((IMAGE_NT_HEADERS32*)cur)->OptionalHeader.DataDirectory[IMAGE_DIRECTORY_ENTRY_RESOURCE].VirtualAd… in test_create_exe_imp()
|
/reactos/sdk/lib/crt/startup/ |
H A D | crtexe.c | 360 return !! pNTHeader32->DataDirectory[IMAGE_DIRECTORY_ENTRY_COM_DESCRIPTOR].VirtualAddress; in check_managed_app() 365 return !! pNTHeader64->DataDirectory[IMAGE_DIRECTORY_ENTRY_COM_DESCRIPTOR].VirtualAddress; in check_managed_app()
|
H A D | pesect.c | 209 …importsStartRVA = pNTHeader->OptionalHeader.DataDirectory[IMAGE_DIRECTORY_ENTRY_IMPORT].VirtualAdd… in __mingw_enum_import_library_names()
|
/reactos/dll/win32/imagehlp/ |
H A D | integrity.c | 157 sd = &nt_hdr32.OptionalHeader.DataDirectory[IMAGE_FILE_SECURITY_DIRECTORY]; in IMAGEHLP_GetSecurityDirOffset() 159 sd = &nt_hdr64.OptionalHeader.DataDirectory[IMAGE_FILE_SECURITY_DIRECTORY]; in IMAGEHLP_GetSecurityDirOffset() 193 sd = &nt_hdr32.OptionalHeader.DataDirectory[IMAGE_FILE_SECURITY_DIRECTORY]; in IMAGEHLP_SetSecurityDirOffset() 200 sd = &nt_hdr64.OptionalHeader.DataDirectory[IMAGE_FILE_SECURITY_DIRECTORY]; in IMAGEHLP_SetSecurityDirOffset()
|
/reactos/sdk/tools/ |
H A D | pefixup.c | 90 export_dir = &nt_header->OptionalHeader.DataDirectory[IMAGE_DIRECTORY_ENTRY_EXPORT]; in add_loadconfig() 119 … load_config_dir = &nt_header->OptionalHeader.DataDirectory[IMAGE_DIRECTORY_ENTRY_LOAD_CONFIG]; in add_loadconfig()
|
/reactos/sdk/include/ddk/ |
H A D | ntimage.h | 321 IMAGE_DATA_DIRECTORY DataDirectory[IMAGE_NUMBEROF_DIRECTORY_ENTRIES]; member 370 IMAGE_DATA_DIRECTORY DataDirectory[IMAGE_NUMBEROF_DIRECTORY_ENTRIES]; member
|
/reactos/sdk/lib/ucrt/startup/ |
H A D | exit.cpp | 76 …if (pe_header->OptionalHeader.DataDirectory[IMAGE_DIRECTORY_ENTRY_COM_DESCRIPTOR].VirtualAddress =… in is_managed_app()
|
/reactos/drivers/filesystems/udfs/Include/ |
H A D | ntddk_ex.h | 178 IMAGE_DATA_DIRECTORY DataDirectory[IMAGE_NUMBEROF_DIRECTORY_ENTRIES]; member
|
/reactos/dll/win32/wintrust/ |
H A D | softpub.c | 279 …dos_header.e_lfanew + FIELD_OFFSET(IMAGE_NT_HEADERS32, OptionalHeader.DataDirectory[IMAGE_DIRECTOR… in SOFTPUB_HashPEFile() 280 secdir = nt_header.nt32.OptionalHeader.DataDirectory[IMAGE_DIRECTORY_ENTRY_SECURITY]; in SOFTPUB_HashPEFile() 288 …dos_header.e_lfanew + FIELD_OFFSET(IMAGE_NT_HEADERS64, OptionalHeader.DataDirectory[IMAGE_DIRECTOR… in SOFTPUB_HashPEFile() 289 secdir = nt_header.nt64.OptionalHeader.DataDirectory[IMAGE_DIRECTORY_ENTRY_SECURITY]; in SOFTPUB_HashPEFile()
|
/reactos/ntoskrnl/mm/ARM3/ |
H A D | sysldr.c | 1739 PIMAGE_DATA_DIRECTORY DataDirectory; in MiReloadBootLoadedDrivers() local 1796 DataDirectory = &NtHeader->OptionalHeader. in MiReloadBootLoadedDrivers() 1797 DataDirectory[IMAGE_DIRECTORY_ENTRY_BASERELOC]; in MiReloadBootLoadedDrivers() 1798 if (!DataDirectory->VirtualAddress) in MiReloadBootLoadedDrivers() 1806 if ((DataDirectory->VirtualAddress + DataDirectory->Size) > in MiReloadBootLoadedDrivers()
|
/reactos/modules/rostests/winetests/ntdll/ |
H A D | generated.c | 1117 TEST_FIELD_SIZE (IMAGE_OPTIONAL_HEADER32, DataDirectory, 128) in test_pack_IMAGE_OPTIONAL_HEADER32() 1118 TEST_FIELD_ALIGN (IMAGE_OPTIONAL_HEADER32, DataDirectory, 4) in test_pack_IMAGE_OPTIONAL_HEADER32() 1119 TEST_FIELD_OFFSET(IMAGE_OPTIONAL_HEADER32, DataDirectory, 96) in test_pack_IMAGE_OPTIONAL_HEADER32() 1214 TEST_FIELD_SIZE (IMAGE_OPTIONAL_HEADER64, DataDirectory, 128) in test_pack_IMAGE_OPTIONAL_HEADER64() 1215 TEST_FIELD_ALIGN (IMAGE_OPTIONAL_HEADER64, DataDirectory, 4) in test_pack_IMAGE_OPTIONAL_HEADER64() 1216 TEST_FIELD_OFFSET(IMAGE_OPTIONAL_HEADER64, DataDirectory, 112) in test_pack_IMAGE_OPTIONAL_HEADER64() 4534 TEST_FIELD_SIZE (IMAGE_OPTIONAL_HEADER32, DataDirectory, 128) in test_pack_IMAGE_OPTIONAL_HEADER32() 4535 TEST_FIELD_ALIGN (IMAGE_OPTIONAL_HEADER32, DataDirectory, 4) in test_pack_IMAGE_OPTIONAL_HEADER32() 4536 TEST_FIELD_OFFSET(IMAGE_OPTIONAL_HEADER32, DataDirectory, 96) in test_pack_IMAGE_OPTIONAL_HEADER32() 4631 TEST_FIELD_SIZE (IMAGE_OPTIONAL_HEADER64, DataDirectory, 128) in test_pack_IMAGE_OPTIONAL_HEADER64() [all …]
|
/reactos/dll/win32/fusion/ |
H A D | assembly.c | 615 datadirs = opthdr->DataDirectory; in parse_pe_header() 621 datadirs = opthdr->DataDirectory; in parse_pe_header()
|
/reactos/drivers/storage/ide/uniata/ |
H A D | ntddk_ex.h | 606 IMAGE_DATA_DIRECTORY DataDirectory[IMAGE_NUMBEROF_DIRECTORY_ENTRIES]; member
|
/reactos/modules/rostests/apitests/sdk/ |
H A D | delayimp.cpp | 421 …PIMAGE_DATA_DIRECTORY delaydir = nt->OptionalHeader.DataDirectory + IMAGE_DIRECTORY_ENTRY_DELAY_IM… in START_TEST()
|