Home
last modified time | relevance | path

Searched refs:SizeOfOptionalHeader (Results 1 – 25 of 28) sorted by relevance

12

/reactos/sdk/tools/geninc/
H A Dgeninc.c42 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 DRtlImageRvaToVa.c63 NtHeader->FileHeader.SizeOfOptionalHeader = FIELD_OFFSET(IMAGE_OPTIONAL_HEADER, DataDirectory); in START_TEST()
65 NtHeader->FileHeader.SizeOfOptionalHeader); in START_TEST()
H A DLdrEnumResources.c170 TestImage->NtHeaders.FileHeader.SizeOfOptionalHeader = sizeof(IMAGE_OPTIONAL_HEADER); in InitializeTestImage()
/reactos/sdk/include/host/
H A Dpecoff.h95 WORD SizeOfOptionalHeader; member
267 …OFFSET(IMAGE_NT_HEADERS,OptionalHeader)+((PIMAGE_NT_HEADERS)(h))->FileHeader.SizeOfOptionalHeader))
/reactos/sdk/tools/rsym/
H A Drsym.cmake.c89 FileHeader->SizeOfOptionalHeader); in main()
H A Draddr2line.c131 …ectionHeaders = (PIMAGE_SECTION_HEADER)((char *) PEOptHeader + PEFileHeader->SizeOfOptionalHeader); in process_data()
H A Drsym64.c765 + File->FileHeader->SizeOfOptionalHeader); in ParsePEHeaders()
770 + File->FileHeader->SizeOfOptionalHeader; in ParsePEHeaders()
H A Drsym.c980 …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 Dobj2bin.c138 pSectionHeader = (void*)(((char*)(pFileHeader + 1)) + pFileHeader->SizeOfOptionalHeader); in main()
/reactos/sdk/tools/log2lines/
H A Dimage.c87 …SectionHeaders = (PIMAGE_SECTION_HEADER)((char *)PEOptHeader + PEFileHeader->SizeOfOptionalHeader); in get_sectionheader()
/reactos/sdk/include/ddk/
H A Dntimage.h254 USHORT SizeOfOptionalHeader; member
430 ((NtHeader))->FileHeader.SizeOfOptionalHeader))
/reactos/modules/rostests/winetests/kernel32/
H A Dloader.c193 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 Dresource.c182 nt->FileHeader.SizeOfOptionalHeader = sizeof nt->OptionalHeader; in build_exe()
/reactos/sdk/tools/
H A Ddumpstab.c195 …ectionHeaders = (PIMAGE_SECTION_HEADER)((char *) PEOptHeader + PEFileHeader->SizeOfOptionalHeader); in main()
/reactos/drivers/filesystems/udfs/Include/
H A Dntddk_ex.h127 WORD SizeOfOptionalHeader; member
/reactos/boot/freeldr/freeldr/lib/mm/
H A Dmeminit.c264 (FileHeader->SizeOfOptionalHeader != sizeof(IMAGE_OPTIONAL_HEADER))) in MmCheckFreeldrImageFile()
281 FileHeader->SizeOfOptionalHeader, sizeof(IMAGE_OPTIONAL_HEADER)); in MmCheckFreeldrImageFile()
/reactos/dll/win32/imagehlp/
H A Daccess.c192 pNtHeader->FileHeader.SizeOfOptionalHeader); in MapAndLoad()
H A Dintegrity.c839 nt_hdr->FileHeader.SizeOfOptionalHeader; in ImageGetDigestStream()
/reactos/modules/rostests/apitests/dbghelp/
H A Ddata.c265 …SectionHeaders = (PIMAGE_SECTION_HEADER)((char *)PEOptHeader + PEFileHeader->SizeOfOptionalHeader);
/reactos/dll/win32/dbghelp/
H A Dpe_module.c277 ((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 Dntddk_ex.h555 WORD SizeOfOptionalHeader; member
/reactos/ntoskrnl/mm/
H A Dsection.c420 …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 Dgenerated.c788 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 Dversion.c308 …n = FIELD_OFFSET( IMAGE_NT_HEADERS32, OptionalHeader ) + pehd.nt32.FileHeader.SizeOfOptionalHeader; in find_pe_resource()
/reactos/sdk/include/xdk/
H A Dwinnt_old.h703 …OFFSET(IMAGE_NT_HEADERS,OptionalHeader)+((PIMAGE_NT_HEADERS)(h))->FileHeader.SizeOfOptionalHeader))
3065 WORD SizeOfOptionalHeader; member

12