ReactOS 0.4.15-dev-8636-g945e856
|
Go to the source code of this file.
Classes | |
struct | _LDRP_TLS_DATA |
Macros | |
#define | LDR_HASH_TABLE_ENTRIES 32 |
#define | LDR_GET_HASH_ENTRY(x) (RtlUpcaseUnicodeChar((x)) & (LDR_HASH_TABLE_ENTRIES - 1)) |
#define | LDRP_UPDATE_REFCOUNT 0x01 |
#define | LDRP_UPDATE_DEREFCOUNT 0x02 |
#define | LDRP_UPDATE_PIN 0x03 |
#define | IMAGE_LOADER_FLAGS_COMPLUS 0x00000001 |
#define | IMAGE_LOADER_FLAGS_SYSTEM_GLOBAL 0x01000000 |
#define | DPH_FLAG_DLL_NOTIFY 0x40 |
Typedefs | |
typedef struct _LDRP_TLS_DATA | LDRP_TLS_DATA |
typedef struct _LDRP_TLS_DATA * | PLDRP_TLS_DATA |
typedef NTSTATUS(NTAPI * | PLDR_APP_COMPAT_DLL_REDIRECTION_CALLBACK_FUNCTION) (_In_ ULONG Flags, _In_ PCWSTR DllName, _In_ PCWSTR DllPath OPTIONAL, _Inout_opt_ PULONG DllCharacteristics, _In_ PVOID CallbackData, _Outptr_ PWSTR *EffectiveDllPath) |
typedef NTSTATUS(NTAPI * | PEPFUNC) (PPEB) |
#define LDR_GET_HASH_ENTRY | ( | x | ) | (RtlUpcaseUnicodeChar((x)) & (LDR_HASH_TABLE_ENTRIES - 1)) |
typedef struct _LDRP_TLS_DATA LDRP_TLS_DATA |
typedef struct _LDRP_TLS_DATA * PLDRP_TLS_DATA |
VOID NTAPI AVrfDllLoadNotification | ( | IN PLDR_DATA_TABLE_ENTRY | LdrEntry | ) |
Definition at line 294 of file verifier.c.
Referenced by LdrpWalkImportDescriptor().
VOID NTAPI AVrfDllUnloadNotification | ( | IN PLDR_DATA_TABLE_ENTRY | LdrEntry | ) |
Definition at line 328 of file verifier.c.
Referenced by LdrUnloadDll().
Definition at line 612 of file verifier.c.
Referenced by LdrpInitializeProcess().
VOID NTAPI AVrfPageHeapDllNotification | ( | IN PLDR_DATA_TABLE_ENTRY | LdrEntry | ) |
Definition at line 361 of file verifier.c.
Referenced by LdrpWalkImportDescriptor().
NTSTATUS LdrMapSections | ( | HANDLE | ProcessHandle, |
PVOID | ImageBase, | ||
HANDLE | SectionHandle, | ||
PIMAGE_NT_HEADERS | NTHeaders | ||
) |
PLDR_DATA_TABLE_ENTRY NTAPI LdrpAllocateDataTableEntry | ( | IN PVOID | BaseAddress | ) |
Definition at line 1523 of file ldrutils.c.
Referenced by LdrpInitializeProcess(), and LdrpMapDll().
Definition at line 1321 of file ldrinit.c.
Referenced by LdrpInitializeThread(), and LdrpInitializeTls().
NTSYSAPI NTSTATUS NTAPI LdrpApplyFileNameRedirection | ( | _In_ PUNICODE_STRING | OriginalName, |
_In_ PUNICODE_STRING | Extension, | ||
_Inout_opt_ PUNICODE_STRING | StaticString, | ||
_Inout_opt_ PUNICODE_STRING | DynamicString, | ||
_Inout_ PUNICODE_STRING * | NewName, | ||
_Inout_ PBOOLEAN | RedirectedDll | ||
) |
Referenced by LdrGetDllHandleEx(), LdrLoadDll(), LdrpLoadImportModule(), LdrpSnapThunk(), and LdrpUpdateLoadCount3().
BOOLEAN NTAPI LdrpCallInitRoutine | ( | IN PDLL_INIT_ROUTINE | EntryPoint, |
IN PVOID | BaseAddress, | ||
IN ULONG | Reason, | ||
IN PVOID | Context | ||
) |
Definition at line 100 of file ldrutils.c.
Referenced by AVrfpLoadAndInitializeProvider(), LdrpCallTlsInitializers(), LdrpInitializeThread(), LdrpRunInitializeRoutines(), LdrpRunShimEngineInitRoutine(), LdrShutdownProcess(), LdrShutdownThread(), and LdrUnloadDll().
Definition at line 447 of file ldrutils.c.
Referenced by LdrpInitializeThread(), LdrpRunInitializeRoutines(), LdrShutdownProcess(), and LdrShutdownThread().
BOOLEAN NTAPI LdrpCheckForLoadedDll | ( | IN PWSTR | DllPath, |
IN PUNICODE_STRING | DllName, | ||
IN BOOLEAN | Flag, | ||
IN BOOLEAN | RedirectedDll, | ||
OUT PLDR_DATA_TABLE_ENTRY * | LdrEntry | ||
) |
Definition at line 1953 of file ldrutils.c.
Referenced by LdrGetDllHandleEx(), LdrpLoadDll(), LdrpLoadImportModule(), and LdrpUpdateLoadCount3().
Definition at line 1595 of file ldrutils.c.
Referenced by LdrAddRefDll(), LdrDisableThreadCalloutsForDll(), LdrpGetProcedureAddress(), LdrpSnapThunk(), and LdrUnloadDll().
Definition at line 2644 of file ldrutils.c.
Referenced by LdrAddRefDll(), LdrGetDllHandleEx(), LdrpLoadDll(), and LdrpRunInitializeRoutines().
Definition at line 409 of file ldrinit.c.
Referenced by LdrpCheckForKnownDll(), and LdrpRunInitializeRoutines().
Referenced by AVrfpLoadAndInitializeProvider(), and LdrpInitializeProcess().
VOID NTAPI LdrpFinalizeAndDeallocateDataTableEntry | ( | IN PLDR_DATA_TABLE_ENTRY | Entry | ) |
Definition at line 1572 of file ldrutils.c.
Referenced by LdrUnloadDll().
Definition at line 1384 of file ldrinit.c.
Referenced by LdrShutdownThread().
VOID NTAPI LdrpFreeUnicodeString | ( | PUNICODE_STRING | String | ) |
NTSTATUS NTAPI LdrpGetProcedureAddress | ( | _In_ PVOID | BaseAddress, |
_In_opt_ _When_(Ordinal==0, _Notnull_) PANSI_STRING | Name, | ||
_In_opt_ _When_(Name==NULL, _In_range_(>, 0)) ULONG | Ordinal, | ||
_Out_ PVOID * | ProcedureAddress, | ||
_In_ BOOLEAN | ExecuteInit | ||
) |
Definition at line 2226 of file ldrutils.c.
Referenced by AvrfpResolveThunks(), LdrGetProcedureAddress(), LdrpGetShimEngineFunction(), and LdrpSnapThunk().
ULONG LdrpGetResidentSize | ( | PIMAGE_NT_HEADERS | NTHeaders | ) |
Definition at line 2544 of file ldrinit.c.
Referenced by LdrpInit(), and LdrpInitializeProcess().
NTSTATUS NTAPI LdrpInitializeApplicationVerifierPackage | ( | IN HANDLE | KeyHandle, |
IN PPEB | Peb, | ||
IN BOOLEAN | SystemWide, | ||
IN BOOLEAN | ReadAdvancedOptions | ||
) |
Referenced by LdrpInitializeExecutionOptions().
Definition at line 1757 of file ldrinit.c.
Referenced by LdrpInit().
Definition at line 506 of file ldrinit.c.
Referenced by LdrpInit().
Definition at line 1258 of file ldrinit.c.
Referenced by LdrpInitializeProcess().
VOID NTAPI LdrpInsertMemoryTableEntry | ( | IN PLDR_DATA_TABLE_ENTRY | LdrEntry | ) |
Definition at line 1556 of file ldrutils.c.
Referenced by LdrpInitializeProcess(), and LdrpMapDll().
NTSTATUS NTAPI LdrpLoadDll | ( | IN BOOLEAN | Redirected, |
IN PWSTR DllPath | OPTIONAL, | ||
IN PULONG DllCharacteristics | OPTIONAL, | ||
IN PUNICODE_STRING | DllName, | ||
OUT PVOID * | BaseAddress, | ||
IN BOOLEAN | CallInit | ||
) |
Definition at line 2409 of file ldrutils.c.
Referenced by LdrLoadDll(), LdrpLoadShimEngine(), and LdrpSnapThunk().
NTSTATUS NTAPI LdrpLoadImportModule | ( | IN PWSTR DllPath | OPTIONAL, |
IN LPSTR | ImportName, | ||
OUT PLDR_DATA_TABLE_ENTRY * | DataTableEntry, | ||
OUT PBOOLEAN | Existing | ||
) |
Definition at line 808 of file ldrpe.c.
Referenced by LdrpHandleOneNewFormatImportDescriptor(), and LdrpHandleOneOldFormatImportDescriptor().
VOID NTAPI LdrpLoadShimEngine | ( | IN PWSTR | ImageName, |
IN PUNICODE_STRING | ProcessImage, | ||
IN PVOID | pShimData | ||
) |
Definition at line 2752 of file ldrutils.c.
Referenced by LdrpInitializeProcess().
NTSTATUS NTAPI LdrpMapDll | ( | IN PWSTR SearchPath | OPTIONAL, |
IN PWSTR | DllPath2, | ||
IN PWSTR DllName | OPTIONAL, | ||
IN PULONG | DllCharacteristics, | ||
IN BOOLEAN | Static, | ||
IN BOOLEAN | Redirect, | ||
OUT PLDR_DATA_TABLE_ENTRY * | DataTableEntry | ||
) |
Definition at line 997 of file ldrutils.c.
Referenced by LdrpLoadDll(), and LdrpLoadImportModule().
VOID NTAPI LdrpRecordUnloadEvent | ( | _In_ PLDR_DATA_TABLE_ENTRY | LdrEntry | ) |
Definition at line 28 of file trace.c.
Referenced by LdrUnloadDll().
Definition at line 641 of file ldrinit.c.
Referenced by LdrpGetProcedureAddress(), LdrpInitializeProcess(), and LdrpLoadDll().
Definition at line 921 of file ldrutils.c.
Referenced by LdrpInitializeProcess(), and LdrpMapDll().
NTSTATUS NTAPI LdrpSnapThunk | ( | IN PVOID | ExportBase, |
IN PVOID | ImportBase, | ||
IN PIMAGE_THUNK_DATA | OriginalThunk, | ||
IN OUT PIMAGE_THUNK_DATA | Thunk, | ||
IN PIMAGE_EXPORT_DIRECTORY | ExportEntry, | ||
IN ULONG | ExportSize, | ||
IN BOOLEAN | Static, | ||
IN LPSTR | DllName | ||
) |
Definition at line 937 of file ldrpe.c.
Referenced by LdrpGetProcedureAddress(), and LdrpSnapIAT().
Definition at line 434 of file ldrutils.c.
Referenced by LdrAddRefDll(), LdrGetDllHandleEx(), LdrpLoadDll(), and LdrUnloadDll().
VOID NTAPI LdrpValidateImageForMp | ( | IN PLDR_DATA_TABLE_ENTRY | LdrDataTableEntry | ) |
Definition at line 1539 of file ldrinit.c.
Referenced by LdrpInitializeProcess(), and LdrpMapDll().
NTSTATUS NTAPI LdrpWalkImportDescriptor | ( | IN LPWSTR DllPath | OPTIONAL, |
IN PLDR_DATA_TABLE_ENTRY | LdrEntry | ||
) |
Definition at line 670 of file ldrpe.c.
Referenced by LdrpInitializeProcess(), LdrpLoadDll(), and LdrpLoadImportModule().
BOOLEAN NTAPI RtlDoesFileExists_UStr | ( | IN PUNICODE_STRING | FileName | ) |
Definition at line 1503 of file path.c.
Referenced by LdrpInitializeDotLocalSupport(), RtlDosApplyFileIsolationRedirection_Ustr(), and START_TEST().
Definition at line 460 of file condvar.c.
Referenced by LdrpInitializeProcess().
|
extern |
Definition at line 23 of file ldrutils.c.
Referenced by LdrpGetShimEngineInterface(), and LdrpLoadDll().
|
extern |
Definition at line 24 of file ldrutils.c.
Referenced by LdrpGetShimEngineInterface(), and LdrUnloadDll().
|
extern |
Definition at line 26 of file ldrutils.c.
Referenced by LdrpGetShimEngineInterface(), and LdrpInitializeProcess().
|
extern |
Definition at line 25 of file ldrutils.c.
Referenced by LdrpGetShimEngineInterface(), and LdrpLoadShimEngine().
|
extern |
Definition at line 27 of file ldrutils.c.
Referenced by LdrpGetShimEngineInterface(), and LdrShutdownProcess().
|
extern |
Definition at line 22 of file ldrutils.c.
Referenced by LdrInitShimEngineDynamic(), LdrpGetShimEngineFunction(), LdrpLoadShimEngine(), LdrpRunShimEngineInitRoutine(), and LdrpUnloadShimEngine().
|
extern |
Definition at line 21 of file ldrutils.c.
Referenced by LdrpGetShimEngineInterface(), LdrpInitializeProcess(), LdrpLoadDll(), LdrpLoadShimEngine(), LdrpUnloadShimEngine(), LdrShutdownProcess(), and LdrUnloadDll().
|
extern |
Definition at line 22 of file ldrapi.c.
Referenced by LdrGetDllHandleEx(),