/dports/lang/zig/zig-0.9.0/lib/libc/mingw/crt/ |
H A D | pesect.c | 27 PIMAGE_NT_HEADERS pNTHeader; in _ValidateImageBase() local 34 if (pNTHeader->Signature != IMAGE_NT_SIGNATURE) in _ValidateImageBase() 47 PIMAGE_NT_HEADERS pNTHeader; in _FindPESection() local 54 iSection < pNTHeader->FileHeader.NumberOfSections; in _FindPESection() 70 PIMAGE_NT_HEADERS pNTHeader; in _FindPESectionByName() local 85 iSection < pNTHeader->FileHeader.NumberOfSections; in _FindPESectionByName() 115 PIMAGE_NT_HEADERS pNTHeader; in __mingw_GetSectionCount() local 123 return (int) pNTHeader->FileHeader.NumberOfSections; in __mingw_GetSectionCount() 133 PIMAGE_NT_HEADERS pNTHeader; in _FindPESectionExec() local 144 iSection < pNTHeader->FileHeader.NumberOfSections; in _FindPESectionExec() [all …]
|
/dports/lang/zig-devel/zig-0.9.0/lib/libc/mingw/crt/ |
H A D | pesect.c | 27 PIMAGE_NT_HEADERS pNTHeader; in _ValidateImageBase() local 34 if (pNTHeader->Signature != IMAGE_NT_SIGNATURE) in _ValidateImageBase() 47 PIMAGE_NT_HEADERS pNTHeader; in _FindPESection() local 54 iSection < pNTHeader->FileHeader.NumberOfSections; in _FindPESection() 70 PIMAGE_NT_HEADERS pNTHeader; in _FindPESectionByName() local 85 iSection < pNTHeader->FileHeader.NumberOfSections; in _FindPESectionByName() 115 PIMAGE_NT_HEADERS pNTHeader; in __mingw_GetSectionCount() local 123 return (int) pNTHeader->FileHeader.NumberOfSections; in __mingw_GetSectionCount() 133 PIMAGE_NT_HEADERS pNTHeader; in _FindPESectionExec() local 144 iSection < pNTHeader->FileHeader.NumberOfSections; in _FindPESectionExec() [all …]
|
/dports/net/mpich/mpich-3.4.3/maint/ |
H A D | gccimpgen.cpp | 13 pNTHeader) in GetSecHeader() argument 16 section = IMAGE_FIRST_SECTION(pNTHeader); in GetSecHeader() 17 for (int i = 0; i < pNTHeader->FileHeader.NumberOfSections; i++, section++) { in GetSecHeader() 29 NTHeaderType * pNTHeader, in GetRealAddrFromRVA() argument 32 PIMAGE_SECTION_HEADER pSectionHdr = GetSecHeader(rva, pNTHeader); in GetRealAddrFromRVA() 49 NTHeaderType * pNTHeader) in PrintDefFileWithExpSymbols() argument 53 pNTHeader->OptionalHeader.DataDirectory[IMAGE_DIRECTORY_ENTRY_EXPORT].VirtualAddress; in PrintDefFileWithExpSymbols() 57 (PIMAGE_EXPORT_DIRECTORY) GetRealAddrFromRVA(expSecRVA, pNTHeader, pImageBase); in PrintDefFileWithExpSymbols() 59 (PDWORD) GetRealAddrFromRVA(pExportDir->AddressOfNames, pNTHeader, pImageBase); in PrintDefFileWithExpSymbols() 67 printf("\t%s @ %d ;\n", GetRealAddrFromRVA(pszFuncNames[i], pNTHeader, pImageBase), in PrintDefFileWithExpSymbols()
|
/dports/net/mpich2/mpich2-1.5/maint/ |
H A D | gccimpgen.cpp | 12 … NTHeaderType> static inline PIMAGE_SECTION_HEADER GetSecHeader(DWORD rva, NTHeaderType* pNTHeader) in GetSecHeader() argument 15 section = IMAGE_FIRST_SECTION(pNTHeader); in GetSecHeader() 16 for (int i=0; i < pNTHeader->FileHeader.NumberOfSections; i++, section++){ in GetSecHeader() 27 …rType> static inline LPVOID GetRealAddrFromRVA(DWORD rva, NTHeaderType* pNTHeader, PBYTE imageBase… in GetRealAddrFromRVA() argument 29 PIMAGE_SECTION_HEADER pSectionHdr = GetSecHeader(rva, pNTHeader); in GetRealAddrFromRVA() 45 … <typename NTHeaderType> void PrintDefFileWithExpSymbols(PBYTE pImageBase, NTHeaderType *pNTHeader) in PrintDefFileWithExpSymbols() argument 48 …DWORD expSecRVA = pNTHeader->OptionalHeader.DataDirectory[IMAGE_DIRECTORY_ENTRY_EXPORT].VirtualAdd… in PrintDefFileWithExpSymbols() 51 …ECTORY pExportDir = (PIMAGE_EXPORT_DIRECTORY )GetRealAddrFromRVA(expSecRVA, pNTHeader, pImageBase); in PrintDefFileWithExpSymbols() 52 …PDWORD pszFuncNames = (PDWORD ) GetRealAddrFromRVA( pExportDir->AddressOfNames, pNTHeader, pImageB… in PrintDefFileWithExpSymbols() 60 … printf("\t%s @ %d ;\n", GetRealAddrFromRVA(pszFuncNames[i], pNTHeader, pImageBase), i+1); in PrintDefFileWithExpSymbols()
|
/dports/devel/dyncall/dyncall-1.3/dynload/ |
H A D | dynload_syms_pe.c | 50 IMAGE_NT_HEADERS* pNTHeader; in dlSymsInit() local 61 pNTHeader = (IMAGE_NT_HEADERS*)(base + pDOSHeader->e_lfanew); in dlSymsInit() 64 …if(pNTHeader->FileHeader.SizeOfOptionalHeader < (&pNTHeader->OptionalHeader.DataDirectory - &pNTHe… in dlSymsInit() 68 if(pNTHeader->OptionalHeader.NumberOfRvaAndSizes <= IMAGE_DIRECTORY_ENTRY_EXPORT) in dlSymsInit() 71 pExportsDataDir = &pNTHeader->OptionalHeader.DataDirectory[IMAGE_DIRECTORY_ENTRY_EXPORT]; in dlSymsInit()
|
/dports/textproc/stardict3/stardict-3.0.6/dict/src/win32/ |
H A D | HookImportFunction.c | 32 PIMAGE_NT_HEADERS pNTHeader; in GetNamedImportDescriptor() local 41 pNTHeader = MakePtr(PIMAGE_NT_HEADERS, pDOSHeader, pDOSHeader->e_lfanew); in GetNamedImportDescriptor() 42 …if (IsBadReadPtr(pNTHeader, sizeof(IMAGE_NT_HEADERS)) || (pNTHeader->Signature != IMAGE_NT_SIGNATU… in GetNamedImportDescriptor() 44 if (pNTHeader->OptionalHeader.DataDirectory[IMAGE_DIRECTORY_ENTRY_IMPORT].VirtualAddress == 0) in GetNamedImportDescriptor() 46 …pImportDesc = MakePtr(PIMAGE_IMPORT_DESCRIPTOR, pDOSHeader, pNTHeader->OptionalHeader.DataDirector… in GetNamedImportDescriptor()
|
/dports/textproc/goldendict/goldendict-73ec1b5/mouseover_win32/ |
H A D | HookImportFunction.c | 13 PIMAGE_NT_HEADERS pNTHeader; in GetNamedImportDescriptor() local 22 pNTHeader = MakePtr(PIMAGE_NT_HEADERS, pDOSHeader, pDOSHeader->e_lfanew); in GetNamedImportDescriptor() 23 …if (IsBadReadPtr(pNTHeader, sizeof(IMAGE_NT_HEADERS)) || (pNTHeader->Signature != IMAGE_NT_SIGNATU… in GetNamedImportDescriptor() 25 if (pNTHeader->OptionalHeader.DataDirectory[IMAGE_DIRECTORY_ENTRY_IMPORT].VirtualAddress == 0) in GetNamedImportDescriptor() 27 …pImportDesc = MakePtr(PIMAGE_IMPORT_DESCRIPTOR, pDOSHeader, pNTHeader->OptionalHeader.DataDirector… in GetNamedImportDescriptor()
|
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/src/jdk.incubator.jpackage/windows/native/libapplauncher/ |
H A D | WindowsPlatform.cpp | 511 PIMAGE_NT_HEADERS pNTHeader) { in GetEnclosingSectionHeader() argument 513 PIMAGE_SECTION_HEADER section = IMAGE_FIRST_SECTION(pNTHeader); in GetEnclosingSectionHeader() 531 pNTHeader); in GetPtrFromRVA() 544 PIMAGE_NT_HEADERS pNTHeader) { in GetImportsSection() argument 550 DWORD importsStartRVA = pNTHeader->OptionalHeader.DataDirectory[ in GetImportsSection() 557 GetEnclosingSectionHeader(importsStartRVA, pNTHeader); in GetImportsSection() 562 importsStartRVA, pNTHeader, base); in GetImportsSection() 573 importDesc->Name, pNTHeader, base); in GetImportsSection() 590 PIMAGE_NT_HEADERS pNTHeader = in DumpPEFile() local 598 if (pNTHeader->Signature == IMAGE_NT_SIGNATURE) { in DumpPEFile() [all …]
|
H A D | WindowsPlatform.h | 121 PIMAGE_NT_HEADERS pNTHeader); 122 static LPVOID GetPtrFromRVA(DWORD rva, PIMAGE_NT_HEADERS pNTHeader, 125 PIMAGE_NT_HEADERS pNTHeader);
|
/dports/lang/php81/php-8.1.1/win32/ |
H A D | winutil.c | 445 PIMAGE_NT_HEADERS pNTHeader = (PIMAGE_NT_HEADERS)((char *) dosHeader + dosHeader->e_lfanew); in is_compatible() local 447 DWORD major = pNTHeader->OptionalHeader.MajorLinkerVersion; in is_compatible() 448 DWORD minor = pNTHeader->OptionalHeader.MinorLinkerVersion; in is_compatible()
|
/dports/www/mod_php80/php-8.0.15/win32/ |
H A D | winutil.c | 445 PIMAGE_NT_HEADERS pNTHeader = (PIMAGE_NT_HEADERS)((char *) dosHeader + dosHeader->e_lfanew); in is_compatible() local 447 DWORD major = pNTHeader->OptionalHeader.MajorLinkerVersion; in is_compatible() 448 DWORD minor = pNTHeader->OptionalHeader.MinorLinkerVersion; in is_compatible()
|
/dports/lang/php80/php-8.0.15/win32/ |
H A D | winutil.c | 445 PIMAGE_NT_HEADERS pNTHeader = (PIMAGE_NT_HEADERS)((char *) dosHeader + dosHeader->e_lfanew); in is_compatible() local 447 DWORD major = pNTHeader->OptionalHeader.MajorLinkerVersion; in is_compatible() 448 DWORD minor = pNTHeader->OptionalHeader.MinorLinkerVersion; in is_compatible()
|
/dports/www/mod_php81/php-8.1.1/win32/ |
H A D | winutil.c | 445 PIMAGE_NT_HEADERS pNTHeader = (PIMAGE_NT_HEADERS)((char *) dosHeader + dosHeader->e_lfanew); in is_compatible() local 447 DWORD major = pNTHeader->OptionalHeader.MajorLinkerVersion; in is_compatible() 448 DWORD minor = pNTHeader->OptionalHeader.MinorLinkerVersion; in is_compatible()
|