|
ReactOS 0.4.16-dev-1946-g52006dd
|

Go to the source code of this file.
Macros | |
| #define | DEFAULT_SECURITY_COOKIE 0xBB40E64E |
Variables | |
| LIST_ENTRY | FrLdrModuleList |
| PELDR_IMPORTDLL_LOAD_CALLBACK | PeLdrImportDllLoadCallback = NULL |
| #define DEFAULT_SECURITY_COOKIE 0xBB40E64E |
Definition at line 36 of file peloader.c.
| DBG_DEFAULT_CHANNEL | ( | PELOADER | ) |
| BOOLEAN PeLdrAllocateDataTableEntry | ( | IN OUT PLIST_ENTRY | ModuleListHead, |
| IN PCCH | BaseDllName, | ||
| IN PCCH | FullDllName, | ||
| IN PVOID | BaseVA, | ||
| OUT PLDR_DATA_TABLE_ENTRY * | NewEntry | ||
| ) |
Definition at line 709 of file peloader.c.
Referenced by LoadModule(), PeLdrInitializeModuleList(), PeLdrLoadBootImage(), PeLdrpLoadAndScanReferencedDll(), and WinLdrLoadDeviceDriver().
| BOOLEAN PeLdrCheckForLoadedDll | ( | _Inout_ PLIST_ENTRY | ModuleListHead, |
| _In_ PCSTR | DllName, | ||
| _Out_ PLDR_DATA_TABLE_ENTRY * | LoadedEntry | ||
| ) |
Definition at line 586 of file peloader.c.
Referenced by PeLdrpBindImportName(), PeLdrScanImportDescriptorTable(), and WinLdrLoadDeviceDriver().
| VOID PeLdrFreeDataTableEntry | ( | _In_ PLDR_DATA_TABLE_ENTRY | Entry | ) |
Definition at line 826 of file peloader.c.
Referenced by LoadWindowsCore(), PeLdrLoadBootImage(), PeLdrpLoadAndScanReferencedDll(), and WinLdrLoadDeviceDriver().
Definition at line 525 of file peloader.c.
Referenced by BootMain(), and EfiEntry().
| PVOID PeLdrInitSecurityCookie | ( | PLDR_DATA_TABLE_ENTRY | LdrEntry | ) |
Definition at line 547 of file peloader.c.
Referenced by PeLdrpLoadAndScanReferencedDll().
| BOOLEAN PeLdrLoadBootImage | ( | _In_ PCSTR | FilePath, |
| _In_ PCSTR | BaseDllName, | ||
| _Out_ PVOID * | ImageBase, | ||
| _Out_ PLDR_DATA_TABLE_ENTRY * | DataTableEntry | ||
| ) |
Definition at line 1052 of file peloader.c.
Referenced by LoadBootDeviceDriver(), and LoadRosload().
| BOOLEAN PeLdrLoadImage | ( | _In_ PCSTR | FilePath, |
| _In_ TYPE_OF_MEMORY | MemoryType, | ||
| _Out_ PVOID * | ImageBasePA | ||
| ) |
Definition at line 1043 of file peloader.c.
Referenced by LoadModule(), PeLdrpLoadAndScanReferencedDll(), and WinLdrLoadDeviceDriver().
| BOOLEAN PeLdrLoadImageEx | ( | _In_ PCSTR | FilePath, |
| _In_ TYPE_OF_MEMORY | MemoryType, | ||
| _Out_ PVOID * | ImageBasePA, | ||
| _In_ BOOLEAN | KernelMapping | ||
| ) |
Loads the specified image from the file.
PeLdrLoadImage doesn't perform any additional operations on the file path, it just directly calls the file I/O routines. It then relocates the image so that it's ready to be used when paging is enabled.
Definition at line 851 of file peloader.c.
Referenced by PeLdrLoadBootImage(), and PeLdrLoadImage().
|
static |
Definition at line 138 of file peloader.c.
Referenced by PeLdrpBindImportName(), and PeLdrpScanImportAddressTable().
|
static |
Definition at line 79 of file peloader.c.
Referenced by PeLdrCheckForLoadedDll(), and PeLdrScanImportDescriptorTable().
Definition at line 43 of file peloader.c.
Referenced by PeLdrInitSecurityCookie().
|
static |
Definition at line 389 of file peloader.c.
Referenced by PeLdrpBindImportName(), and PeLdrScanImportDescriptorTable().
|
static |
Definition at line 454 of file peloader.c.
Referenced by PeLdrScanImportDescriptorTable().
| BOOLEAN PeLdrScanImportDescriptorTable | ( | IN OUT PLIST_ENTRY | ModuleListHead, |
| IN PCCH | DirectoryPath, | ||
| IN PLDR_DATA_TABLE_ENTRY | ScanDTE | ||
| ) |
Definition at line 629 of file peloader.c.
Referenced by LoadWindowsCore(), PeLdrLoadBootImage(), PeLdrpLoadAndScanReferencedDll(), and WinLdrLoadDeviceDriver().
| LIST_ENTRY FrLdrModuleList |
Definition at line 28 of file peloader.c.
Referenced by PeLdrInitializeModuleList(), and PeLdrLoadBootImage().
| PELDR_IMPORTDLL_LOAD_CALLBACK PeLdrImportDllLoadCallback = NULL |
Definition at line 30 of file peloader.c.
Referenced by LoadAndBootWindowsCommon(), and PeLdrpLoadAndScanReferencedDll().