Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / chrome_elf / blacklist / blacklist_interceptions.h
index dfb4495..2ee96b4 100644 (file)
@@ -28,6 +28,16 @@ SANDBOX_INTERCEPT NTSTATUS WINAPI BlNtMapViewOfSection(
     ULONG allocation_type,
     ULONG protect);
 
+#if defined(_WIN64)
+// Interception of NtMapViewOfSection within the current process.
+// It should never be called directly. This function provides the means to
+// detect dlls being loaded, so we can patch them if needed.
+SANDBOX_INTERCEPT NTSTATUS WINAPI BlNtMapViewOfSection64(
+    HANDLE section, HANDLE process, PVOID *base, ULONG_PTR zero_bits,
+    SIZE_T commit_size, PLARGE_INTEGER offset, PSIZE_T view_size,
+    SECTION_INHERIT inherit, ULONG allocation_type, ULONG protect);
+#endif
+
 }  // namespace blacklist
 
 #endif  // CHROME_ELF_BLACKLIST_BLACKLIST_INTERCEPTIONS_H_