Home
last modified time | relevance | path

Searched refs:NtDllHandle (Results 1 – 6 of 6) sorted by relevance

/llvm-project-15.0.7/compiler-rt/test/asan/TestCases/Windows/
H A Drtlallocateheap_dll_unload_realloc.cpp19 HMODULE NtDllHandle = GetModuleHandle("ntdll.dll"); in main() local
20 if (!NtDllHandle) { in main()
26 (AllocateFunctionPtr)GetProcAddress(NtDllHandle, "RtlAllocateHeap"); in main()
33 (FreeFunctionPtr)GetProcAddress(NtDllHandle, "RtlFreeHeap"); in main()
40 (RtlReAllocateHeapPtr)GetProcAddress(NtDllHandle, "RtlReAllocateHeap"); in main()
H A Drtlallocateheap_flags_fallback.cpp15 HMODULE NtDllHandle = GetModuleHandle("ntdll.dll"); in main() local
16 if (!NtDllHandle) { in main()
21 auto RtlAllocateHeap_ptr = (AllocateFunctionPtr)GetProcAddress(NtDllHandle, "RtlAllocateHeap"); in main()
27 auto RtlFreeHeap_ptr = (FreeFunctionPtr)GetProcAddress(NtDllHandle, "RtlFreeHeap"); in main()
H A Drtlallocateheap_dll_unload_double_free.cpp18 HMODULE NtDllHandle = GetModuleHandle("ntdll.dll"); in main() local
19 if (!NtDllHandle) { in main()
25 (AllocateFunctionPtr)GetProcAddress(NtDllHandle, "RtlAllocateHeap"); in main()
32 (FreeFunctionPtr)GetProcAddress(NtDllHandle, "RtlFreeHeap"); in main()
H A Drtlallocateheap_zero.cpp15 HMODULE NtDllHandle = GetModuleHandle("ntdll.dll"); in main() local
16 if (!NtDllHandle) { in main()
21 auto RtlAllocateHeap_ptr = (AllocateFunctionPtr)GetProcAddress(NtDllHandle, "RtlAllocateHeap"); in main()
27 …auto RtlReAllocateHeap_ptr = (ReAllocateFunctionPtr)GetProcAddress(NtDllHandle, "RtlReAllocateHeap… in main()
H A Drtlallocateheap.cpp13 HMODULE NtDllHandle = GetModuleHandle("ntdll.dll"); in main() local
14 if (!NtDllHandle) { in main()
19 auto RtlAllocateHeap_ptr = (AllocateFunctionPtr)GetProcAddress(NtDllHandle, "RtlAllocateHeap"); in main()
H A Dheapalloc_rtl_transfer.cpp16 HMODULE NtDllHandle = GetModuleHandle("ntdll.dll"); in main() local
17 if (!NtDllHandle) { in main()
22 auto RtlAllocateHeap_ptr = (AllocateFunctionPtr)GetProcAddress(NtDllHandle, "RtlAllocateHeap"); in main()
28 …auto RtlReAllocateHeap_ptr = (ReAllocateFunctionPtr)GetProcAddress(NtDllHandle, "RtlReAllocateHeap… in main()