Searched refs:g_nt (Results 1 – 10 of 10) sorted by relevance
/external/chromium_org/sandbox/win/src/ |
D | policy_broker.cc | 27 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()
|
D | sandbox_nt_util.cc | 14 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 …]
|
D | interception_agent.cc | 29 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(¤t_name, full_path, case_insensitive)) in DllMatch() 78 !g_nt.RtlCompareUnicodeString(¤t_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()
|
D | target_interceptions.cc | 14 SANDBOX_INTERCEPT NtExports g_nt; variable 62 g_nt.UnmapViewOfSection(process, *base); in TargetNtMapViewOfSection()
|
D | policy_engine_opcodes.cc | 30 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()
|
D | sandbox_globals.cc | 16 SANDBOX_INTERCEPT NtExports g_nt = {}; variable
|
D | policy_opcodes_unittest.cc | 13 g_nt.member = reinterpret_cast<member##Function>( \ 15 if (NULL == g_nt.member) \ 20 SANDBOX_INTERCEPT NtExports g_nt; variable
|
D | policy_target.cc | 23 SANDBOX_INTERCEPT NtExports g_nt; variable
|
D | process_thread_interception.cc | 18 SANDBOX_INTERCEPT NtExports g_nt; variable
|
D | interceptors_64.cc | 21 SANDBOX_INTERCEPT NtExports g_nt; variable
|