#include "ntos.h"
#include <nt.h>
#include <ntrtl.h>
#include <nturtl.h>
#include <heap.h>
#include "ldrp.h"
Go to the source code of this file.
Classes | |
struct | _DPH_SNAP_NAME |
Defines | |
#define | LDRDBG 0 |
#define | SNAP_ROUTINE_GLOBALALLOC 0 |
#define | SNAP_ROUTINE_GLOBALREALLOC 1 |
#define | SNAP_ROUTINE_GLOBALFREE 2 |
#define | SNAP_ROUTINE_LOCALALLOC 3 |
#define | SNAP_ROUTINE_LOCALREALLOC 4 |
#define | SNAP_ROUTINE_LOCALFREE 5 |
#define | SNAP_ROUTINE_HEAPALLOC 6 |
#define | SNAP_ROUTINE_HEAPREALLOC 7 |
#define | SNAP_ROUTINE_HEAPFREE 8 |
#define | SNAP_ROUTINE_HEAPCREATE 9 |
#define | SNAP_ROUTINE_MALLOC 10 |
#define | SNAP_ROUTINE_CALLOC 11 |
#define | SNAP_ROUTINE_REALLOC 12 |
#define | SNAP_ROUTINE_FREE 13 |
#define | SNAP_ROUTINE_NEW 14 |
#define | SNAP_ROUTINE_DELETE 15 |
#define | SNAP_ROUTINE_NEW_ARRAY 16 |
#define | SNAP_ROUTINE_DELETE_ARRAY 17 |
#define | SNAP_ROUTINE_MAX_INDEX 18 |
#define | BIAS_POINTER(p) ((PVOID)((ULONG_PTR)(p) | 0x01)) |
#define | LMEM_MOVEABLE 0x0002 |
#define | LMEM_ZEROINIT 0x0040 |
#define | BASE_HANDLE_MARK_BIT 0x04 |
Typedefs | |
typedef _DPH_SNAP_NAME | DPH_SNAP_NAME |
typedef _DPH_SNAP_NAME * | PDPH_SNAP_NAME |
typedef PVOID(* | FUN_LOCAL_ALLOC )(IN ULONG Flags, IN SIZE_T Size) |
typedef PVOID(* | FUN_LOCAL_REALLOC )(IN PVOID Address, IN SIZE_T Size, IN ULONG Flags) |
typedef PVOID(* | FUN_LOCAL_FREE )(IN PVOID Address) |
typedef PVOID(* | FUN_GLOBAL_ALLOC )(IN ULONG Flags, IN SIZE_T Size) |
typedef PVOID(* | FUN_GLOBAL_REALLOC )(IN PVOID Address, IN SIZE_T Size, IN ULONG Flags) |
typedef PVOID(* | FUN_GLOBAL_FREE )(IN PVOID Address) |
typedef PVOID(* | FUN_HEAP_CREATE )(ULONG Options, SIZE_T InitialSize, SIZE_T MaximumSize) |
Functions | |
NTSTATUS | LdrpWalkImportDescriptor (IN PWSTR DllPath OPTIONAL, IN PLDR_DATA_TABLE_ENTRY LdrDataTableEntry) |
VOID | LdrpDphInitializeTargetDll (PLDR_DATA_TABLE_ENTRY LoadedDllData) |
NTSTATUS | LdrpLoadImportModule (IN PWSTR DllPath OPTIONAL, IN LPSTR ImportName, IN PVOID DllBaseImporter, OUT PLDR_DATA_TABLE_ENTRY *DataTableEntry, OUT PBOOLEAN AlreadyLoaded) |
ULONG | LdrpClearLoadInProgress (VOID) |
NTSTATUS | LdrpRunInitializeRoutines (IN PCONTEXT Context OPTIONAL) |
BOOLEAN | LdrpCheckForLoadedDll (IN PWSTR DllPath OPTIONAL, IN PUNICODE_STRING DllName, IN BOOLEAN StaticLink, IN BOOLEAN Wx86KnownDll, OUT PLDR_DATA_TABLE_ENTRY *LdrDataTableEntry) |
BOOLEAN | LdrpCheckForLoadedDllHandle (IN PVOID DllHandle, OUT PLDR_DATA_TABLE_ENTRY *LdrDataTableEntry) |
NTSTATUS | LdrpMapDll (IN PWSTR DllPath OPTIONAL, IN PWSTR DllName, IN PULONG DllCharacteristics OPTIONAL, IN BOOLEAN StaticLink, IN BOOLEAN Wx86KnownDll, OUT PLDR_DATA_TABLE_ENTRY *LdrDataTableEntry) |
NTSTATUS | LdrpCreateDllSection (IN PUNICODE_STRING NtFullDllName, IN HANDLE DllFile, IN PUNICODE_STRING BaseName, IN PULONG DllCharacteristics OPTIONAL, OUT PHANDLE SectionHandle) |
NTSTATUS | LdrpSnapIAT (IN PLDR_DATA_TABLE_ENTRY LdrDataTableEntry_Export, IN PLDR_DATA_TABLE_ENTRY LdrDataTableEntry_Import, IN PIMAGE_IMPORT_DESCRIPTOR ImportDescriptor, IN BOOLEAN SnapForwardersOnly) |
NTSTATUS | LdrpSnapThunk (IN PVOID DllBase, IN PVOID ImageBase, IN PIMAGE_THUNK_DATA OriginalThunk, IN OUT PIMAGE_THUNK_DATA Thunk, IN PIMAGE_EXPORT_DIRECTORY ExportDirectory, IN ULONG ExportSize, IN BOOLEAN StaticSnap, IN PSZ DllName) |
USHORT | LdrpNameToOrdinal (IN PSZ Name, IN ULONG NumberOfNames, IN PVOID DllBase, IN PULONG NameTableBase, IN PUSHORT NameOrdinalTableBase) |
VOID | LdrpUpdateLoadCount (IN PLDR_DATA_TABLE_ENTRY LdrDataTableEntry, IN BOOLEAN IncrementCount) |
PLDR_DATA_TABLE_ENTRY | LdrpAllocateDataTableEntry (IN PVOID DllBase) |
VOID | LdrpInsertMemoryTableEntry (IN PLDR_DATA_TABLE_ENTRY LdrDataTableEntry) |
BOOLEAN | LdrpResolveDllName (IN PWSTR DllPath OPTIONAL, IN PWSTR DllName, OUT PUNICODE_STRING FullDllName, OUT PUNICODE_STRING BaseDllName, OUT PHANDLE DllFile) |
PVOID | LdrpFetchAddressOfEntryPoint (IN PVOID Base) |
HANDLE | LdrpCheckForKnownDll (IN PWSTR DllName, OUT PUNICODE_STRING FullDllName, OUT PUNICODE_STRING BaseDllName) |
NTSTATUS | LdrpSetProtection (IN PVOID Base, IN BOOLEAN Reset, IN BOOLEAN StaticLink) |
PVOID | RtlpDphDllHeapAlloc (IN PVOID HeapHandle, IN ULONG Flags, IN SIZE_T Size) |
PVOID | RtlpDphDllHeapReAlloc (IN PVOID HeapHandle, IN ULONG Flags, IN PVOID Address, IN SIZE_T Size) |
BOOLEAN | RtlpDphDllHeapFree (IN PVOID HeapHandle, IN ULONG Flags, IN PVOID Address) |
PVOID | RtlpDphDllLocalAlloc (IN ULONG Flags, IN SIZE_T Size) |
PVOID | RtlpDphDllLocalReAlloc (IN PVOID Address, IN SIZE_T Size, IN ULONG Flags) |
PVOID | RtlpDphDllLocalFree (IN PVOID Address) |
PVOID | RtlpDphDllGlobalAlloc (IN ULONG Flags, IN SIZE_T Size) |
PVOID | RtlpDphDllGlobalReAlloc (IN PVOID Address, IN SIZE_T Size, IN ULONG Flags) |
PVOID | RtlpDphDllGlobalFree (IN PVOID Address) |
PVOID __cdecl | RtlpDphDllmalloc (IN SIZE_T Size) |
PVOID __cdecl | RtlpDphDllcalloc (IN SIZE_T Number, IN SIZE_T Size) |
PVOID __cdecl | RtlpDphDllrealloc (IN PVOID Address, IN SIZE_T Size) |
VOID __cdecl | RtlpDphDllfree (IN PVOID Address) |
PVOID __cdecl | RtlpDphDllNew (IN SIZE_T Size) |
VOID __cdecl | RtlpDphDllDelete (IN PVOID Address) |
PVOID __cdecl | RtlpDphDllNewArray (IN SIZE_T Size) |
VOID __cdecl | RtlpDphDllDeleteArray (IN PVOID Address) |
PVOID | RtlpDphDllHeapCreate (ULONG Options, SIZE_T InitialSize, SIZE_T MaximumSize) |
BOOLEAN | LdrpDphDetectSnapRoutines (PWSTR DllString, PDPH_SNAP_NAME SnapNames) |
BOOLEAN | LdrpDphSnapImports (PLDR_DATA_TABLE_ENTRY LdrDataTableEntry, BOOLEAN CallToDetectCrtHeap) |
Variables | |
BOOLEAN | LdrpDphKernel32Snapped |
BOOLEAN | LdrpDphMsvcrtSnapped |
PVOID | LdrpDphSnapRoutines [SNAP_ROUTINE_MAX_INDEX] |
DPH_SNAP_NAME | LdrpDphSnapNamesForKernel32 [] |
DPH_SNAP_NAME | LdrpDphSnapNamesForMsvcrt [] |
PVOID | RtlpDphMsvcrtHeap |
|
Definition at line 4155 of file ldrsnap.c. Referenced by RtlpDphDllGlobalFree(), and RtlpDphDllLocalFree(). |
|
Definition at line 4097 of file ldrsnap.c. Referenced by RtlpDebugPageHeapReAllocate(), RtlpDphDllcalloc(), RtlpDphDllGlobalAlloc(), RtlpDphDllGlobalReAlloc(), RtlpDphDllHeapAlloc(), RtlpDphDllHeapReAlloc(), RtlpDphDllLocalAlloc(), RtlpDphDllLocalReAlloc(), RtlpDphDllmalloc(), RtlpDphDllNew(), RtlpDphDllNewArray(), and RtlpDphDllrealloc(). |
|
|
|
Definition at line 4149 of file ldrsnap.c. Referenced by GetClipboardData(), RtlpDphDllGlobalAlloc(), RtlpDphDllGlobalReAlloc(), RtlpDphDllLocalAlloc(), and RtlpDphDllLocalReAlloc(). |
|
Definition at line 4150 of file ldrsnap.c. Referenced by GetHardErrorText(), RtlLoadStringOrError(), RtlpDphDllGlobalAlloc(), RtlpDphDllLocalAlloc(), and SoftModalMessageBox(). |
|
Definition at line 3534 of file ldrsnap.c. Referenced by LdrpDphSnapImports(). |
|
Definition at line 3538 of file ldrsnap.c. Referenced by LdrpDphSnapImports(). |
|
Definition at line 3540 of file ldrsnap.c. Referenced by LdrpDphSnapImports(). |
|
Definition at line 3536 of file ldrsnap.c. Referenced by LdrpDphSnapImports(). |
|
Definition at line 3523 of file ldrsnap.c. Referenced by LdrpDphSnapImports(), and RtlpDphDllGlobalAlloc(). |
|
Definition at line 3525 of file ldrsnap.c. Referenced by LdrpDphSnapImports(), and RtlpDphDllGlobalFree(). |
|
Definition at line 3524 of file ldrsnap.c. Referenced by LdrpDphSnapImports(), and RtlpDphDllGlobalReAlloc(). |
|
Definition at line 3529 of file ldrsnap.c. Referenced by LdrpDphSnapImports(). |
|
Definition at line 3532 of file ldrsnap.c. Referenced by LdrpDphSnapImports(), and RtlpDphDllHeapCreate(). |
|
Definition at line 3531 of file ldrsnap.c. Referenced by LdrpDphSnapImports(). |
|
Definition at line 3530 of file ldrsnap.c. Referenced by LdrpDphSnapImports(). |
|
Definition at line 3526 of file ldrsnap.c. Referenced by LdrpDphSnapImports(), and RtlpDphDllLocalAlloc(). |
|
Definition at line 3528 of file ldrsnap.c. Referenced by LdrpDphSnapImports(), and RtlpDphDllLocalFree(). |
|
Definition at line 3527 of file ldrsnap.c. Referenced by LdrpDphSnapImports(), and RtlpDphDllLocalReAlloc(). |
|
Definition at line 3533 of file ldrsnap.c. Referenced by LdrpDphSnapImports(). |
|
|
|
Definition at line 3537 of file ldrsnap.c. Referenced by LdrpDphSnapImports(). |
|
Definition at line 3539 of file ldrsnap.c. Referenced by LdrpDphSnapImports(). |
|
Definition at line 3535 of file ldrsnap.c. Referenced by LdrpDphSnapImports(). |
|
|
|
Definition at line 4177 of file ldrsnap.c. Referenced by RtlpDphDllGlobalAlloc(). |
|
Definition at line 4190 of file ldrsnap.c. Referenced by RtlpDphDllGlobalFree(). |
|
Definition at line 4183 of file ldrsnap.c. Referenced by RtlpDphDllGlobalReAlloc(). |
|
Definition at line 4512 of file ldrsnap.c. Referenced by RtlpDphDllHeapCreate(). |
|
Definition at line 4159 of file ldrsnap.c. Referenced by RtlpDphDllLocalAlloc(). |
|
Definition at line 4172 of file ldrsnap.c. Referenced by RtlpDphDllLocalFree(). |
|
Definition at line 4165 of file ldrsnap.c. Referenced by RtlpDphDllLocalReAlloc(). |
|
Referenced by LdrpDphDetectSnapRoutines(). |
|
Definition at line 3043 of file ldrsnap.c. References LDR_TAG, MAKE_TAG, NULL, RtlAllocateHeap, and RtlImageNtHeader(). Referenced by LdrpInitializeProcess(), and LdrpMapDll().
|
|
Definition at line 3283 of file ldrsnap.c. References LDR_TAG, LdrpKnownDllObjectDirectory, LdrpKnownDllPath, MAKE_TAG, NT_SUCCESS, NtOpenSection(), NTSTATUS(), NULL, RtlAllocateHeap, RtlFreeHeap, RtlInitUnicodeString(), Status, Unicode, and USHORT. Referenced by LdrpMapDll().
|
|
Definition at line 832 of file ldrsnap.c. References CHAR, DbgPrint, EXCEPTION_EXECUTE_HANDLER, FALSE, File, L, LDRP_COMPUTE_HASH_INDEX, LdrpDefaultPath, LdrpHashTable, NT_SUCCESS, NtAreMappedFilesTheSame(), NtClose(), NtCreateSection(), NtMapViewOfSection(), NtOpenFile(), NTSTATUS(), NtUnmapViewOfSection(), NULL, ObjectAttributes, RtlCopyUnicodeString(), RtlDosPathNameToNtPathName_U(), RtlDosSearchPath_U(), RtlEqualUnicodeString(), RtlFreeHeap, RtlImageNtHeader(), ShowSnaps, TRUE, and USHORT. Referenced by LdrGetDllHandle(), LdrpDphDetectSnapRoutines(), LdrpDphInitializeTargetDll(), LdrpLoadDll(), LdrpLoadImportModule(), and LdrpUpdateLoadCount().
|
|
Definition at line 1196 of file ldrsnap.c. References FALSE, LdrpLoadedDllHandleCache, and TRUE. Referenced by LdrDisableThreadCalloutsForDll(), LdrpGetProcedureAddress(), and LdrUnloadDll().
|
|
Definition at line 622 of file ldrsnap.c. Referenced by LdrpLoadDll(), and LdrpRunInitializeRoutines().
|
|
Definition at line 2150 of file ldrsnap.c. References DbgPrint, File, LdrpFatalHardErrorCount, LdrpInLdrInit, NT_SUCCESS, NtClose(), NtCreateSection(), NtOpenFile(), NtRaiseHardError(), NTSTATUS(), NULL, and ObjectAttributes. Referenced by LdrpMapDll().
|
|
Definition at line 3710 of file ldrsnap.c. References DbgPrint, Directory(), FALSE, _DPH_SNAP_NAME::Index, Index, LdrpCheckForLoadedDll(), LdrpDphSnapRoutines, _DPH_SNAP_NAME::Name, NULL, PDPH_SNAP_NAME, RtlImageDirectoryEntryToData(), RtlInitUnicodeString(), Size, TRUE, and USHORT. Referenced by LdrpDphInitializeTargetDll().
|
|
Definition at line 3970 of file ldrsnap.c. References DbgPrint, End, FALSE, L, LdrpCheckForLoadedDll(), LdrpDphDetectSnapRoutines(), LdrpDphKernel32Snapped, LdrpDphMsvcrtSnapped, LdrpDphSnapImports(), LdrpDphSnapNamesForKernel32, LdrpDphSnapNamesForMsvcrt, NULL, RtlInitUnicodeString(), RtlpDphGlobalFlags, RtlpDphIsDllTargeted(), RtlpDphTargetDlls, and TRUE. Referenced by LdrpWalkImportDescriptor().
|
|
Definition at line 3781 of file ldrsnap.c. References DbgPrint, FALSE, LdrpDphSnapRoutines, NT_SUCCESS, NtProtectVirtualMemory(), NTSTATUS(), NULL, RtlAllocateHeap, RtlFreeHeap, RtlImageDirectoryEntryToData(), RtlpDphDllcalloc(), RtlpDphDllDelete(), RtlpDphDllDeleteArray(), RtlpDphDllfree(), RtlpDphDllGlobalAlloc(), RtlpDphDllGlobalFree(), RtlpDphDllGlobalReAlloc(), RtlpDphDllHeapAlloc(), RtlpDphDllHeapCreate(), RtlpDphDllHeapFree(), RtlpDphDllHeapReAlloc(), RtlpDphDllLocalAlloc(), RtlpDphDllLocalFree(), RtlpDphDllLocalReAlloc(), RtlpDphDllmalloc(), RtlpDphDllNew(), RtlpDphDllNewArray(), RtlpDphDllrealloc(), RtlReAllocateHeap(), SNAP_ROUTINE_CALLOC, SNAP_ROUTINE_DELETE, SNAP_ROUTINE_DELETE_ARRAY, SNAP_ROUTINE_FREE, SNAP_ROUTINE_GLOBALALLOC, SNAP_ROUTINE_GLOBALFREE, SNAP_ROUTINE_GLOBALREALLOC, SNAP_ROUTINE_HEAPALLOC, SNAP_ROUTINE_HEAPCREATE, SNAP_ROUTINE_HEAPFREE, SNAP_ROUTINE_HEAPREALLOC, SNAP_ROUTINE_LOCALALLOC, SNAP_ROUTINE_LOCALFREE, SNAP_ROUTINE_LOCALREALLOC, SNAP_ROUTINE_MALLOC, SNAP_ROUTINE_NEW, SNAP_ROUTINE_NEW_ARRAY, SNAP_ROUTINE_REALLOC, TRUE, and USHORT. Referenced by LdrpDphInitializeTargetDll().
|
|
Definition at line 3249 of file ldrsnap.c. References RtlImageNtHeader(). Referenced by LdrpInitializeProcess(), and LdrpMapDll().
|
|
Definition at line 3084 of file ldrsnap.c. References LDRP_COMPUTE_HASH_INDEX, and LdrpHashTable. Referenced by LdrpInitializeProcess(), and LdrpMapDll().
|
|
Definition at line 140 of file ldrsnap.c. References FALSE, LdrpCheckForLoadedDll(), LdrpMapDll(), LdrpWalkImportDescriptor(), NT_SUCCESS, NTSTATUS(), NULL, RtlAnsiStringToUnicodeString(), RtlImageNtHeader(), RtlInitAnsiString(), and TRUE. Referenced by LdrpWalkImportDescriptor().
|
|
Definition at line 1261 of file ldrsnap.c. References Action, DbgPrint, FALSE, L, LdrpAllocateDataTableEntry(), LdrpCheckForKnownDll(), LdrpCreateDllSection(), LdrpDefaultPath, LdrpFatalHardErrorCount, LdrpFetchAddressOfEntryPoint(), LdrpInLdrInit, LdrpInsertMemoryTableEntry(), LdrpKnownDllObjectDirectory, LdrpNumberOfProcessors, LdrpResolveDllName(), LdrpSetProtection(), LdrRelocateImage(), NATIVE_PAGE_SIZE, NT_ERROR, NT_SUCCESS, NtClose(), NtMapViewOfSection(), NtQueryPerformanceCounter(), NtRaiseHardError(), NTSTATUS(), NtUnmapViewOfSection(), NULL, PAGE_SIZE, RtlDosPathNameToNtPathName_U(), RtlEqualUnicodeString(), RtlFreeHeap, RtlFreeUnicodeString(), RtlImageDirectoryEntryToData(), RtlImageNtHeader(), RtlInitUnicodeString(), ShowSnaps, TRUE, type, and USHORT. Referenced by LdrpLoadDll(), and LdrpLoadImportModule().
|
|
Definition at line 2747 of file ldrsnap.c. Referenced by LdrpSnapThunk().
|
|
Definition at line 3120 of file ldrsnap.c. References DbgPrint, FALSE, LDR_TAG, LdrpDefaultPath, MAKE_TAG, NULL, RtlAllocateHeap, RtlDosSearchPath_U(), RtlFreeHeap, RtlFreeUnicodeString(), ShowSnaps, TEMP_TAG, TRUE, and USHORT. Referenced by LdrpMapDll().
|
|
Definition at line 652 of file ldrsnap.c. References DbgPrint, L, LdrpCallInitRoutine, LdrpCallTlsInitializers(), LdrpClearLoadInProgress(), LdrpImageHasTls, LdrQueryImageFileExecutionOptions(), MAKE_TAG, NT_SUCCESS, NTSTATUS(), NULL, RtlAllocateHeap, RtlFreeHeap, RtlImageNtHeader(), ShowSnaps, Status, TEMP_TAG, and TRUE. Referenced by LdrpGetProcedureAddress(), LdrpInitializeProcess(), and LdrpLoadDll().
|
|
Definition at line 3417 of file ldrsnap.c. References NT_SUCCESS, NtFlushInstructionCache(), NtProtectVirtualMemory(), NTSTATUS(), NULL, PAGE_SIZE, and RtlImageNtHeader(). Referenced by LdrpInitializeProcess(), and LdrpMapDll().
|
|
Definition at line 2258 of file ldrsnap.c. References EXCEPTION_EXECUTE_HANDLER, LdrpSnapThunk(), NT_SUCCESS, NtFlushInstructionCache(), NtProtectVirtualMemory(), NTSTATUS(), NULL, RtlImageDirectoryEntryToData(), RtlImageNtHeader(), and TRUE. Referenced by LdrpWalkImportDescriptor().
|
|
Definition at line 2476 of file ldrsnap.c. References DbgPrint, FALSE, LDRP_BAD_DLL, LdrpFatalHardErrorCount, LdrpGetProcedureAddress(), LdrpInLdrInit, LdrpLoadDll(), LdrpNameToOrdinal(), NT_SUCCESS, NtRaiseHardError(), NTSTATUS(), NULL, PAGE_SIZE, PUSHORT, RtlAnsiStringToUnicodeString(), RtlCharToInteger(), RtlFreeUnicodeString(), RtlImageNtHeader(), RtlInitAnsiString(), RtlRaiseStatus(), ShowSnaps, TRUE, and USHORT. Referenced by LdrpGetProcedureAddress(), and LdrpSnapIAT().
|
|
Definition at line 2802 of file ldrsnap.c. References DbgPrint, FALSE, LdrpCheckForLoadedDll(), NT_SUCCESS, NTSTATUS(), NULL, RtlAnsiStringToUnicodeString(), RtlImageDirectoryEntryToData(), RtlImageNtHeader(), RtlInitAnsiString(), ShowSnaps, and TRUE.
|
|
Referenced by LdrpInitializeProcess(), LdrpLoadDll(), and LdrpLoadImportModule(). |
|
Definition at line 4386 of file ldrsnap.c. References ASSERT, BIAS_POINTER, NULL, RtlpDebugPageHeapAllocate(), RtlpDphMsvcrtHeap, and Size. Referenced by LdrpDphSnapImports().
|
|
Definition at line 4469 of file ldrsnap.c. References ASSERT, NULL, RtlpDebugPageHeapFree(), and RtlpDphMsvcrtHeap. Referenced by LdrpDphSnapImports().
|
|
Definition at line 4495 of file ldrsnap.c. References ASSERT, NULL, RtlpDebugPageHeapFree(), and RtlpDphMsvcrtHeap. Referenced by LdrpDphSnapImports().
|
|
Definition at line 4434 of file ldrsnap.c. References ASSERT, NULL, RtlpDebugPageHeapFree(), and RtlpDphMsvcrtHeap. Referenced by LdrpDphSnapImports().
|
|
Definition at line 4280 of file ldrsnap.c. References BIAS_POINTER, FUN_GLOBAL_ALLOC, LdrpDphSnapRoutines, LMEM_MOVEABLE, LMEM_ZEROINIT, RtlpDebugPageHeapAllocate(), Size, and SNAP_ROUTINE_GLOBALALLOC. Referenced by LdrpDphSnapImports().
|
|
Definition at line 4336 of file ldrsnap.c. References BASE_HANDLE_MARK_BIT, FUN_GLOBAL_FREE, LdrpDphSnapRoutines, NULL, RtlpDebugPageHeapFree(), and SNAP_ROUTINE_GLOBALFREE. Referenced by LdrpDphSnapImports().
|
|
Definition at line 4309 of file ldrsnap.c. References BIAS_POINTER, FUN_GLOBAL_REALLOC, LdrpDphSnapRoutines, LMEM_MOVEABLE, RtlpDebugPageHeapReAllocate(), Size, and SNAP_ROUTINE_GLOBALREALLOC. Referenced by LdrpDphSnapImports().
|
|
Definition at line 4100 of file ldrsnap.c. References BIAS_POINTER, HeapHandle, RtlpDebugPageHeapAllocate(), and Size. Referenced by LdrpDphSnapImports().
|
|
Definition at line 4519 of file ldrsnap.c. References DbgPrint, FUN_HEAP_CREATE, LdrpDphSnapRoutines, RtlpDphMsvcrtHeap, and SNAP_ROUTINE_HEAPCREATE. Referenced by LdrpDphSnapImports().
|
|
Definition at line 4128 of file ldrsnap.c. References HeapHandle, and RtlpDebugPageHeapFree(). Referenced by LdrpDphSnapImports().
|
|
Definition at line 4113 of file ldrsnap.c. References BIAS_POINTER, HeapHandle, RtlpDebugPageHeapReAllocate(), and Size. Referenced by LdrpDphSnapImports().
|
|
Definition at line 4195 of file ldrsnap.c. References BIAS_POINTER, FUN_LOCAL_ALLOC, LdrpDphSnapRoutines, LMEM_MOVEABLE, LMEM_ZEROINIT, RtlpDebugPageHeapAllocate(), Size, and SNAP_ROUTINE_LOCALALLOC. Referenced by LdrpDphSnapImports().
|
|
Definition at line 4251 of file ldrsnap.c. References BASE_HANDLE_MARK_BIT, FUN_LOCAL_FREE, LdrpDphSnapRoutines, NULL, RtlpDebugPageHeapFree(), and SNAP_ROUTINE_LOCALFREE. Referenced by LdrpDphSnapImports().
|
|
Definition at line 4224 of file ldrsnap.c. References BIAS_POINTER, FUN_LOCAL_REALLOC, LdrpDphSnapRoutines, LMEM_MOVEABLE, RtlpDebugPageHeapReAllocate(), Size, and SNAP_ROUTINE_LOCALREALLOC. Referenced by LdrpDphSnapImports().
|
|
Definition at line 4369 of file ldrsnap.c. References ASSERT, BIAS_POINTER, NULL, RtlpDebugPageHeapAllocate(), RtlpDphMsvcrtHeap, and Size. Referenced by LdrpDphSnapImports().
|
|
Definition at line 4452 of file ldrsnap.c. References ASSERT, BIAS_POINTER, NULL, RtlpDebugPageHeapAllocate(), RtlpDphMsvcrtHeap, and Size. Referenced by LdrpDphSnapImports().
|
|
Definition at line 4482 of file ldrsnap.c. References ASSERT, BIAS_POINTER, NULL, RtlpDebugPageHeapAllocate(), RtlpDphMsvcrtHeap, and Size. Referenced by LdrpDphSnapImports().
|
|
Definition at line 4405 of file ldrsnap.c. References ASSERT, BIAS_POINTER, NULL, RtlpDebugPageHeapAllocate(), RtlpDebugPageHeapReAllocate(), RtlpDphMsvcrtHeap, and Size. Referenced by LdrpDphSnapImports().
|
|
Definition at line 3520 of file ldrsnap.c. Referenced by LdrpDphInitializeTargetDll(). |
|
Definition at line 3521 of file ldrsnap.c. Referenced by LdrpDphInitializeTargetDll(). |
|
Initial value:
Definition at line 3553 of file ldrsnap.c. Referenced by LdrpDphInitializeTargetDll(). |
|
Initial value:
Definition at line 3569 of file ldrsnap.c. Referenced by LdrpDphInitializeTargetDll(). |
|
Definition at line 3543 of file ldrsnap.c. Referenced by LdrpDphDetectSnapRoutines(), LdrpDphSnapImports(), RtlpDphDllGlobalAlloc(), RtlpDphDllGlobalFree(), RtlpDphDllGlobalReAlloc(), RtlpDphDllHeapCreate(), RtlpDphDllLocalAlloc(), RtlpDphDllLocalFree(), and RtlpDphDllLocalReAlloc(). |
|
Definition at line 3703 of file ldrsnap.c. Referenced by RtlpDphDllcalloc(), RtlpDphDllDelete(), RtlpDphDllDeleteArray(), RtlpDphDllfree(), RtlpDphDllHeapCreate(), RtlpDphDllmalloc(), RtlpDphDllNew(), RtlpDphDllNewArray(), and RtlpDphDllrealloc(). |