ReactOS 0.4.16-dev-287-g2d3f3a1
|
Go to the source code of this file.
Macros | |
#define | NDEBUG |
#define | DEFAULT_SECURITY_COOKIE 0xBB40E64E |
#define | VALID_CONFIG_FIELD(Name) (ConfigSize >= RTL_SIZEOF_THROUGH_FIELD(IMAGE_LOAD_CONFIG_DIRECTORY, Name)) |
#define VALID_CONFIG_FIELD | ( | Name | ) | (ConfigSize >= RTL_SIZEOF_THROUGH_FIELD(IMAGE_LOAD_CONFIG_DIRECTORY, Name)) |
NTSTATUS NTAPI LdrOpenImageFileOptionsKey | ( | _In_ PUNICODE_STRING | SubKey, |
_In_ BOOLEAN | Wow64, | ||
_Out_ PHANDLE | NewKeyHandle | ||
) |
Definition at line 112 of file ldrinit.c.
Referenced by CreateProcessInternalW(), LdrpInitializeExecutionOptions(), and LdrQueryImageFileExecutionOptionsEx().
Definition at line 1321 of file ldrinit.c.
Referenced by LdrpInitializeThread(), and LdrpInitializeTls().
Definition at line 1546 of file ldrinit.c.
Referenced by LdrpInitializeProcessCompat().
Definition at line 409 of file ldrinit.c.
Referenced by LdrpCheckForKnownDll(), and LdrpRunInitializeRoutines().
NTSTATUS LdrPerformRelocations | ( | PIMAGE_NT_HEADERS | NTHeaders, |
PVOID | ImageBase | ||
) |
Definition at line 416 of file ldrinit.c.
Referenced by LdrpInitSecurityCookie().
Definition at line 1384 of file ldrinit.c.
Referenced by LdrShutdownThread().
Definition at line 2562 of file ldrinit.c.
Definition at line 2544 of file ldrinit.c.
Referenced by LdrpInit(), and LdrpInitializeProcess().
VOID NTAPI LdrpInitializeDotLocalSupport | ( | PRTL_USER_PROCESS_PARAMETERS | ProcessParameters | ) |
Definition at line 1696 of file ldrinit.c.
Referenced by LdrpInitializeProcess().
NTSTATUS NTAPI LdrpInitializeExecutionOptions | ( | PUNICODE_STRING | ImagePathName, |
PPEB | Peb, | ||
PHANDLE | OptionsKey | ||
) |
Definition at line 1420 of file ldrinit.c.
Referenced by LdrpInitializeProcess().
Definition at line 1757 of file ldrinit.c.
Referenced by LdrpInit().
Definition at line 1580 of file ldrinit.c.
Definition at line 506 of file ldrinit.c.
Referenced by LdrpInit().
Definition at line 1258 of file ldrinit.c.
Referenced by LdrpInitializeProcess().
PVOID NTAPI LdrpInitSecurityCookie | ( | PLDR_DATA_TABLE_ENTRY | LdrEntry | ) |
Definition at line 453 of file ldrinit.c.
Referenced by LdrpRunInitializeRoutines().
Definition at line 641 of file ldrinit.c.
Referenced by LdrpGetProcedureAddress(), LdrpInitializeProcess(), and LdrpLoadDll().
VOID NTAPI LdrpValidateImageForMp | ( | IN PLDR_DATA_TABLE_ENTRY | LdrDataTableEntry | ) |
Definition at line 1539 of file ldrinit.c.
Referenced by LdrpInitializeProcess(), and LdrpMapDll().
NTSTATUS NTAPI LdrQueryImageFileExecutionOptions | ( | _In_ PUNICODE_STRING | SubKey, |
_In_ PCWSTR | ValueName, | ||
_In_ ULONG | Type, | ||
_Out_ PVOID | Buffer, | ||
_In_ ULONG | BufferSize, | ||
_Out_opt_ PULONG | ReturnedLength | ||
) |
Definition at line 389 of file ldrinit.c.
Referenced by LdrpRunInitializeRoutines(), and SmpLoadSubSystemsForMuSession().
NTSTATUS NTAPI LdrQueryImageFileExecutionOptionsEx | ( | _In_ PUNICODE_STRING | SubKey, |
_In_ PCWSTR | ValueName, | ||
_In_ ULONG | Type, | ||
_Out_ PVOID | Buffer, | ||
_In_ ULONG | BufferSize, | ||
_Out_opt_ PULONG | ReturnedLength, | ||
_In_ BOOLEAN | Wow64 | ||
) |
Definition at line 350 of file ldrinit.c.
Referenced by LdrQueryImageFileExecutionOptions().
NTSTATUS NTAPI LdrQueryImageFileKeyOption | ( | _In_ HANDLE | KeyHandle, |
_In_ PCWSTR | ValueName, | ||
_In_ ULONG | Type, | ||
_Out_ PVOID | Buffer, | ||
_In_ ULONG | BufferSize, | ||
_Out_opt_ PULONG | ReturnedLength | ||
) |
Definition at line 185 of file ldrinit.c.
Referenced by AVrfReadIFEO(), CreateProcessInternalW(), LdrpInitializeExecutionOptions(), LdrpInitializeProcess(), and LdrQueryImageFileExecutionOptionsEx().
Definition at line 943 of file ldrinit.c.
Referenced by ExitProcess().
Definition at line 1082 of file ldrinit.c.
Definition at line 272 of file critical.c.
Referenced by LdrpInitializeProcess().
Referenced by LdrpInitializeProcess().
Definition at line 30 of file vectoreh.c.
Referenced by LdrpInitializeProcess().
RTL_CRITICAL_SECTION FastPebLock |
Definition at line 79 of file ldrinit.c.
Referenced by FlsCallback3(), LdrpInitializeProcess(), and START_TEST().
RTL_BITMAP FlsBitMap |
Definition at line 51 of file ldrinit.c.
Referenced by LdrpInitializeProcess().
HANDLE ImageExecOptionsKey |
Definition at line 22 of file ldrinit.c.
Referenced by LdrOpenImageFileOptionsKey().
UNICODE_STRING ImageExecOptionsString = RTL_CONSTANT_STRING(L"\\Registry\\Machine\\Software\\Microsoft\\Windows NT\\CurrentVersion\\Image File Execution Options") |
Definition at line 24 of file ldrinit.c.
Referenced by DisplayImageInfo(), LdrOpenImageFileOptionsKey(), and ModifyStatus().
UNICODE_STRING Kernel32String = RTL_CONSTANT_STRING(L"kernel32.dll") |
Definition at line 27 of file ldrinit.c.
Referenced by LdrpInitializeProcess().
ULONG LdrpActiveUnloadCount |
Definition at line 84 of file ldrinit.c.
Referenced by LdrUnloadDll().
PLDR_DATA_TABLE_ENTRY LdrpCurrentDllInitializer |
Definition at line 43 of file ldrinit.c.
Referenced by LdrLoadDll(), and LdrpRunInitializeRoutines().
UNICODE_STRING LdrpDefaultPath |
Definition at line 65 of file ldrinit.c.
Referenced by LdrpCheckForLoadedDll(), LdrpInitializeProcess(), LdrpMapDll(), LdrpResolveDllName(), and LdrpSearchPath().
LIST_ENTRY LdrpDllNotificationList |
Definition at line 61 of file ldrinit.c.
Referenced by LdrpInitializeProcess().
BOOLEAN LdrpDllValidation |
Definition at line 37 of file ldrinit.c.
Referenced by LdrpInitializeProcess().
const UNICODE_STRING LdrpDotLocal = RTL_CONSTANT_STRING(L".Local") |
Definition at line 28 of file ldrinit.c.
Referenced by LdrpInitializeDotLocalSupport().
ULONG LdrpFatalHardErrorCount |
Definition at line 83 of file ldrinit.c.
Referenced by LdrpCreateDllSection(), LdrpInitFailure(), LdrpMapDll(), and LdrpSnapThunk().
LIST_ENTRY LdrpHashTable[LDR_HASH_TABLE_ENTRIES] |
Definition at line 60 of file ldrinit.c.
Referenced by LdrpCheckForLoadedDll(), LdrpInitializeProcess(), and LdrpInsertMemoryTableEntry().
PVOID LdrpHeap |
Definition at line 59 of file ldrinit.c.
Referenced by LdrpAllocateDataTableEntry(), LdrpAllocateUnicodeString(), LdrpCheckForKnownDll(), LdrpFinalizeAndDeallocateDataTableEntry(), LdrpFreeUnicodeString(), LdrpInitializeProcess(), LdrpMapDll(), LdrpResolveDllName(), and LdrpRunInitializeRoutines().
PLDR_DATA_TABLE_ENTRY LdrpImageEntry |
Definition at line 39 of file ldrinit.c.
Referenced by AVrfInitializeVerifier(), AVrfpLoadAndInitializeProvider(), LdrpInitializeProcess(), LdrpInitializeThread(), LdrpRunInitializeRoutines(), LdrShutdownProcess(), and LdrShutdownThread().
BOOLEAN LdrpImageHasTls |
Definition at line 52 of file ldrinit.c.
Referenced by LdrpInitializeThread(), LdrpInitializeTls(), LdrpRunInitializeRoutines(), LdrShutdownProcess(), and LdrShutdownThread().
BOOLEAN LdrpInLdrInit |
Definition at line 30 of file ldrinit.c.
Referenced by LdrAddRefDll(), LdrDisableThreadCalloutsForDll(), LdrGetDllHandleEx(), LdrLockLoaderLock(), LdrpCreateDllSection(), LdrpGetProcedureAddress(), LdrpInit(), LdrpLoadDll(), LdrpMapDll(), LdrpSnapThunk(), and LdrUnloadDll().
HANDLE LdrpKnownDllObjectDirectory |
Definition at line 62 of file ldrinit.c.
Referenced by LdrpCheckForKnownDll(), LdrpInitializeProcess(), and LdrpMapDll().
UNICODE_STRING LdrpKnownDllPath |
Definition at line 63 of file ldrinit.c.
Referenced by LdrpCheckForKnownDll(), and LdrpInitializeProcess().
WCHAR LdrpKnownDllPathBuffer[128] |
Definition at line 64 of file ldrinit.c.
Referenced by LdrpInitializeProcess().
BOOLEAN LdrpLdrDatabaseIsSetup |
Definition at line 33 of file ldrinit.c.
Referenced by LdrpInitializeProcess(), and LdrpLoadDll().
RTL_CRITICAL_SECTION LdrpLoaderLock |
Definition at line 70 of file ldrinit.c.
Referenced by LdrLockLoaderLock(), LdrpGetProcedureAddress(), LdrpInit(), LdrpInitializeProcess(), LdrpLoadDll(), LdrShutdownProcess(), LdrShutdownThread(), and LdrUnlockLoaderLock().
RTL_CRITICAL_SECTION_DEBUG LdrpLoaderLockDebug |
BOOLEAN LdrpLoaderLockInit |
Definition at line 32 of file ldrinit.c.
Referenced by LdrpInitializeProcess().
PLDR_DATA_TABLE_ENTRY LdrpNtDllDataTableEntry |
Definition at line 44 of file ldrinit.c.
Referenced by LdrpInitializeProcess().
ULONG LdrpNumberOfProcessors |
Definition at line 55 of file ldrinit.c.
Referenced by LdrpInitializeProcess(), and LdrpMapDll().
ULONG LdrpNumberOfTlsEntries |
Definition at line 54 of file ldrinit.c.
Referenced by LdrpAllocateTls(), and LdrpInitializeTls().
LONG LdrpProcessInitialized |
Definition at line 31 of file ldrinit.c.
Referenced by LdrpInit().
BOOLEAN LdrpShutdownInProgress |
Definition at line 34 of file ldrinit.c.
Referenced by LdrpInitializeThread(), LdrShutdownProcess(), and LdrShutdownThread().
HANDLE LdrpShutdownThreadId |
Definition at line 35 of file ldrinit.c.
Referenced by LdrShutdownProcess().
LIST_ENTRY LdrpTlsList |
Definition at line 53 of file ldrinit.c.
Referenced by LdrpAllocateTls(), LdrpFreeTls(), and LdrpInitializeTls().
PUNICODE_STRING LdrpTopLevelDllBeingLoaded |
Definition at line 40 of file ldrinit.c.
Referenced by LdrLoadDll().
|
extern |
Definition at line 20 of file libsupp.c.
Referenced by LdrpRunInitializeRoutines(), and RtlIsThreadWithinLoaderCallout().
PVOID NtDllBase |
Definition at line 56 of file ldrinit.c.
Referenced by LdrpInitializeProcess().
UNICODE_STRING NtDllString = RTL_CONSTANT_STRING(L"ntdll.dll") |
Definition at line 26 of file ldrinit.c.
Referenced by LdrpInitializeProcess().
PEB_LDR_DATA PebLdr |
Definition at line 67 of file ldrinit.c.
Referenced by KiPrepareUserDebugData(), and LdrpInitializeProcess().
ULONG RtlpDisableHeapLookaside |
Definition at line 92 of file ldrinit.c.
Referenced by LdrpInitializeExecutionOptions().
ULONG RtlpShutdownProcessFlags |
Definition at line 93 of file ldrinit.c.
Referenced by LdrpInitializeExecutionOptions().
|
extern |
Definition at line 25 of file critical.c.
Referenced by LdrpInitializeProcess(), RtlpUnWaitCriticalSection(), and RtlpWaitForCriticalSection().
|
extern |
Definition at line 26 of file critical.c.
Referenced by LdrpInitializeProcess(), and RtlpWaitForCriticalSection().
|
extern |
Referenced by LdrpInit(), and RtlInterlockedPushListSList().
BOOLEAN ShowSnaps |
Definition at line 81 of file ldrinit.c.
Referenced by LdrAddRefDll(), LdrGetDllHandleEx(), LdrLoadDll(), LdrpAllocateTls(), LdrpCallTlsInitializers(), LdrpCheckForLoadedDll(), LdrpCreateDllSection(), LdrpGetProcedureAddress(), LdrpHandleOneNewFormatImportDescriptor(), LdrpHandleOneOldFormatImportDescriptor(), LdrpInitializeProcess(), LdrpInitializeTls(), LdrpLoadDll(), LdrpMapDll(), LdrpResolveDllName(), LdrpResolveFullName(), LdrpRunInitializeRoutines(), LdrpSearchPath(), LdrpSnapThunk(), LdrpUpdateLoadCount3(), LdrShutdownProcess(), and LdrUnloadDll().
WCHAR StringBuffer[156] |
Definition at line 41 of file ldrinit.c.
Referenced by AVrfpLoadAndInitializeProvider(), ConDrvReadConsoleOutputString(), ConDrvWriteConsole(), ConDrvWriteConsoleOutputString(), ConMgrSerialPortConsumer(), HalpRegisterPciDebuggingDeviceInfo(), InitializeNamedEntry(), IntReadConsoleOutputStringAttributes(), IntReadConsoleOutputStringChars(), IntWriteConsoleOutputStringAttribute(), IntWriteConsoleOutputStringChars(), IopLogWorker(), LdrLoadDll(), LdrpInitializeProcess(), LdrpSnapThunk(), ObpCaptureObjectName(), ok_keys_(), PciQueryId(), Phase1InitializationDiscard(), PreloadGlobalMessageTable(), PrintResString(), RtlQueryAtomInAtomTable(), and wmain().
RTL_BITMAP TlsBitMap |
Definition at line 49 of file ldrinit.c.
Referenced by LdrpInitializeProcess().
RTL_BITMAP TlsExpansionBitMap |
Definition at line 50 of file ldrinit.c.
Referenced by LdrpInitializeProcess().
HANDLE Wow64ExecOptionsKey |
Definition at line 23 of file ldrinit.c.
Referenced by LdrOpenImageFileOptionsKey().
UNICODE_STRING Wow64OptionsString = RTL_CONSTANT_STRING(L"") |
Definition at line 25 of file ldrinit.c.
Referenced by LdrOpenImageFileOptionsKey().