ReactOS 0.4.15-dev-6662-g1b3eed5
|
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 1549 of file ldrutils.c.
Referenced by LdrpInitializeProcess(), and LdrpMapDll().
Definition at line 1317 of file ldrinit.c.
Referenced by LdrpInitializeThread(), and LdrpInitializeTls().
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 473 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 1979 of file ldrutils.c.
Referenced by LdrGetDllHandleEx(), LdrpLoadDll(), LdrpLoadImportModule(), and LdrpUpdateLoadCount3().
Definition at line 1621 of file ldrutils.c.
Referenced by LdrAddRefDll(), LdrDisableThreadCalloutsForDll(), LdrpGetProcedureAddress(), LdrpSnapThunk(), and LdrUnloadDll().
Definition at line 2663 of file ldrutils.c.
Referenced by LdrAddRefDll(), LdrGetDllHandleEx(), LdrpLoadDll(), and LdrpRunInitializeRoutines().
Definition at line 405 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 1598 of file ldrutils.c.
Referenced by LdrUnloadDll().
Definition at line 1380 of file ldrinit.c.
Referenced by LdrShutdownThread().
VOID NTAPI LdrpFreeUnicodeString | ( | PUNICODE_STRING | String | ) |
NTSTATUS NTAPI LdrpGetProcedureAddress | ( | IN PVOID | BaseAddress, |
IN PANSI_STRING | Name, | ||
IN ULONG | Ordinal, | ||
OUT PVOID * | ProcedureAddress, | ||
IN BOOLEAN | ExecuteInit | ||
) |
Definition at line 2252 of file ldrutils.c.
Referenced by AvrfpResolveThunks(), LdrGetProcedureAddress(), LdrpGetShimEngineFunction(), and LdrpSnapThunk().
ULONG LdrpGetResidentSize | ( | PIMAGE_NT_HEADERS | NTHeaders | ) |
Definition at line 2535 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 1753 of file ldrinit.c.
Referenced by LdrpInit().
Definition at line 502 of file ldrinit.c.
Referenced by LdrpInit().
Definition at line 1254 of file ldrinit.c.
Referenced by LdrpInitializeProcess().
VOID NTAPI LdrpInsertMemoryTableEntry | ( | IN PLDR_DATA_TABLE_ENTRY | LdrEntry | ) |
Definition at line 1582 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 2429 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 2771 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 1023 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 637 of file ldrinit.c.
Referenced by LdrpGetProcedureAddress(), LdrpInitializeProcess(), and LdrpLoadDll().
Definition at line 947 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 950 of file ldrpe.c.
Referenced by LdrpGetProcedureAddress(), and LdrpSnapIAT().
Definition at line 460 of file ldrutils.c.
Referenced by LdrAddRefDll(), LdrGetDllHandleEx(), LdrpLoadDll(), and LdrUnloadDll().
VOID NTAPI LdrpValidateImageForMp | ( | IN PLDR_DATA_TABLE_ENTRY | LdrDataTableEntry | ) |
Definition at line 1535 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().
|
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(), LdrLoadDll(), LdrpLoadDll(), LdrpLoadImportModule(), LdrpSnapThunk(), and LdrpUpdateLoadCount3().
|
extern |
Definition at line 84 of file ldrinit.c.
Referenced by LdrUnloadDll().
|
extern |
Definition at line 43 of file ldrinit.c.
Referenced by LdrLoadDll(), and LdrpRunInitializeRoutines().
|
extern |
Definition at line 65 of file ldrinit.c.
Referenced by LdrpCheckForLoadedDll(), LdrpInitializeProcess(), LdrpMapDll(), LdrpResolveDllName(), and LdrpSearchPath().
|
extern |
Definition at line 83 of file ldrinit.c.
Referenced by LdrpCreateDllSection(), LdrpInitFailure(), LdrpMapDll(), and LdrpSnapThunk().
|
extern |
Definition at line 19 of file ldrutils.c.
Referenced by LdrGetDllHandleEx(), and LdrUnloadDll().