ReactOS
0.4.15-dev-4603-gb922b6d
|
#include <ntdll.h>
#include <debug.h>
Go to the source code of this file.
Classes | |
struct | _RTL_ATOM_HANDLE |
Macros | |
#define | NDEBUG |
Typedefs | |
typedef struct _RTL_ATOM_HANDLE | RTL_ATOM_HANDLE |
typedef struct _RTL_ATOM_HANDLE * | PRTL_ATOM_HANDLE |
Variables | |
SIZE_T | RtlpAllocDeallocQueryBufferSize = PAGE_SIZE |
PTEB | LdrpTopLevelDllBeingLoadedTeb = NULL |
PVOID | MmHighestUserAddress = (PVOID)MI_HIGHEST_USER_ADDRESS |
typedef struct _RTL_ATOM_HANDLE * PRTL_ATOM_HANDLE |
typedef struct _RTL_ATOM_HANDLE RTL_ATOM_HANDLE |
NTSTATUS find_actctx_dll | ( | PUNICODE_STRING | pnameW, |
LPWSTR * | fullname, | ||
PUNICODE_STRING | CallerBuffer, | ||
BOOLEAN | bAllocateBuffer | ||
) |
Definition at line 715 of file libsupp.c.
Referenced by RtlDosApplyFileIsolationRedirection_Ustr().
NTSTATUS find_entry | ( | PVOID | BaseAddress, |
LDR_RESOURCE_INFO * | info, | ||
ULONG | level, | ||
void ** | ret, | ||
int | want_dir | ||
) |
Definition at line 570 of file libsupp.c.
IMAGE_RESOURCE_DIRECTORY* find_entry_by_id | ( | IMAGE_RESOURCE_DIRECTORY * | dir, |
WORD | id, | ||
void * | root, | ||
int | want_dir | ||
) |
Definition at line 95 of file res.c.
Referenced by find_entry().
IMAGE_RESOURCE_DIRECTORY* find_entry_by_name | ( | IMAGE_RESOURCE_DIRECTORY * | dir, |
LPCWSTR | name, | ||
void * | root, | ||
int | want_dir | ||
) |
Definition at line 130 of file res.c.
Referenced by find_entry().
IMAGE_RESOURCE_DIRECTORY* find_first_entry | ( | IMAGE_RESOURCE_DIRECTORY * | dir, |
void * | root, | ||
int | want_dir | ||
) |
Definition at line 75 of file res.c.
Referenced by find_entry().
NTSTATUS get_buffer | ( | LPWSTR * | buffer, |
SIZE_T | needed, | ||
PUNICODE_STRING | CallerBuffer, | ||
BOOLEAN | bAllocateBuffer | ||
) |
Definition at line 688 of file libsupp.c.
Referenced by find_actctx_dll(), jpeg_fill_bit_buffer(), jpeg_huff_decode(), and RtlDosApplyFileIsolationRedirection_Ustr().
Definition at line 61 of file res.c.
Referenced by find_entry().
Definition at line 72 of file libsupp.c.
Referenced by BaseGetNamedObjectDirectory(), BasepComputeProcessPath(), BasePushProcessParameters(), BaseRundownFls(), CheckForSameCurdir(), ExitProcess(), FlsAlloc(), FlsFree(), FlsSetValue(), GetEnvironmentStringsA(), GetEnvironmentStringsW(), GetEnvironmentVariableA(), LdrShutdownThread(), RtlCreateEnvironment(), RtlCreateProcessParameters(), RtlGetCurrentDirectory_U(), RtlGetFullPathName_Ustr(), RtlGetFullPathName_UstrEx(), RtlpDosPathNameToRelativeNtPathName_Ustr(), RtlQueryEnvironmentVariable_U(), RtlSetCurrentDirectory_U(), RtlSetCurrentEnvironment(), RtlSetEnvironmentVariable(), TlsAlloc(), TlsFree(), and TlsSetValue().
NTSYSAPI NTSTATUS NTAPI RtlComputeImportTableHash | ( | IN HANDLE | FileHandle, |
OUT PCHAR | Hash, | ||
IN ULONG | ImportTableHashSize | ||
) |
NTSTATUS NTAPI RtlDeleteHeapLock | ( | IN OUT PHEAP_LOCK | Lock | ) |
Definition at line 101 of file libsupp.c.
Referenced by RtlDestroyHeap(), and RtlpPageHeapDestroy().
NTSYSAPI NTSTATUS NTAPI RtlDosApplyFileIsolationRedirection_Ustr | ( | IN ULONG | Flags, |
IN PUNICODE_STRING | OriginalName, | ||
IN PUNICODE_STRING | Extension, | ||
IN OUT PUNICODE_STRING | StaticString, | ||
IN OUT PUNICODE_STRING | DynamicString, | ||
IN OUT PUNICODE_STRING * | NewName, | ||
IN PULONG | NewFlags, | ||
IN PSIZE_T | FileNameSize, | ||
IN PSIZE_T | RequiredLength | ||
) |
Definition at line 821 of file libsupp.c.
Referenced by LdrGetDllHandleEx(), LdrLoadDll(), LdrpLoadImportModule(), LdrpSnapThunk(), LdrpUpdateLoadCount3(), RtlDosSearchPath_Ustr(), TestBuffers(), and TestRedirection().
Definition at line 108 of file libsupp.c.
Referenced by RtlAllocateHeap(), RtlDebugAllocateHeap(), RtlDebugFreeHeap(), RtlDebugGetUserInfoHeap(), RtlDebugReAllocateHeap(), RtlDebugSetUserFlagsHeap(), RtlDebugSetUserValueHeap(), RtlDebugSizeHeap(), RtlFreeHeap(), RtlGetUserInfoHeap(), RtlLockHeap(), RtlpDphEnterCriticalSection(), RtlpDphFreeDelayedBlocksFromHeap(), RtlpPageHeapCreate(), RtlpPageHeapDestroy(), RtlReAllocateHeap(), RtlSetUserFlagsHeap(), RtlSetUserValueHeap(), and RtlValidateHeap().
Definition at line 63 of file libsupp.c.
Referenced by _IRQL_requires_max_(), LdrpLoadImportModule(), RtlComputePrivatizedDllName_U(), RtlDebugDestroyHeap(), RtlInitializeHeapManager(), RtlpAddHeapToProcessList(), RtlpRemoveHeapFromProcessList(), RtlpSetHeapParameters(), and RtlQueryEnvironmentVariable_U().
Definition at line 93 of file libsupp.c.
Referenced by RtlCreateHeap(), and RtlCreateUserProcess().
Definition at line 1058 of file libsupp.c.
NTSTATUS NTAPI RtlImageNtHeaderEx | ( | _In_ ULONG | Flags, |
_In_ PVOID | Base, | ||
_In_ ULONG64 | Size, | ||
_Out_ PIMAGE_NT_HEADERS * | OutHeaders | ||
) |
Definition at line 526 of file libsupp.c.
NTSTATUS NTAPI RtlInitializeHeapLock | ( | IN OUT PHEAP_LOCK * | Lock | ) |
Definition at line 126 of file libsupp.c.
Referenced by RtlpDphInitializeDelayedFreeQueue(), RtlpDphProcessStartupInitialization(), RtlpInitializeHeap(), and RtlpPageHeapCreate().
Definition at line 348 of file libsupp.c.
Referenced by ForceResetUserApiHook(), and LoadUserApiHook().
NTSTATUS NTAPI RtlLeaveHeapLock | ( | IN OUT PHEAP_LOCK | Lock | ) |
Definition at line 133 of file libsupp.c.
Referenced by RtlAllocateHeap(), RtlDebugAllocateHeap(), RtlDebugFreeHeap(), RtlDebugGetUserInfoHeap(), RtlDebugReAllocateHeap(), RtlDebugSetUserFlagsHeap(), RtlDebugSetUserValueHeap(), RtlDebugSizeHeap(), RtlFreeHeap(), RtlGetUserInfoHeap(), RtlpAllocateNonDedicated(), RtlpDphFreeDelayedBlocksFromHeap(), RtlpDphLeaveCriticalSection(), RtlpPageHeapCreate(), RtlpPageHeapDestroy(), RtlReAllocateHeap(), RtlSetUserFlagsHeap(), RtlSetUserValueHeap(), RtlUnlockHeap(), and RtlValidateHeap().
Definition at line 140 of file libsupp.c.
PRTL_ATOM_TABLE RtlpAllocAtomTable | ( | ULONG | Size | ) |
Definition at line 410 of file libsupp.c.
PRTL_ATOM_TABLE_ENTRY RtlpAllocAtomTableEntry | ( | ULONG | Size | ) |
Definition at line 426 of file libsupp.c.
BOOLEAN NTAPI RtlpCaptureStackLimits | ( | IN ULONG_PTR | Ebp, |
IN ULONG_PTR * | StackBegin, | ||
IN ULONG_PTR * | StackEnd | ||
) |
Definition at line 25 of file libsupp.c.
Referenced by RtlRaiseException(), RtlRaiseStatus(), and vDbgPrintExWithPrefixInternal().
VOID NTAPI RtlpCheckLogException | ( | IN PEXCEPTION_RECORD | ExceptionRecord, |
IN PCONTEXT | ContextRecord, | ||
IN PVOID | ContextData, | ||
IN ULONG | Size | ||
) |
Definition at line 201 of file libsupp.c.
Referenced by RtlDispatchException(), and RtlpUnwindInternal().
BOOLEAN RtlpCreateAtomHandle | ( | PRTL_ATOM_TABLE | AtomTable, |
PRTL_ATOM_TABLE_ENTRY | Entry | ||
) |
Definition at line 456 of file libsupp.c.
BOOLEAN RtlpCreateAtomHandleTable | ( | PRTL_ATOM_TABLE | AtomTable | ) |
Definition at line 394 of file libsupp.c.
Definition at line 659 of file libsupp.c.
Referenced by BasepGetModuleHandleExW(), RtlLookupFunctionTable(), and SeiGetModuleFromAddress().
VOID RtlpDestroyAtomHandleTable | ( | PRTL_ATOM_TABLE | AtomTable | ) |
VOID RtlpDestroyAtomTableLock | ( | PRTL_ATOM_TABLE | AtomTable | ) |
VOID RtlpFreeAtomHandle | ( | PRTL_ATOM_TABLE | AtomTable, |
PRTL_ATOM_TABLE_ENTRY | Entry | ||
) |
Definition at line 442 of file libsupp.c.
VOID RtlpFreeAtomTable | ( | PRTL_ATOM_TABLE | AtomTable | ) |
Definition at line 418 of file libsupp.c.
VOID RtlpFreeAtomTableEntry | ( | PRTL_ATOM_TABLE_ENTRY | Entry | ) |
Definition at line 434 of file libsupp.c.
Definition at line 153 of file libsupp.c.
PRTL_ATOM_TABLE_ENTRY RtlpGetAtomEntry | ( | PRTL_ATOM_TABLE | AtomTable, |
ULONG | Index | ||
) |
Definition at line 492 of file libsupp.c.
KPROCESSOR_MODE NTAPI RtlpGetMode | ( | VOID | ) |
Definition at line 53 of file libsupp.c.
Referenced by RtlCreateHeap(), RtlCreateProcessParameters(), RtlDestroyHeap(), RtlFreeHeap(), RtlpExtendHeap(), RtlpInitializeHeap(), and RtlWalkFrameChain().
BOOLEAN NTAPI RtlpHandleDpcStackException | ( | IN PEXCEPTION_REGISTRATION_RECORD | RegistrationFrame, |
IN ULONG_PTR | RegistrationFrameEnd, | ||
IN OUT PULONG_PTR | StackLow, | ||
IN OUT PULONG_PTR | StackHigh | ||
) |
NTSTATUS NTAPI RtlpImageNtHeaderEx | ( | _In_ ULONG | Flags, |
_In_ PVOID | Base, | ||
_In_ ULONG64 | Size, | ||
_Out_ PIMAGE_NT_HEADERS * | OutHeaders | ||
) |
Definition at line 140 of file image.c.
NTSTATUS RtlpInitAtomTableLock | ( | PRTL_ATOM_TABLE | AtomTable | ) |
BOOLEAN RtlpLockAtomTable | ( | PRTL_ATOM_TABLE | AtomTable | ) |
NTSTATUS NTAPI RtlpSafeCopyMemory | ( | _Out_writes_bytes_all_(Length) VOID UNALIGNED * | Destination, |
_In_reads_bytes_(Length) CONST VOID UNALIGNED * | Source, | ||
_In_ SIZE_T | Length | ||
) |
VOID NTAPI RtlpSetHeapParameters | ( | IN PRTL_HEAP_PARAMETERS | Parameters | ) |
Definition at line 174 of file libsupp.c.
Referenced by RtlCreateHeap().
VOID RtlpUnlockAtomTable | ( | PRTL_ATOM_TABLE | AtomTable | ) |
Definition at line 82 of file libsupp.c.
Referenced by BaseGetNamedObjectDirectory(), BasepComputeProcessPath(), BasePushProcessParameters(), BaseRundownFls(), CheckForSameCurdir(), ExitProcess(), FlsAlloc(), FlsFree(), FlsSetValue(), GetEnvironmentStringsA(), GetEnvironmentStringsW(), GetEnvironmentVariableA(), LdrShutdownThread(), RtlCreateEnvironment(), RtlCreateProcessParameters(), RtlGetCurrentDirectory_U(), RtlGetFullPathName_Ustr(), RtlGetFullPathName_UstrEx(), RtlpDosPathNameToRelativeNtPathName_Ustr(), RtlQueryEnvironmentVariable_U(), RtlSetCurrentDirectory_U(), RtlSetCurrentEnvironment(), RtlSetEnvironmentVariable(), TlsAlloc(), TlsFree(), and TlsSetValue().
Definition at line 117 of file libsupp.c.
Referenced by RtlpDphEnterCriticalSection().
Definition at line 227 of file libsupp.c.
Referenced by KeRosCaptureUserStackBackTrace(), lie_about_fs_type(), RtlCaptureStackBackTrace(), and TestStackWalk4().
NTSYSAPI NTSTATUS NTAPI RtlWow64EnableFsRedirectionEx | ( | IN PVOID | Wow64FsEnableRedirection, |
OUT PVOID * | OldFsRedirectionLevel | ||
) |
Definition at line 1014 of file libsupp.c.
Referenced by Wow64DisableWow64FsRedirection(), and Wow64RevertWow64FsRedirection().
Definition at line 18 of file libsupp.c.
Referenced by LdrpRunInitializeRoutines(), and RtlIsThreadWithinLoaderCallout().
PVOID MmHighestUserAddress = (PVOID)MI_HIGHEST_USER_ADDRESS |