Home
last modified time | relevance | path

Searched refs:NtCurrentProcess (Results 1 – 25 of 78) sorted by relevance

1234

/dports/www/firefox-legacy/firefox-52.8.0esr/security/sandbox/chromium/sandbox/win/src/
H A Dsandbox_nt_util.cc39 ret = g_nt.AllocateVirtualMemory(NtCurrentProcess, &base, zero_bits, in AllocateNearTo()
45 VERIFY_SUCCESS(g_nt.FreeVirtualMemory(NtCurrentProcess, &base, &size, in AllocateNearTo()
68 ret = g_nt.AllocateVirtualMemory(NtCurrentProcess, &base, zero_bits, in AllocateNearTo()
72 VERIFY_SUCCESS(g_nt.FreeVirtualMemory(NtCurrentProcess, &base, &size, in AllocateNearTo()
140 VERIFY_SUCCESS(g_nt.UnmapViewOfSection(NtCurrentProcess, memory)); in MapGlobalMemory()
359 if (NtCurrentProcess == process) in IsSameProcess()
365 NTSTATUS ret = GetProcessId(NtCurrentProcess, &s_process_id); in IsSameProcess()
385 NTSTATUS ret = g_nt.DuplicateObject(NtCurrentProcess, section, in IsValidImageSection()
386 NtCurrentProcess, &query_section, in IsValidImageSection()
486 NTSTATUS ret = g_nt.QueryVirtualMemory(NtCurrentProcess, address, in GetBackingFilePath()
[all …]
H A Dinterception_agent.cc130 VERIFY_SUCCESS(g_nt.ProtectVirtualMemory(NtCurrentProcess, &to_protect, in OnDllLoad()
/dports/lang/spidermonkey60/firefox-60.9.0/security/sandbox/chromium/sandbox/win/src/
H A Dsandbox_nt_util.cc74 g_nt.AllocateVirtualMemory(NtCurrentProcess, &ret_base, 0, &size, in AllocateNearTo()
108 ret = g_nt.AllocateVirtualMemory(NtCurrentProcess, &base, 0, &actual_size,
137 NTSTATUS ret = g_nt.MapViewOfSection(g_shared_section, NtCurrentProcess, in MapGlobalMemory()
149 VERIFY_SUCCESS(g_nt.UnmapViewOfSection(NtCurrentProcess, memory)); in MapGlobalMemory()
368 if (NtCurrentProcess == process) in IsSameProcess()
374 NTSTATUS ret = GetProcessId(NtCurrentProcess, &s_process_id); in IsSameProcess()
394 NTSTATUS ret = g_nt.DuplicateObject(NtCurrentProcess, section, in IsValidImageSection()
395 NtCurrentProcess, &query_section, in IsValidImageSection()
495 NTSTATUS ret = g_nt.QueryVirtualMemory(NtCurrentProcess, address, in GetBackingFilePath()
568 NTSTATUS ret = g_nt.ProtectVirtualMemory(NtCurrentProcess, &address, in ChangeProtection()
[all …]
H A Dinterception_agent.cc130 VERIFY_SUCCESS(g_nt.ProtectVirtualMemory(NtCurrentProcess, &to_protect, in OnDllLoad()
/dports/lang/spidermonkey78/firefox-78.9.0/security/sandbox/chromium/sandbox/win/src/
H A Dsandbox_nt_util.cc63 g_nt.QueryVirtualMemory(NtCurrentProcess, base, MemoryBasicInformation, in AllocateNearTo()
74 g_nt.AllocateVirtualMemory(NtCurrentProcess, &ret_base, 0, &size, in AllocateNearTo()
101 ret = g_nt.AllocateVirtualMemory(NtCurrentProcess, &base, 0, &actual_size,
108 ret = g_nt.AllocateVirtualMemory(NtCurrentProcess, &base, 0, &actual_size,
149 VERIFY_SUCCESS(g_nt.UnmapViewOfSection(NtCurrentProcess, memory)); in MapGlobalMemory()
358 if (NtCurrentProcess == process) in IsSameProcess()
364 NTSTATUS ret = GetProcessId(NtCurrentProcess, &s_process_id); in IsSameProcess()
387 g_nt.DuplicateObject(NtCurrentProcess, section, NtCurrentProcess, in IsValidImageSection()
584 NTSTATUS ret = g_nt.ProtectVirtualMemory(NtCurrentProcess, &address, in ChangeProtection()
604 NtCurrentProcess, &address_, &new_bytes, old_protect_, &old_protect_); in RevertProtection()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/sandbox/win/src/
H A Dsandbox_nt_util.cc65 g_nt.QueryVirtualMemory(NtCurrentProcess, base, MemoryBasicInformation, in AllocateNearTo()
76 g_nt.AllocateVirtualMemory(NtCurrentProcess, &ret_base, 0, &size, in AllocateNearTo()
103 ret = g_nt.AllocateVirtualMemory(NtCurrentProcess, &base, 0, &actual_size,
110 ret = g_nt.AllocateVirtualMemory(NtCurrentProcess, &base, 0, &actual_size,
151 VERIFY_SUCCESS(g_nt.UnmapViewOfSection(NtCurrentProcess, memory)); in MapGlobalMemory()
360 if (NtCurrentProcess == process) in IsSameProcess()
366 NTSTATUS ret = GetProcessId(NtCurrentProcess, &s_process_id); in IsSameProcess()
389 g_nt.DuplicateObject(NtCurrentProcess, section, NtCurrentProcess, in IsValidImageSection()
586 NTSTATUS ret = g_nt.ProtectVirtualMemory(NtCurrentProcess, &address, in ChangeProtection()
606 NtCurrentProcess, &address_, &new_bytes, old_protect_, &old_protect_); in RevertProtection()
[all …]
H A Dinterception_agent.cc132 VERIFY_SUCCESS(g_nt.ProtectVirtualMemory(NtCurrentProcess, &to_protect, in OnDllLoad()
/dports/www/firefox/firefox-99.0/security/sandbox/chromium/sandbox/win/src/
H A Dsandbox_nt_util.cc65 g_nt.QueryVirtualMemory(NtCurrentProcess, base, MemoryBasicInformation, in AllocateNearTo()
76 g_nt.AllocateVirtualMemory(NtCurrentProcess, &ret_base, 0, &size, in AllocateNearTo()
103 ret = g_nt.AllocateVirtualMemory(NtCurrentProcess, &base, 0, &actual_size,
110 ret = g_nt.AllocateVirtualMemory(NtCurrentProcess, &base, 0, &actual_size,
151 VERIFY_SUCCESS(g_nt.UnmapViewOfSection(NtCurrentProcess, memory)); in MapGlobalMemory()
360 if (NtCurrentProcess == process) in IsSameProcess()
366 NTSTATUS ret = GetProcessId(NtCurrentProcess, &s_process_id); in IsSameProcess()
389 g_nt.DuplicateObject(NtCurrentProcess, section, NtCurrentProcess, in IsValidImageSection()
586 NTSTATUS ret = g_nt.ProtectVirtualMemory(NtCurrentProcess, &address, in ChangeProtection()
606 NtCurrentProcess, &address_, &new_bytes, old_protect_, &old_protect_); in RevertProtection()
[all …]
H A Dinterception_agent.cc132 VERIFY_SUCCESS(g_nt.ProtectVirtualMemory(NtCurrentProcess, &to_protect, in OnDllLoad()
/dports/www/firefox-esr/firefox-91.8.0/security/sandbox/chromium/sandbox/win/src/
H A Dsandbox_nt_util.cc65 g_nt.QueryVirtualMemory(NtCurrentProcess, base, MemoryBasicInformation, in AllocateNearTo()
76 g_nt.AllocateVirtualMemory(NtCurrentProcess, &ret_base, 0, &size, in AllocateNearTo()
103 ret = g_nt.AllocateVirtualMemory(NtCurrentProcess, &base, 0, &actual_size,
110 ret = g_nt.AllocateVirtualMemory(NtCurrentProcess, &base, 0, &actual_size,
151 VERIFY_SUCCESS(g_nt.UnmapViewOfSection(NtCurrentProcess, memory)); in MapGlobalMemory()
360 if (NtCurrentProcess == process) in IsSameProcess()
366 NTSTATUS ret = GetProcessId(NtCurrentProcess, &s_process_id); in IsSameProcess()
389 g_nt.DuplicateObject(NtCurrentProcess, section, NtCurrentProcess, in IsValidImageSection()
586 NTSTATUS ret = g_nt.ProtectVirtualMemory(NtCurrentProcess, &address, in ChangeProtection()
606 NtCurrentProcess, &address_, &new_bytes, old_protect_, &old_protect_); in RevertProtection()
[all …]
H A Dinterception_agent.cc132 VERIFY_SUCCESS(g_nt.ProtectVirtualMemory(NtCurrentProcess, &to_protect, in OnDllLoad()
/dports/mail/thunderbird/thunderbird-91.8.0/security/sandbox/chromium/sandbox/win/src/
H A Dsandbox_nt_util.cc65 g_nt.QueryVirtualMemory(NtCurrentProcess, base, MemoryBasicInformation, in AllocateNearTo()
76 g_nt.AllocateVirtualMemory(NtCurrentProcess, &ret_base, 0, &size, in AllocateNearTo()
103 ret = g_nt.AllocateVirtualMemory(NtCurrentProcess, &base, 0, &actual_size,
110 ret = g_nt.AllocateVirtualMemory(NtCurrentProcess, &base, 0, &actual_size,
151 VERIFY_SUCCESS(g_nt.UnmapViewOfSection(NtCurrentProcess, memory)); in MapGlobalMemory()
360 if (NtCurrentProcess == process) in IsSameProcess()
366 NTSTATUS ret = GetProcessId(NtCurrentProcess, &s_process_id); in IsSameProcess()
389 g_nt.DuplicateObject(NtCurrentProcess, section, NtCurrentProcess, in IsValidImageSection()
586 NTSTATUS ret = g_nt.ProtectVirtualMemory(NtCurrentProcess, &address, in ChangeProtection()
606 NtCurrentProcess, &address_, &new_bytes, old_protect_, &old_protect_); in RevertProtection()
[all …]
H A Dinterception_agent.cc132 VERIFY_SUCCESS(g_nt.ProtectVirtualMemory(NtCurrentProcess, &to_protect, in OnDllLoad()
/dports/www/chromium-legacy/chromium-88.0.4324.182/sandbox/win/src/
H A Dsandbox_nt_util.cc65 g_nt.QueryVirtualMemory(NtCurrentProcess, base, MemoryBasicInformation, in AllocateNearTo()
76 g_nt.AllocateVirtualMemory(NtCurrentProcess, &ret_base, 0, &size, in AllocateNearTo()
103 ret = g_nt.AllocateVirtualMemory(NtCurrentProcess, &base, 0, &actual_size,
110 ret = g_nt.AllocateVirtualMemory(NtCurrentProcess, &base, 0, &actual_size,
151 VERIFY_SUCCESS(g_nt.UnmapViewOfSection(NtCurrentProcess, memory)); in MapGlobalMemory()
360 if (NtCurrentProcess == process) in IsSameProcess()
366 NTSTATUS ret = GetProcessId(NtCurrentProcess, &s_process_id); in IsSameProcess()
389 g_nt.DuplicateObject(NtCurrentProcess, section, NtCurrentProcess, in IsValidImageSection()
601 NTSTATUS ret = g_nt.ProtectVirtualMemory(NtCurrentProcess, &address, in ChangeProtection()
621 NtCurrentProcess, &address_, &new_bytes, old_protect_, &old_protect_); in RevertProtection()
[all …]
/dports/math/scilab/scilab-6.1.1/scilab/modules/parallel/src/c/
H A DforkWindows.c136 #define NtCurrentProcess() ((HANDLE)-1) macro
139 #define ZwCurrentProcess() NtCurrentProcess()
224 ZwCreateProcess(&hProcess, PROCESS_ALL_ACCESS, &oa, NtCurrentProcess(), TRUE, 0, 0, 0); in fork()
239 …ZwQueryVirtualMemory(NtCurrentProcess(), (PVOID)context.Rsp, MemoryBasicInformation, &mbi, sizeof … in fork()
241 …ZwQueryVirtualMemory(NtCurrentProcess(), (PVOID)context.Esp, MemoryBasicInformation, &mbi, sizeof … in fork()
/dports/devel/libmowgli2/libmowgli-2-2.1.3/src/libmowgli/platform/win32/
H A Dfork.c133 ZwCreateProcess(&proc_handle, PROCESS_ALL_ACCESS, &oa, NtCurrentProcess(), TRUE, 0, 0, 0); in fork()
140 ZwQueryVirtualMemory(NtCurrentProcess(), (void *) context.Esp, MemoryBasicInformation, in fork()
/dports/irc/atheme-services/atheme-7.2.9/libmowgli-2/src/libmowgli/platform/win32/
H A Dfork.c133 ZwCreateProcess(&proc_handle, PROCESS_ALL_ACCESS, &oa, NtCurrentProcess(), TRUE, 0, 0, 0); in fork()
140 ZwQueryVirtualMemory(NtCurrentProcess(), (void *) context.Esp, MemoryBasicInformation, in fork()
/dports/devel/kBuild/kBuild-0.1.9998/src/lib/kStuff/kRdr/
H A DkRdrFile.cpp86 # define NtCurrentProcess() GetCurrentProcess() macro
670 Status = NtAllocateVirtualMemory(NtCurrentProcess(), in krdrFileMap()
680 Status = NtFreeVirtualMemory(NtCurrentProcess(), &pv, &ViewSize, MEM_RELEASE); in krdrFileMap()
708 Status = NtMapViewOfSection(pPrep->hSection, NtCurrentProcess(), in krdrFileMap()
729 Status = NtAllocateVirtualMemory(NtCurrentProcess(), in krdrFileMap()
759 NtUnmapViewOfSection(NtCurrentProcess(), pv); in krdrFileMap()
761 NtFreeVirtualMemory(NtCurrentProcess(), &pv, NULL, MEM_RELEASE); in krdrFileMap()
/dports/devel/kBuild/kBuild-0.1.9998/src/lib/kStuff/kLdr/testcase/
H A DtstExeMainStub.c86 ZwTerminateProcess(NtCurrentProcess(), rc); in NtProcess()
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/chrome_elf/third_party_dlls/
H A Dhook.cc79 return process == NtCurrentProcess || in IsTargetCurrentProcess()
114 NtCurrentProcess, section_base, MemorySectionName, memory_section_name, in GetSectionName()
/dports/www/firefox-esr/firefox-91.8.0/security/sandbox/chromium-shim/patches/with_update/
H A Dmingw_operator_new.patch35 VERIFY_SUCCESS(sandbox::g_nt.FreeVirtualMemory(NtCurrentProcess, &base,
/dports/lang/spidermonkey60/firefox-60.9.0/security/sandbox/chromium-shim/patches/with_update/
H A Dmingw_operator_new.patch35 VERIFY_SUCCESS(sandbox::g_nt.FreeVirtualMemory(NtCurrentProcess, &base,
/dports/www/firefox/firefox-99.0/security/sandbox/chromium-shim/patches/with_update/
H A Dmingw_operator_new.patch35 VERIFY_SUCCESS(sandbox::g_nt.FreeVirtualMemory(NtCurrentProcess, &base,
/dports/mail/thunderbird/thunderbird-91.8.0/security/sandbox/chromium-shim/patches/with_update/
H A Dmingw_operator_new.patch35 VERIFY_SUCCESS(sandbox::g_nt.FreeVirtualMemory(NtCurrentProcess, &base,
/dports/lang/spidermonkey78/firefox-78.9.0/security/sandbox/chromium-shim/patches/with_update/
H A Dmingw_operator_new.patch35 VERIFY_SUCCESS(sandbox::g_nt.FreeVirtualMemory(NtCurrentProcess, &base,

1234