/reactos/sdk/tools/geninc/ |
H A D | geninc.c | 42 uint16_t Machine, NumberOfSections, SizeOfOptionalHeader; in main() local 136 if (fread(&SizeOfOptionalHeader, 1, 2, input) != 2) in main() 143 fseek(input, e_lfanew + 0x18 + SizeOfOptionalHeader, SEEK_SET); in main()
|
/reactos/modules/rostests/apitests/ntdll/ |
H A D | RtlImageRvaToVa.c | 63 NtHeader->FileHeader.SizeOfOptionalHeader = FIELD_OFFSET(IMAGE_OPTIONAL_HEADER, DataDirectory); in START_TEST() 65 NtHeader->FileHeader.SizeOfOptionalHeader); in START_TEST()
|
H A D | LdrEnumResources.c | 170 TestImage->NtHeaders.FileHeader.SizeOfOptionalHeader = sizeof(IMAGE_OPTIONAL_HEADER); in InitializeTestImage()
|
/reactos/sdk/include/host/ |
H A D | pecoff.h | 95 WORD SizeOfOptionalHeader; member 267 …OFFSET(IMAGE_NT_HEADERS,OptionalHeader)+((PIMAGE_NT_HEADERS)(h))->FileHeader.SizeOfOptionalHeader))
|
/reactos/sdk/tools/rsym/ |
H A D | rsym.cmake.c | 89 FileHeader->SizeOfOptionalHeader); in main()
|
H A D | raddr2line.c | 131 …ectionHeaders = (PIMAGE_SECTION_HEADER)((char *) PEOptHeader + PEFileHeader->SizeOfOptionalHeader); in process_data()
|
H A D | rsym64.c | 765 + File->FileHeader->SizeOfOptionalHeader); in ParsePEHeaders() 770 + File->FileHeader->SizeOfOptionalHeader; in ParsePEHeaders()
|
H A D | rsym.c | 980 …tionHeaders = (PIMAGE_SECTION_HEADER)((char *) OutOptHeader + OutFileHeader->SizeOfOptionalHeader); in CreateOutputFile() 1339 …ectionHeaders = (PIMAGE_SECTION_HEADER)((char *) PEOptHeader + PEFileHeader->SizeOfOptionalHeader); in main()
|
/reactos/sdk/tools/obj2bin/ |
H A D | obj2bin.c | 138 pSectionHeader = (void*)(((char*)(pFileHeader + 1)) + pFileHeader->SizeOfOptionalHeader); in main()
|
/reactos/sdk/tools/log2lines/ |
H A D | image.c | 87 …SectionHeaders = (PIMAGE_SECTION_HEADER)((char *)PEOptHeader + PEFileHeader->SizeOfOptionalHeader); in get_sectionheader()
|
/reactos/sdk/include/ddk/ |
H A D | ntimage.h | 254 USHORT SizeOfOptionalHeader; member 430 ((NtHeader))->FileHeader.SizeOfOptionalHeader))
|
/reactos/modules/rostests/winetests/kernel32/ |
H A D | loader.c | 193 if (nt_header->FileHeader.SizeOfOptionalHeader) in create_test_dll() 200 if (nt_header->FileHeader.SizeOfOptionalHeader > sizeof(IMAGE_OPTIONAL_HEADER)) in create_test_dll() 729 nt_header.FileHeader.SizeOfOptionalHeader = td[i].size_of_optional_header; in test_Loader() 977 nt_header.FileHeader.SizeOfOptionalHeader = sizeof(IMAGE_OPTIONAL_HEADER); in test_Loader() 1106 nt64.FileHeader.SizeOfOptionalHeader = sizeof(IMAGE_OPTIONAL_HEADER64); in test_Loader() 1221 nt32.FileHeader.SizeOfOptionalHeader = sizeof(IMAGE_OPTIONAL_HEADER32); in test_Loader() 1327 nt_header.FileHeader.SizeOfOptionalHeader = sizeof(IMAGE_OPTIONAL_HEADER); in test_filenames() 1866 nt_header.FileHeader.SizeOfOptionalHeader = sizeof(IMAGE_OPTIONAL_HEADER); in test_section_access() 2032 nt.FileHeader.SizeOfOptionalHeader = sizeof(IMAGE_OPTIONAL_HEADER); in test_import_resolution() 2952 nt_header.FileHeader.SizeOfOptionalHeader = sizeof(IMAGE_OPTIONAL_HEADER); in test_ExitProcess() [all …]
|
H A D | resource.c | 182 nt->FileHeader.SizeOfOptionalHeader = sizeof nt->OptionalHeader; in build_exe()
|
/reactos/sdk/tools/ |
H A D | dumpstab.c | 195 …ectionHeaders = (PIMAGE_SECTION_HEADER)((char *) PEOptHeader + PEFileHeader->SizeOfOptionalHeader); in main()
|
/reactos/drivers/filesystems/udfs/Include/ |
H A D | ntddk_ex.h | 127 WORD SizeOfOptionalHeader; member
|
/reactos/boot/freeldr/freeldr/lib/mm/ |
H A D | meminit.c | 264 (FileHeader->SizeOfOptionalHeader != sizeof(IMAGE_OPTIONAL_HEADER))) in MmCheckFreeldrImageFile() 281 FileHeader->SizeOfOptionalHeader, sizeof(IMAGE_OPTIONAL_HEADER)); in MmCheckFreeldrImageFile()
|
/reactos/dll/win32/imagehlp/ |
H A D | access.c | 192 pNtHeader->FileHeader.SizeOfOptionalHeader); in MapAndLoad()
|
H A D | integrity.c | 839 nt_hdr->FileHeader.SizeOfOptionalHeader; in ImageGetDigestStream()
|
/reactos/modules/rostests/apitests/dbghelp/ |
H A D | data.c | 265 …SectionHeaders = (PIMAGE_SECTION_HEADER)((char *)PEOptHeader + PEFileHeader->SizeOfOptionalHeader);
|
/reactos/dll/win32/dbghelp/ |
H A D | pe_module.c | 277 ((char*)&nthdr->OptionalHeader + nthdr->FileHeader.SizeOfOptionalHeader); in pe_map_file() 652 …t IMAGE_SECTION_HEADER*)((const char*)&nth->OptionalHeader + nth->FileHeader.SizeOfOptionalHeader); in pe_load_msc_debug_info() 694 ((char*)&nth->OptionalHeader + nth->FileHeader.SizeOfOptionalHeader); in pe_load_export_debug_info()
|
/reactos/drivers/storage/ide/uniata/ |
H A D | ntddk_ex.h | 555 WORD SizeOfOptionalHeader; member
|
/reactos/ntoskrnl/mm/ |
H A D | section.c | 420 …if(!Intsafe_AddULong32(&cbNtHeaderSize, pinhNtHeader->FileHeader.SizeOfOptionalHeader, FIELD_OFFSE… in PeFmtCreateSection() 442 …ng32(&cbOptHeaderOffsetSize, cbOptHeaderOffsetSize, pinhNtHeader->FileHeader.SizeOfOptionalHeader)) in PeFmtCreateSection() 443 …eader is too large, SizeOfOptionalHeader is %X\n", pinhNtHeader->FileHeader.SizeOfOptionalHeader)); in PeFmtCreateSection() 452 cbOptHeaderSize = pinhNtHeader->FileHeader.SizeOfOptionalHeader; in PeFmtCreateSection() 683 …32(&cbSectionHeadersOffset, cbSectionHeadersOffset, pinhNtHeader->FileHeader.SizeOfOptionalHeader)) in PeFmtCreateSection()
|
/reactos/modules/rostests/winetests/ntdll/ |
H A D | generated.c | 788 TEST_FIELD_SIZE (IMAGE_FILE_HEADER, SizeOfOptionalHeader, 2) in test_pack_IMAGE_FILE_HEADER() 789 TEST_FIELD_ALIGN (IMAGE_FILE_HEADER, SizeOfOptionalHeader, 2) in test_pack_IMAGE_FILE_HEADER() 790 TEST_FIELD_OFFSET(IMAGE_FILE_HEADER, SizeOfOptionalHeader, 16) in test_pack_IMAGE_FILE_HEADER() 4205 TEST_FIELD_SIZE (IMAGE_FILE_HEADER, SizeOfOptionalHeader, 2) in test_pack_IMAGE_FILE_HEADER() 4206 TEST_FIELD_ALIGN (IMAGE_FILE_HEADER, SizeOfOptionalHeader, 2) in test_pack_IMAGE_FILE_HEADER() 4207 TEST_FIELD_OFFSET(IMAGE_FILE_HEADER, SizeOfOptionalHeader, 16) in test_pack_IMAGE_FILE_HEADER()
|
/reactos/dll/win32/version/ |
H A D | version.c | 308 …n = FIELD_OFFSET( IMAGE_NT_HEADERS32, OptionalHeader ) + pehd.nt32.FileHeader.SizeOfOptionalHeader; in find_pe_resource()
|
/reactos/sdk/include/xdk/ |
H A D | winnt_old.h | 703 …OFFSET(IMAGE_NT_HEADERS,OptionalHeader)+((PIMAGE_NT_HEADERS)(h))->FileHeader.SizeOfOptionalHeader)) 3065 WORD SizeOfOptionalHeader; member
|