Home
last modified time | relevance | path

Searched refs:g_nt (Results 1 – 10 of 10) sorted by relevance

/external/chromium_org/sandbox/win/src/
Dpolicy_broker.cc27 SANDBOX_INTERCEPT NtExports g_nt; variable
30 g_nt.member = reinterpret_cast<Nt##member##Function>( \
32 if (NULL == g_nt.member) \
36 g_nt.member = reinterpret_cast<member##Function>( \
38 if (NULL == g_nt.member) \
80 for (size_t i = 0; i < sizeof(g_nt)/sizeof(void*); i++) in SetupNtdllImports()
81 DCHECK(reinterpret_cast<char**>(&g_nt)[i]); in SetupNtdllImports()
83 return (SBOX_ALL_OK == child->TransferVariable("g_nt", &g_nt, sizeof(g_nt))); in SetupNtdllImports()
Dsandbox_nt_util.cc14 SANDBOX_INTERCEPT NtExports g_nt; variable
22 using sandbox::g_nt; in AllocateNearTo()
34 ret = g_nt.AllocateVirtualMemory(NtCurrentProcess, &base, zero_bits, in AllocateNearTo()
40 VERIFY_SUCCESS(g_nt.FreeVirtualMemory(NtCurrentProcess, &base, &size, in AllocateNearTo()
63 ret = g_nt.AllocateVirtualMemory(NtCurrentProcess, &base, zero_bits, in AllocateNearTo()
67 VERIFY_SUCCESS(g_nt.FreeVirtualMemory(NtCurrentProcess, &base, &size, in AllocateNearTo()
76 using sandbox::g_nt;
88 ret = g_nt.AllocateVirtualMemory(NtCurrentProcess, &base, 0, &actual_size,
95 ret = g_nt.AllocateVirtualMemory(NtCurrentProcess, &base, 0, &actual_size,
124 NTSTATUS ret = g_nt.MapViewOfSection(g_shared_section, NtCurrentProcess, in MapGlobalMemory()
[all …]
Dinterception_agent.cc29 SANDBOX_INTERCEPT NtExports g_nt; variable
67 current_name.Length = static_cast<USHORT>(g_nt.wcslen(dll_info->dll_name) * in DllMatch()
74 !g_nt.RtlCompareUnicodeString(&current_name, full_path, case_insensitive)) in DllMatch()
78 !g_nt.RtlCompareUnicodeString(&current_name, name, case_insensitive)) in DllMatch()
128 VERIFY_SUCCESS(g_nt.ProtectVirtualMemory(NtCurrentProcess, &to_protect, in OnDllLoad()
167 g_nt.strlen(function->function) + 1; in PatchDll()
Dtarget_interceptions.cc14 SANDBOX_INTERCEPT NtExports g_nt; variable
62 g_nt.UnmapViewOfSection(process, *base); in TargetNtMapViewOfSection()
Dpolicy_engine_opcodes.cc30 SANDBOX_INTERCEPT NtExports g_nt; variable
277 int source_len = static_cast<int>(g_nt.wcslen(source_str)); in OpcodeEval()
321 if (0 == g_nt.RtlCompareUnicodeString(&match_ustr, &source_ustr, in OpcodeEval()
336 if (0 == g_nt.RtlCompareUnicodeString(&match_ustr, &source_ustr, in OpcodeEval()
Dsandbox_globals.cc16 SANDBOX_INTERCEPT NtExports g_nt = {}; variable
Dpolicy_opcodes_unittest.cc13 g_nt.member = reinterpret_cast<member##Function>( \
15 if (NULL == g_nt.member) \
20 SANDBOX_INTERCEPT NtExports g_nt; variable
Dpolicy_target.cc23 SANDBOX_INTERCEPT NtExports g_nt; variable
Dprocess_thread_interception.cc18 SANDBOX_INTERCEPT NtExports g_nt; variable
Dinterceptors_64.cc21 SANDBOX_INTERCEPT NtExports g_nt; variable