Home | History | Annotate | Download | only in src

Lines Matching refs:g_nt

14 SANDBOX_INTERCEPT NtExports g_nt = { NULL };
22 using sandbox::g_nt;
41 ret = g_nt.AllocateVirtualMemory(NtCurrentProcess, &base, zero_bits,
46 VERIFY_SUCCESS(g_nt.FreeVirtualMemory(NtCurrentProcess, &base, &size,
60 ret = g_nt.AllocateVirtualMemory(NtCurrentProcess, &base, zero_bits,
64 VERIFY_SUCCESS(g_nt.FreeVirtualMemory(NtCurrentProcess, &base, &size,
73 using sandbox::g_nt;
85 ret = g_nt.AllocateVirtualMemory(NtCurrentProcess, &base, 0, &actual_size,
92 ret = g_nt.AllocateVirtualMemory(NtCurrentProcess, &base, 0, &actual_size,
121 NTSTATUS ret = g_nt.MapViewOfSection(g_shared_section, NtCurrentProcess,
133 ret = g_nt.UnmapViewOfSection(NtCurrentProcess, memory);
160 void* heap = g_nt.RtlCreateHeap(HEAP_GROWABLE, NULL, 0, 0, NULL, NULL);
166 g_nt.RtlDestroyHeap(heap);
277 NTSTATUS ret = g_nt.QueryInformationProcess(process, ProcessBasicInformation,
314 NTSTATUS ret = g_nt.DuplicateObject(NtCurrentProcess, section,
322 ret = g_nt.QuerySection(query_section, SectionBasicInformation, &basic_info,
325 VERIFY_SUCCESS(g_nt.Close(query_section));
338 ansi_string.Length = static_cast<USHORT>(g_nt.strlen(string));
357 NTSTATUS ret = g_nt.RtlAnsiStringToUnicodeString(out_string, &ansi_string,
411 NTSTATUS ret = g_nt.QueryVirtualMemory(NtCurrentProcess, address,
484 NTSTATUS ret = g_nt.ProtectVirtualMemory(NtCurrentProcess, &address,
503 NTSTATUS ret = g_nt.ProtectVirtualMemory(NtCurrentProcess, &address_,
557 return g_nt.RtlAllocateHeap(sandbox::g_heap, 0, size);
570 VERIFY(g_nt.RtlFreeHeap(sandbox::g_heap, 0, memory));
574 VERIFY_SUCCESS(g_nt.FreeVirtualMemory(NtCurrentProcess, &base, &size,